Quote:
Originally Posted by Stefan
This is especially true when it's about the scripting engine: the plan is to switch to a fully javascript-compliant engine (with graal extensions) but cannot guarantee if and when.
|
Maybe you could use V8? I know you already do some compiling to intermediate bytecode (I think), so making it go directly to ASM shouldn't be hard, although the client would need to handle that. V8 handles optimizations and garbage collection also.
All the work that'd need to be done is a fork of it which adds Graal stuff into the mix (sort of like the DOM interface for the browser). Its license is BSD so it should be fine to use in Graal.
Although using V8 on something like the iPhone probably wouldn't be allowed due to the interpreter rules.