News for hackers. Stuff that matters.
Re:Why Continuations Are Coming to Java by pron on Tuesday July 02, 2019 @10:47AM (#20335669)
Even 4k is a lot, and whatever memory is committed stays committed (and worse, it may even be paged). Perhaps it would be possible for the kernel to uncommit unused stack pages, but I don't think kernels want to assume threads never access memory below their stack pointer.
Re:Why Continuations Are Coming to Java by garmaine on Tuesday July 02, 2019 @06:24PM (#20339941)
Oh I agree OS threads a really heavyweight and there is a real need for fibers / green threads. I think we're arguing over whether they are 100x more efficient or 10,000x more efficient. Details matter ;) Thanks for your work on this for Java!
Re:Why Continuations Are Coming to Java by lostmsu on Tuesday July 02, 2019 @09:20PM (#20340815)
I think you severely overestimate the efficiency gain both times.
Re:Why Continuations Are Coming to Java by garmaine on Tuesday July 02, 2019 @10:56PM (#20341239)