Javet
Javet copied to clipboard
Idea: Simplify using Node native addons with Javet
It is possible to use Node native addons (.node) with Javet, but it is very complex:
- Each native module must be rebuilt for every platform/architecture with Javet compatibility.
- Each rebuild is compatible with only one Javet version.
Proposal
- Provide a GitHub Action or CLI tool to automate rebuilding native modules for Javet.
- Optionally, maintain a community registry of prebuilt Javet-compatible modules.
This would make it much easier to port popular Node libraries to Javet.
Originally posted by @ia3andy in #528
There's a huge cost behind that. As everyone gets Javet for free, the question becomes: who is going to pay for that? As the maintainer, I have no motivation doing that. I expect people to Do It Yourself.