[–] SushiHippie 2y ago ↗ Related submission currently on the front page:https://news.ycombinator.com/item?id=37415812
[–] softirq 2y 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 2y ago ↗ The name comes from Node so that ship has sailed, I think.https://nodejs.org/api/n-api.html#node-api [–] softirq 2y ago ↗ It could be named nodejs-api then.
[–] amaranth 2y ago ↗ The name comes from Node so that ship has sailed, I think.https://nodejs.org/api/n-api.html#node-api [–] softirq 2y ago ↗ It could be named nodejs-api then.
[–] gsilvestrin 2y 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
[ 2.9 ms ] story [ 31.4 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.