Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I meant that automatic garbage collection is not always the way to go for some people, especially in the days when JVM GCs were not as advanced as they are now.


Ok. Yes, ideally you'd allow the user of your VM to implement their own GC. But to make this fast you typically need to support special memory barrier instructions, like a modern CPU does.

Anyway, the GC-included approach is of course the one taken by Javascript and JVM.


I assume that's one of the parts of the work done at https://github.com/WebAssembly/gc - not happening any soon yet, but it'll eventually be done.


I doubt it will ever be happening, everyone will keep shipping the runtimes on their WASM blobs and that will be it.

Instead of adopting PNaCL in 2011, here we are a decade later still trying to figure out how WASM will be able to support all computing models.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: