News for hackers. Stuff that matters.
Re:WebAssembly Browser Preview by Sophistifunk on Monday October 31, 2016 @07:47PM (#12842024)
JavaScript also lacks (and apparently will always lack) a weak reference type, which Flash supports at the very core, for example weak event handlers.
Re:WebAssembly Browser Preview by spyder on Tuesday November 01, 2016 @11:04AM (#12846220)
Re:WebAssembly Browser Preview by bzbarsky on Tuesday November 01, 2016 @12:59PM (#12847759)
WeakMap holds a weak reference to the _key_, not the _value_. That's not enough to do weak event handlers, for example...
Re:WebAssembly Browser Preview by Sophistifunk on Wednesday November 02, 2016 @04:52PM (#12859164)
It can't be used because they refuse to allow iteration.