3 ms·
Much easier in the browser that has V8 isolate, however even with webworkers you still want to control CPU/network hijacking which is not ideal. If it's only t
by h1fra 2y ago
Much easier in the browser that has V8 isolate, however even with webworkers you still want to control CPU/network hijacking which is not ideal.
If it's only the user's own code it's fine but if they can run code from others it's a massive pain indeed.
On the server it's still not easy in 2024, even with Firecracker (doesn't work on mac), Workerd (is a subset of NodeJS), isolated-vm (only pre-compiled code, no modules).