Introduction to Isolated-VM in Node.js
docs.temporal.io
docs.temporal.io
One big difference is isolated-vm allows creating a separate v8 Isolate, separating the memory heaps, making it safer to run untrusted code. I don't think we can do that with the native Node.js API yet.