GCC JIT vs others JIT ....

David Malcolm dmalcolm@redhat.com
Tue Jan 1 00:00:00 GMT 2013


On Wed, 2013-10-23 at 19:05 -0200, Paulo César Pereira de Andrade wrote:
[...]

>   It is a C/C++ like language, with static and dynamic typing. The only
> examples so far are in check/test, that you can cut&paste under gdb,
> or just run "./owl check/test" to run all examples in a row. The file is quite
> large, and growing, to help stress test the current implementation.

Is OWL compiling a function at a time (a "method JIT"), or are you
tracing execution paths and then optimizing hot loops (a "tracing JIT")?
(I've only attempted the former so far with my work)

[...]

>   My interest is in  writing a managed language with dynamic typing,
> and static typing for faster execution. But porting to gcc jit should not
> be much different from the initial code I am writing, mainly to exercise
> lightning, that would "optimize" when types are know, check for overflow
> when it can happen and otherwise fallback to calling functions to
> implement the vm primitives.

BTW, does lightning support self-modifying code?   (e.g. for doing
inline caching of attribute lookup).

Thanks
Dave



More information about the Jit mailing list