3 ms·
I've been using isolated-vm for refloat.io, but ended up switching to the native Node.js vm API after having issues getting its native module to run with vercel
by fathyb 5y ago
I've been using isolated-vm for refloat.io, but ended up switching to the native Node.js vm API after having issues getting its native module to run with vercel/pkg.
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.