4 ms·
> that would occur if you fork off the original node process. Right, so why wouldn't you? Node has a "fork" where you can give it a path to a script to run. Ye
by justinmeiners 7y ago
> that would occur if you fork off the original node process.
Right, so why wouldn't you? Node has a "fork" where you can give it a path to a script to run. Yeah it has to JIT it, but the V8 and Node part isn't duplicated.
- zaarn 7y agoBecause running fork() in Rust,C&Friends is more efficient? I don't have to reload the code image at all and I instantly share all data, including any configuration. Plus you can more easily do shmem in those languages than JS which gives you another performance advantage over pipes.