Hacker News new | past | comments | ask | show | jobs | submit login
Writing a Node package using Rust on Windows (pomax.github.io)
1 point by TheRealPomax on Sept 30, 2023 | hide | past | favorite | 1 comment



I've got a bunch of projects that can really benefit from doing some number crunching at native compiled speed, rather than the speed of JavaScript, so... how hard is it to create a DLL file and then have Node use that?

Turns out, with Rust, and a modern FFI solution for node like Koffi[1]: really easy!

[1] https://koffi.dev




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: