Post

A couple of questions: - Isn't "multi-thread mode" misleading? Shouldn't it be called "multi-cpu mode"? - Regarding vm.Module not supporting ESM, it's unfortunate. Shouldn't this be a call out for Node.js overlooking ESM in important parts of the runtime?

Why do you think multi-thread is misleading? It’s using node worker threads. Node VMs support ESM but it’s experimental. + conceptually speaking node VM isolation is prone to memory leaks as imported modules might have side effects etc…

0 reposts0 likes