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

What about memory? the real price of threads is the stack.

Even when perfectly optimized, it wouldn't be enough to handle serious workloads.



Well, the runtime (instead of the OS) knows better and can e.g. allocate part of the call stack on the heap itself, like how Java’s virtual threads do.




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

Search: