ayojs / ayo

A fork of Node.js. Humans before technology.
Other
1.66k stars 97 forks source link

Pluggable JavaScript engine with ABI stable ayo? #51

Closed brodycj closed 7 years ago

brodycj commented 7 years ago

ABI stable ayo based on https://github.com/nodejs/abi-stable-node. Existing Node 8 API described at https://nodejs.org/api/n-api.html.

This plus #50 (move non-essential C++ modules into addons) should enable this project to support iOS.

This + #50 + #40 (worker implementation) could be good enough to supersede the functionality offered by JXCore (https://github.com/jxcore/jxcore).

Fishrock123 commented 7 years ago

Full plugability would likely require an "under-node" JS API layer. The API WG from node has a lot of historical discussions on this worth taking a look at.

brodycj commented 7 years ago

The API WG from node has a lot of historical discussions on this worth taking a look at.

Do you mean https://github.com/nodejs/api? Any other resources worth a look?

addaleax commented 7 years ago

I think Ayo is going to support N-API in the same way Node supports it, simply because that makes sense.

Fwiw: I think it would be totally doable to break a few pieces off Ayo into addons that can either be built into the executable or as external addons, but I feel like most people would still want a full-featured build of Ayo to be available by default.