Re: Who is compiling Eu, and why?
- Posted by jimcbrown (admin) Jan 28, 2015
- 2112 views
I have been using Eu for some time, and never compiled it. I have run it interpreted and bound. So a couple of us were sitting around on irc, and i volunteered to ask publicly: why would anyone compile their Euphoria source code? If the goal is to distribute one file for an application, why compile vs binding?
The main reason is speed. Binding is better in other ways (e.g. better chance of getting readable error messages).
I fear the compiler is holding back Euphoria. The one concrete example i can think of at the moment is that tasks won't run correctly when compiled (or made into a dll?).
Tasks work fine when compiled. It's the sharing of tasks between a compiled library and a compiled executable that hasn't been implemented.
Other features, like string execution,
IIRC it was decided that if this was ever implemented, it'd be an interpreter-only feature. We already have interpreter-only features in 4.1.0, so I don't think the presence of a compiler is holding things back.