News for hackers. Stuff that matters.
Re:Implementing Go's defer keyword in C++ by maxpert on Saturday October 21, 2017 @06:04PM (#15523871)
Great implement a coroutine, channels, and async io using those coroutines... WOLLAH we have a golang replacement.
Re:Implementing Go's defer keyword in C++ by gmfawcett on Saturday October 21, 2017 @07:09PM (#15524112)
(It's "voilà", not "wollah". It's a borrowed French word meaning "there it is!" or "behold!". In English, the accent is optional: "voila" means the same thing.)
Re:Implementing Go's defer keyword in C++ by missblit on Saturday October 21, 2017 @06:15PM (#15523928)
Boost asio has async IO that uses coroutines. I only ever used it for toy code, but it seemed to work pretty well.