On Thursday, December 15, 2016 at 3:57:50 AM UTC-8, Benjamin Francis wrote: > However, using two separate languages comes at a cost (both cognitive and > complexity-wise). I personally have zero experience of writing Rust and > while I know it's possible > <https://blog.risingstack.com/how-to-use-rust-with-node-when-performance-matters/> > to call Rust components from NodeJS I've never actually done it. I'm > interested to hear other peoples' views on this (without descending into > needless bikeshedding or a holy war!), particularly if anyone has > experience of using these two languages together. How feasible is this? > > Ben
There is the Neon project[1]. Neon makes writing native Node.js modules (in Rust) possible. As noted on the website, it's a work in progress and there are some important things to finish[2] to fulfill the "hack without fear" promise, but the mechanics are there. [1] https://www.neon-bindings.com/ [2] https://github.com/neon-bindings/neon/issues/144 _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

