Hi all, thanks to the extensive help I received a while back from the v8 guys I have successfully ported the Canvas implmentation of EjectaJS (https://github.com/phoboslab/Ejecta) from ObjC / JavascriptCore to C++ / v8. We use both in our native Android and iOS mobile apps to embed high-performance interactive graphics stuff written in Javascript.
Today I got around to publishing the code to Github together with a sample app. Performance depends heavily on the device used, but is typically 30 to 100% faster than (the already very fast) Chrome and typically way better than WebView. Another benefit is that you have a single consistent JS implementation regardless of Android version or to a certain extent also for iOS. This comes at the cost of having no access to DOM, CSS or other JS extensions beside Canvas. You can find the source code at https://github.com/godmodelabs/ejecta-v8/ I also wrote a wrapper to wrap v8 objects in Java objects and to help call Java methods from v8 Functions which I'll try to document separately. To ease porting of newer functionality over from the ObjC code base function names and parameters lean strongly towards ObjC semantics and might seem foreign to C++ developers. There are also some bugs or shortcomings at the moment. Contributions and feedback welcome. Cheers, Kevin -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
