7 ms·
Workers are in the same process but have separate heap, global vars, gc etc, the isolation is managed and achieved by V8. It is much lightweight compared to mic
by teacpde 1mo ago
Workers are in the same process but have separate heap, global vars, gc etc, the isolation is managed and achieved by V8. It is much lightweight compared to micro VM or containers. But the downside is you have to use JS because of V8.
- nullpoint420 1mo agoI get that but it’s much less secure. ie. If an agent finds a bug in V8 it’s over