Re: Who is compiling Eu, and why?
- Posted by elias_maluko Feb 02, 2015
- 1632 views
[quote mattlewis]
...Phix has things like self-resurcive compiling and true native multithreading...
I am curious why Euphoria doesn't have these features, especially multithreading.
Multithreading is a lot of work. It's going to require a major overhaul of a lot of stuff. There are some hard decisions to make about the design, too. I know that Jim has an experimental branch for this.
Phix is very much ASM based. I'm not sure what "self-recursive compiling" is, but I guess it has something to do with Pete emitting ASM all over the place. I know some people talked about JIT in the past. The best bet there is probably to target LLVM. There's a ton of work to do there, if that's what someone wants to do that.
Matt
Another way to do it is emit C code and use libtcc (http://bellard.org/tcc/) to execute it on the fly.