News for hackers. Stuff that matters.
Re:Show HN: Coros – A Modern C++ Library for Task Parallelism by neonsunset on Wednesday September 25, 2024 @12:34PM (#41649188)
This looks exactly like .NET's task abstraction.

If it works anywhere near as good, I'm definitely giving this a try next time I need to work on a C++ project. Thanks!

Re:Show HN: Coros – A Modern C++ Library for Task Parallelism by pjmlp on Wednesday September 25, 2024 @12:39PM (#41649234)
As historical note for those that don't follow C++, C++20 co-routines grew up from the work done with asynchronous programming on WinRT for C# and C++, inspired by Midori and .NET async/await.

Most of the magic methods expected by C++ compilers in awaitable types, are also present in the structured typing used by C# for awaitables.

The preview implementation for VC++ and clang were done by a Microsoft employee, Gor Nishanov, his talks are always quite interesting.

Re:Show HN: Coros – A Modern C++ Library for Task Parallelism by singledigits on Wednesday September 25, 2024 @12:50PM (#41649349)
Hopefully, you find it useful! If you have any ideas or suggestions for improvement, feel free to open an issue or let me know. Thanks for considering it!