Javet icon indicating copy to clipboard operation
Javet copied to clipboard

Idea: Simplify using Node native addons with Javet

Open ia3andy opened this issue 2 months ago • 1 comments

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

ia3andy avatar Oct 17 '25 09:10 ia3andy

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.

caoccao avatar Oct 17 '25 09:10 caoccao