Re: Euphoria 4.1 status? Dev team, what's going on?
- Posted by jimcbrown (admin) Dec 24, 2014
- 2693 views
Yeah, like the guy who tried it again recently only to find out that not even "Pass by reference" is supported.
Read again. It is supported (in the stdlib): http://openeuphoria.org/forum/m/125769.wc
So much fun and "easy"!
Though Derek has a point when he implies that PBR is neither fun nor easy: http://openeuphoria.org/forum/m/125774.wc
because the language offers the worst FFI in the history of mankind.
The foreign function interface (dll.e et al) is designed to make it somewhat easy to interface with custom C libraries on your own. Compare with CPython where you have to write an extensive wrapper in C to create a new Python module.
Have fun with peeking and pokeing at manually determined struct offsets.
A valid point, but this is on the TODO list.
In fact, if you don't mind pre-alpha, you can have a taste of a different way today: http://scm.openeuphoria.org/hg/euphoria/shortlog/f0054b3a8f8b
Or the other guy who wrote a UI toolkit which has 64bit issues out of the box
You mean http://openeuphoria.org/forum/m/125800.wc ?
Converting anything low level from 32bit to 64bit is hard. Euphoria 4.1.0 beta already provides new methods to make this transparent (such as peek_pointer() and sizeof() ), so I wouldn't blame this on the FFI. There is a lot of code in the archives that assumes a 32bit world, unfortunately.
Yeah "productive" when you never used anything else to compare it with.
I think you'd be very hard pressed to make the case that Euphoria is less productive than, e.g., C or gasm.
"Programming can be fun and easy". In Euphoria? LOL, you made my day.
Of course. Every tool has its ups and downs. While Euphoria is not perfect, I profess a belief that it has good things about it that make it fun to use.