News for hackers. Stuff that matters.
Re:Fibers: An Elegant Windows API by destructionator on Friday March 29, 2019 @12:53PM (#19523355)
> Do I really need to spend 40M of memory just to read from the handles simultaneously?

of virtual memory... if it isn't being used it can be paged out.

Re:Fibers: An Elegant Windows API by jstimpfle on Friday March 29, 2019 @01:00PM (#19523434)
Paging? I don't do paging because I value my mental sanity. I don't think there is a good reason to use paging in 2019 for the vast majority of applications, and the rest is probably simply badly designed software. And I only have 8G of RAM like everybody else, 4G of which have probably never been written to.

And if you do use paging, it's still 40M wasted disk space without a good reason.

Re:Fibers: An Elegant Windows API by gpderetta on Monday April 01, 2019 @06:04AM (#19541840)
but at some point you will need it (when the socket becomes ready to read) and it be extremely costly to to bring it back in.