Y
Hacker News
new
|
ask
|
show
|
jobs
by
_davide_
643 days ago
What about memory? the real price of threads is the stack.
Even when perfectly optimized, it wouldn't be enough to handle serious workloads.
1 comments
kaba0
643 days ago
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.
link