Re:A hybrid thread / fiber task scheduler written in C++ 11
by m0zg on Sunday February 09, 2020 @06:30PM
(#22285086)
Pretty much. You get to pretend inside your fibers that you're actually running threads. IIRC (it's been a while) you also get proper stack trace when something barfs, the importance of which cannot be overstated.
[ Parent
| on HN ]
Re:A hybrid thread / fiber task scheduler written in C++ 11
by ninkendo on Sunday February 09, 2020 @08:53PM
(#22285765)
What are they though? Is this a library for an existing language? A runtime scheduler like the one that does goroutines in Go? If it were open sourced, how would I use it?
Re:A hybrid thread / fiber task scheduler written in C++ 11
by thedance on Sunday February 09, 2020 @09:36PM
(#22285952)
It’s just a library that allows easier development of C++ servers in the synchronous, thread-per-requests style, similar to working in Go but a bajillion times better because it’s not in Go.
Re:A hybrid thread / fiber task scheduler written in C++ 11
by Blackthorn on Sunday February 09, 2020 @10:03PM
(#22286100)
All of the above, and more -- kernel enhancements. See the linked paper, they detail what they do for the kernel side at least.