website
website copied to clipboard
Feedback for “Home – NAPI-RS”
The README has a bullet point claiming "Zero copy data interactive between Rust & Node.js". All data is copied into/out of the JS virtual machine by definition. Rust, like every other foreign interface, cannot directly access the JS heap without risking race conditions with garbage collection. This claim should be removed or corrected.
@mogill You can access ArrayBuffer/Buffer/TypedArray without data copy, and you can create them without data copy too.
That's what the website should say. The claim as written is deceitful.