<div dir="ltr">Hello everyone, and Happy New Year!<div><br></div><div>I've been testing out some Google V8 embedding at home, and since I was at it I decided to try to port mod_spidermonkey to use Google V8 instead. A few years back this wasn't possible, since V8 wasn't thread safe - but this has changed, and it works as expected using isolates and lockers inside.</div>
<div><br></div><div>RIght now I've ported everything to work as before, but using Google V8 instead of SpiderMonkey. I've tested some basic stuff, and it seems ok so far - but I do have quite some more testing I need to do. Also, the build system is not really completed yet, so some manual work is needed to compile everything. I've developed it on Windows, but it should be able to compile on Linux without any major issues (I will try that pretty soon as well).</div>
<div><br></div><div>I'm guessing this would make JavaScript to be a little more efficient than today, however, I didn't really do any performance testing yet. Even though Lua is the recommended scripting language in FS, I think JS always will have quite some users, since it's more widely spread.</div>
<div><br></div><div>One thing though, is that it currently lacks support for the "File" and "XML" object that is currently compiled in when you use mod_spidermonkey - besides that everything else should be the same.</div>
<div><br></div><div>Is this project of interest for the FS community? For me this was just a way to get to use V8 in an environment I already knew, so as soon as I'm getting it a bit more complete (with a working build system at least) I'd be happy to give away the code - and hopefully replace mod_spidermonkey in the future.</div>
<div><br></div><div>/Peter</div></div>