I know that Neon can be used to implement Rust libraries in Node, but I wonder if someone has attempted to go the other way and embed Node into Rust?
My use case is the following: I am using a Node.js library, which produces pretty large amounts of data (think hundreds of Mb of JSON). Currently, I communicate between Rust and Node through
stdout, and I need to serialize these huge trees in Node before reparsing then in Rust. This is both memory-consuming and slow.