Skip to content
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

Provide feedback on dynamic FFI #5

Open
ofrobots opened this issue Jun 7, 2016 · 2 comments
Open

Provide feedback on dynamic FFI #5

ofrobots opened this issue Jun 7, 2016 · 2 comments

Comments

@ofrobots
Copy link

ofrobots commented Jun 7, 2016

@chrisdickinson: In reference to PLAN.md#L29:

Focus on FFI. (Insert so much 👋 handwaving 👋 here)

I am prototyping on a dynamic FFI in V8 (hello world here: link). The idea is to get the JIT compiler to generate fast JS to native bindings; similar in principle to how LuaJIT does it.

I would be interested in your thoughts on expectations/requirements.

@chrisdickinson
Copy link
Owner

This is really interesting — sorry it's taken me so long to get back to you. I would love to try prototyping this in nojs, if it's helpful! It should be easy to re-point the vendored v8 at a forked repo that exposes a public V8 FFI API, and I'd be interested in looping that through.

@ofrobots
Copy link
Author

Absolutely! Things are bit too raw at this point on my end, and I don't have an experimental public API yet (see prototype here). At this point I am trying to figure some example interfaces you would like ffi to support so that I could get those type semantics implemented.

Once a bit more of the type semantics are implemented, I plan to work on an experimental public API, which should make it possible to start playing with ffi here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants