I picked up the llv8call library from http://code.google.com/p/llv8call/ over the winter break and have steadily been picking away at it to both understand how it works and to get it running. Essentially its a library wrapper around v8 that provides access to things like the system environment, file system, sockets, mysql, libxml, and fastcgi among others.
I have gotten as far as 1) making it run, 2) making lighttpd hit its fcgi script, and 3) running scripts from the command line. v8 is bloody fast compared to the other current gen of javascript engines, though I haven't tested against Tracemonkey yet. The project hasn't had any development from its author Tokuhirom since mid-October so I am trying to get some other folks interested in taking a look at it. He hasn't been responding to questions either. It seems to be fairly well developed as far as core functionality though there's still a lot of work that needs to be done. The documentation is a little lacking and it seems the build system in some parts was customized for the author's dev system, so it took some whacking and nudging to get it built right. However, I have put together a generalized chunk of information on how to get it running on Mac OS so if anyone else wants to try it out, I'd be happy to take questions and answer to the best of my ability. The process for Mac shouldn't be too different for Linux or UNIX based systems. Windows users are beyond my ability to help. The feedback from other people that can get this to work would also help my own processes because I've more or less been working in a vacuum. The main problem I'm having right now is with the fastcgi module. After looking through the revision history a few days ago on the fcgi.cc file, it seems that right at the end of the author's last activity there was a big change done that seems to have stripped out most of the normal fcgi-needed code. Things like getting environment variables, etc. The documentation on how to use the updated code is non-existent, so right now you can get a simple response from the fcgi handler but no apparent way to get it to execute scripts by passing in a query string. I am working on reverting the code changes to get this working but I haven't completed it yet. If anyone else has, or will, take a look at the code base I would be interested in collaborating with some similarly-minded folks to develop this into something more robust and well documented. My intentions right now are to continue experimenting with different aspects of Tokuhirom's code to get it running as a basic dev environment for server-side js and to build out from there. --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
