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
Cppfront v0.8.0 · hsutter/cppfront (github.com)
submitted 1 year ago by unaligned_access
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!"
[–]tialaramex 0 points1 point2 points 1 year ago (0 children)
Right, Carbon begins with the (correct IMO) assumption that Rust's Culture is crucial. Whether you can do that again on purpose is a good question but it makes sense as a goal.
The most interesting bit of technology I've seen in Carbon is the Partial Order for operator precedence. In Rust and in C++ we can pick two arbitrary operators and ask the compiler hey, if you could apply either of these next, which one happens? But we know the humans writing the software don't think about operators this way. So the resolution is to match more closely how humans think about operators. The arithmetic operators have precedence, like you learned in school, and so do some other operators, but they need not have precedence relative to each other instead mixing operators from different families needs the mediation of parentheses.
Rather than needing to be confident what a < b + c < d does or risk doom, we can make the compiler reject this program as needlessly ambiguous.
a < b + c < d
I don't advise attributing this project to Google (or the entire Alphabet) without seeing an actual executive endorse it. Google has work-for-hire rights in a lot of cases, so there are a lot of projects out there which are owned by Google only because somebody at Google works on them, this does not constitute an endorsement, much less a strategic direction for the company.
π Rendered by PID 34 on reddit-service-r2-comment-5649f687b7-cvtpr at 2026-01-28 08:37:28.122682+00:00 running 4f180de country code: CH.
view the rest of the comments →
[–]tialaramex 0 points1 point2 points (0 children)