News for hackers. Stuff that matters.
Re:Fibers: An Elegant Windows API by magicalhippo on Friday March 29, 2019 @12:54PM (#19523365)
> I also never said to have only 4k of (combined) buffer data for 10k handles. "4k should be a reasonable read buffer size" means 4k per buffer.

I never thought the former, only the latter.

Re:Fibers: An Elegant Windows API by jstimpfle on Friday March 29, 2019 @01:07PM (#19523513)
Oh I see, it was the other commenter saying "less than 1 byte per buffer" and you only said "by doing 1 byte reads". It seems I really was a little unclear and should try to hold my horses.
Re:Fibers: An Elegant Windows API by magicalhippo on Friday March 29, 2019 @01:23PM (#19523685)
No harm done :)

My idea was to exploit the caching mechanism in the OS. Though clearly it wouldn't be as efficient as providing a set of buffers for the OS to use.