Original Post
The developers at Blind Mind Studios have implemented the first fully functional JIT compiler for AngelScript.
It is now available to the public as an open source project, with the master repository hosted at github.com.
https://github.com/BlindMindStudios/AngelScript-JIT-Compiler
I haven't had a chance to test it myself, but what Andrew (Thy Reaper) tells me is quite impressive. With the JIT compiler the performance typically improves between 1.5 to 3 times, and in some cases even reaches levels of native C++ code.
This is especially impressive because the JIT compiler itself is implemented in relatively few lines of code, which makes it perfect for embedding.
Currently the JIT compiler only supports x86, but I'm sure it can be quite easily extended to other CPUs as well.
Post your impressions here.
Also, if there are suggestions for further improving AngelScript to make the JIT compiled code even better I'd love to hear them.
It is now available to the public as an open source project, with the master repository hosted at github.com.
https://github.com/BlindMindStudios/AngelScript-JIT-Compiler
I haven't had a chance to test it myself, but what Andrew (Thy Reaper) tells me is quite impressive. With the JIT compiler the performance typically improves between 1.5 to 3 times, and in some cases even reaches levels of native C++ code.
This is especially impressive because the JIT compiler itself is implemented in relatively few lines of code, which makes it perfect for embedding.
Currently the JIT compiler only supports x86, but I'm sure it can be quite easily extended to other CPUs as well.
Post your impressions here.
Also, if there are suggestions for further improving AngelScript to make the JIT compiled code even better I'd love to hear them.