top | item 41471902 (no title) _davide_ | 1 year 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. discuss order hn newest kaba0|1 year 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.
kaba0|1 year 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.
kaba0|1 year ago