Re: 64 bit euphoria
- Posted by Robert Craig <rds at RapidEuphoria.com> Apr 20, 2005
- 472 views
Alexander Toresson wrote: > codepilot Gmail Account wrote: > > > > You have to get a 64-bit os to do anything 64-bit. I wonder if a > > 64-bit dos version of EU is possible. > > > > LOL! 64-bit DOS! Best joke I've heard in a while. > Notice that you just said "You have to get a 64-bit os to do anything 64-bit". > > Anyway, about 64-bit euphoria. There has to be at least 2 versions of it. > There is > a big difference between 64-bit code in an Athlon 64 and Intel's IA-64 > architecture. > > And a question to RobC: Is the sequence operations etc written in asm or in C? > If they > are written in C, it'd be quite easy to compile for 64-bit architectures. If > it's asm, > it'd have to be rewritten. There is hardly any asm in the Euphoria interpreter. The front-end is written in Euphoria. The back-end is 99.9% C. integers would likely become 63 bits instead of 31. That could lead to some small compatibility issues, e.g. if integer(x) then ... might have a different meaning. It would probably not bother many people if a simple declaration of: integer x now allowed x to be 63 bits in size. The use of 64-bit pointers internally by the interpreter would probably not disturb most Euphoria programs. It would just allow much larger sequences to be created. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com