Euphoria Ticket #954: Backend written in EUPHORIA and backend written in C have distinct behavior

The backend written in C, keeps integers in four byte long integers and if they are not integer type they are kept in doubles structures with reference counting and the four byte long integers store encoded pointers. Now the backend written in Euphoria, keeps everything in Euphoria objects.

Now, with the destructor feature we can attach them to anything in the Euphoria backend but we cannot attach them to all values in the C backend. Ironically, this is recognized as a bug in the Euphoria backend.

Only developers probably use the Euphoria written backend, but we want to see the same behavior in both backends. So, we need to add reference counting awareness to the backend written in Euphoria, or quietly promote variables declared as integers to atoms in for both backends when they are assigned a value with a destructor.


Type: Bug Report Severity: Minor Category: Other
Assigned To: unknown Status: New Reported Release: 4.0.5
Fixed in SVN #: View VCS: none Milestone: 4.0.6


Quick Links

User menu

Not signed in.

Misc Menu