[–] SushiHippie 3y ago ↗ Related submission currently on the front page:https://news.ycombinator.com/item?id=37415812
[–] softirq 3y ago ↗ Might want to think of a different name, napi is an API in the Linux kernel, a space that Rust is targeting. It's going to be super confusing searching for napi driver implementations with this node thing out there. [–] amaranth 3y ago ↗ The name comes from Node so that ship has sailed, I think.https://nodejs.org/api/n-api.html#node-api [–] softirq 3y ago ↗ It could be named nodejs-api then.
[–] amaranth 3y ago ↗ The name comes from Node so that ship has sailed, I think.https://nodejs.org/api/n-api.html#node-api [–] softirq 3y ago ↗ It could be named nodejs-api then.
[–] gsilvestrin 3y ago ↗ Another option to use rust from Node.js is Neon: https://neon-bindings.com/. It is a little older than napi-rs.Overall using rust with node is not as seamless as Python with PyO3, but things are improving quickly.
5 comments
[ 0.14 ms ] story [ 122 ms ] threadhttps://news.ycombinator.com/item?id=37415812
https://nodejs.org/api/n-api.html#node-api
Overall using rust with node is not as seamless as Python with PyO3, but things are improving quickly.