Hacker News new | ask | show | jobs
by ryohkyo 1726 days ago
My question may sound silly here. What’s the advantage of an isolated-vm over async function with graceful error handling/time out?
1 comments

Isolated-vm was originally developed for the game screeps. It’s a programming game where each player’s code is ran on the server, so isolated-vm helps with both runtime issue (one player’s code crashing not affecting everyone else on the same node) as well as adding some security benefits.
Thank you NhanH, it makes sense now.