News for hackers. Stuff that matters.
Re:Goodbye, Node.js Buffer by silverwind on Tuesday October 24, 2023 @11:32PM (#38008846)
> `Uint8Array.prototype.isPrototypeOf` and `instanceof Uint8Array` do not work across realms (frames, Node.js VM, etc).

That sounds like a bug in those implementations.

Re:Goodbye, Node.js Buffer by eyelidlessness on Wednesday October 25, 2023 @02:50AM (#38009962)
That’s a reasonable intuition, but it’s not a bug. Global scopes are isolated between realms by design, and that applies to built-ins as well as their prototype chains.