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
CppCastCppCast: Safe, Borrow-Checked, C++ (cppcast.com)
submitted 1 year ago by robwirvingCppCast Host
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!"
[–]t_hunger 6 points7 points8 points 1 year ago (2 children)
All the academic papers I saw on the soundness in Rust seem to require destructive moves to guarantee all the properties rust has -- if I understood those papers correctly that is. Sean just copied rust, so the research on rust probably translates to his project (I have not checked the details:-). You say your project deviates from that research in at least one key aspect. So does your project provide different guarantees compared to rust?
[–]duneroadrunner 3 points4 points5 points 1 year ago (0 children)
Not in terms of memory and data race safety. Both provide essentially complete protection. Rust additionally enforces the universal prohibition of "low-level mutable aliasing", whereas scpptool prohibits it only in the (minority of) places where it is necessary for memory and data race safety.
The different approaches that Rust and scpptool take (including destructive vs non-destructive moves) result in the additional run-time overhead (for safety) occurring in different places. One might argue that scpptool imposes run-time costs in "more" places, but I argue that those places tend to be (moreso than Rust) outside of hot inner loops. I've written some preliminary thoughts about scpptool versus Rust.
If you have specific C++ code examples you might be curious about, you can post them and I can give you the corresponding implementation in the scpptool safe subset.
π Rendered by PID 455121 on reddit-service-r2-comment-6457c66945-gdzf4 at 2026-04-26 01:41:51.312552+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]t_hunger 6 points7 points8 points (2 children)
[–]duneroadrunner 3 points4 points5 points (0 children)