News for hackers. Stuff that matters.
Re:A hybrid thread / fiber task scheduler written in C++ 11 by cheez on Sunday February 09, 2020 @09:52PM (#22286043)
I don't particularly like the name defer. It seems to operate similarly to Boost ScopeExit but the name does not imply that.
Re:A hybrid thread / fiber task scheduler written in C++ 11 by diath on Sunday February 09, 2020 @11:42PM (#22286478)
The name is likely inspired by Go's defer statement which works in a similar fashion: https://blog.golang.org/defer-panic-and-recover
Re:A hybrid thread / fiber task scheduler written in C++ 11 by cheez on Monday February 10, 2020 @11:36AM (#22290632)
It is, but we are in C++