Re:WebAssembly: a binary format for the web
by toyg on Sunday November 01, 2015 @05:40PM
(#10488743)
Not sure if serious... This comment translates to "except without garbage-collection, and with a loose set of inconsistent and constantly-changing interfaces instead of One Sanctioned Spec."
[ Parent
| on HN ]
Re:WebAssembly: a binary format for the web
by pmelendez on Sunday November 01, 2015 @06:01PM
(#10488862)
Not sure why you think a GC is a good thing. Deterministic object disposal is to me way more convenient and safe than a GC (haven't you ever experienced a race when the GC dispose your memory too soon or not soon enough?)
Re:WebAssembly: a binary format for the web
by pinealservo on Sunday November 01, 2015 @08:11PM
(#10489339)
There are definitely reasons for manual memory management to still be a thing, but if a GC disposes of memory "too soon", i.e. when there are still live references to the memory, then it is a bug in the GC or in some FFI code that didn't manage interaction with the GC correctly.
GC is generally a good thing precisely because it prevents use-after-free errors and enables programming at a higher level without worrying about memory management. There is often a performance cost to this, it's true, but for large classes of programs it's a cost that's worth paying.