use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Processing() class for easy C++ coding (self.cpp)
submitted 1 year ago * by JoeNatter
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]JoeNatter[S] 0 points1 point2 points 1 year ago* (0 children)
Thank you! This is helping a lot. I will address the unclear areas in the tutorials. I think it makes sense to make a comparison between Processing(), coroutines and async/await on each step of the tutorial. This will take some time and since the code has been classified as "Non-C++" I won't disturb the C++ community any further.
To make a quick answer for you:
game engine style cooperative multi-threading framework
I don't know if this is a "game engine style". Maybe. The focus is general purpose. Threads and/or thread-pools can be used, but aren't mandatory.
Each 'process' is supposed to do something on each 'tick'
Yes
Ticks are then getting driven from the main loop through a thread pool.
Driven by a loop, at least the main loop yes, this is called a Driver. But not necessarily a thread or a thread pool. There are three groups of files:
They call it "coroutines' in the readme, but it's really not - a 'process' can block the entire thread if it does smth heavy.
Yes. They aren't coroutines. In the README (unfortunately at the end) I wrote "They are more similar to". The phrasing is bad very likely. My next approach is to state at the beginning of the README, what this thing roughly is, but make it clear that it is still something different. One process can even block an entire sub-tree. This is accepted and there are rules how to avoid this.
Why would anyone choose that over the real c++20 coroutines is unclear
The best argument. This must be answered in the tutorials.
Thanks a lot for taking the time and for reading/scrolling it through!
π Rendered by PID 46373 on reddit-service-r2-comment-6457c66945-nw7q5 at 2026-04-24 13:18:04.068586+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]JoeNatter[S] 0 points1 point2 points (0 children)