infinyon / infinyon/node-bindgen

Rust replacement for N-API

Open
#92 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
587
Forks
43
PR merge metrics
No merged PRs in 30d

Description

N-API is ok for now. However, there are some limitations with N-API.

  • It can't create new class with existing Rust struct
  • Doesn't work with Deno
  • No interface to raw binding V8

It maybe we can create new abstraction that will make easier to integrate Rust and Node.js (Deno)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the limitations of N-API listed in the issue and the repository's existing Rust integration for Node.js. Define the proposed abstraction's scope for existing Rust structs, Deno support, and raw V8 bindings before identifying an implementation path; the issue currently names no files, tests, or completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, node.js, rust
Domain
api, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.