4 ms·
I'm curious what this means for GC and WeakMap etc.
by Vanit 4y ago
I'm curious what this means for GC and WeakMap etc.
- mhio 4y agoEach thread or worker is a V8 Isolate, each with their own GC. I don't think WeakMaps could cross the isolate boundary. The project lists a set of "transportable" types, which can be passed in as an argument when calling a worker function - https://github.com/microsoft/napajs/blob/master/docs/api/transport.md https://github.com/microsoft/napajs/blob/master/docs/api/tra...
- soylentgraham 4y agoWonder why this was built on v8 and not chakra