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

Project Loom experimentally proved that the benefit of virtual lies not in its fast context switches, but in the throughput afforded by having so many threads executed at once.

I am aware of GC-aware green threads. They allow you to combine your GC pause and scheduler pause into one. Again, this is not the end of the world, even when you don’t have shared mutable state. If anything, it makes it easier to build a runtime on top of.



> If anything, it makes it easier to build a runtime on top of.

This is not the point. The point is that it would be very difficult to make an OS green thread that is aware of the runtime's GC, given that an OS will probably want to also support non-gc languages.




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

Search: