-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for v8 #4
Comments
Yes. This is down the road for me personally as I'll be focusing on duktape first (since I know it already) and then jerryscript second to ensure the design is portable. After that I might start on a V8 version if nobody has beat me to it. I also want to do SpiderMonkey, JavaScript Core and ChakraCore. We can probably use code from https://github.com/chrisdickinson/nojs as well as get help from @chrisdickinson |
I'd be cool to work on a good amount of this, probably alongside @chrisdickinson |
You can't really bind to C++ directly from Rust, so you'll need a C wrapper API. I started working on updating the work @bnoordhuis did on v8.rs awhile back in my own fork and ran into issues with name mangling inconsistencies, so I started to convert it to use a C wrapper but never finished/committed it. There's the beginnings of something on my laptop somewhere, but I'll need to dig it out and review it at some point. Shouldn't be too hard to implement the C wrapper, just a bit time consuming... |
It might make sense for the V8 version of nucleus to stick to C++ since rust interop seems to cause more trouble than helping. The spec doesn't have any mandates on how you implement the JS interface. |
Discuss!
The text was updated successfully, but these errors were encountered: