top | item 32391824

(no title)

binrec | 3 years ago

V8 has such a lax approach to memory management that I sometimes wish I could drop support for everything but Firefox. For example, Promise.race() leaks memory in V8: https://github.com/nodejs/node/issues/17469#issuecomment-685...

Another issue I ran into recently is that `Symbol.for(str)` will cause the entirety of `str` to be allocated forever in Chromium, but not in Firefox. (It's inevitable that `Symbol.for()` will have some memory impact, as a global allocation, but it's possible to mitigate it somewhat.)

IMO it's too bad that the effort to create a Node-alike driven by Spidermonkey instead of V8 never got anywhere.

discuss

order

No comments yet.