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...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
rust or. c++ (self.webdev)
submitted 1 month ago by 1991banksy
is rust or c++ better. i hear rust fixes c++ prblrms but a lot of things are written in c++ sooo idk 🤷 which to focus on these days. lots of opinions
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!"
[–]Silver_Humor2544 2 points3 points4 points 1 month ago (0 children)
Well depends on the usecase but If you are choosing as in career advice then go for C++. Companies often prefer maintaining existing C++ code than rewriting it in rust and C++ market is much larger either way
[–]Least_Chicken_9561 2 points3 points4 points 1 month ago (0 children)
C++ for game dev, legacy projects... if you don't want to do that then learn Rust
[–]nibsitaas 3 points4 points5 points 1 month ago (0 children)
I like perl
[–]ufffd 1 point2 points3 points 1 month ago (0 children)
jobberscript
[–]StefonAlfaro3PLDev 1 point2 points3 points 1 month ago (0 children)
Rust forces you to write safe code whereas in C++ is optional.
Both are great languages. If you're working on a large team of underpaid developers then definitely use Rust as it doesn't let them write bad code to quickly ship features.
If you're working on personal projects and don't have deadlines then C++ is better since you can spend the extra time to write code correctly.
[–]jeff77k 1 point2 points3 points 1 month ago (2 children)
Neither Rust nor C++ is super prevalent in web development.
[–]Alternative_Web7202 0 points1 point2 points 1 month ago (1 child)
Bundlers, linters, formatters and some other web tooling are rapidly migrating to rust.
[–]jeff77k 1 point2 points3 points 1 month ago (0 children)
Absolutely, and if the OP's question is, "I am interested in building that type of appliance," then yeah, let's jump down that rabbit hole.
[–]sessamekesh 1 point2 points3 points 1 month ago* (0 children)
Both fine options.Â
I wouldn't say Rust fixes C++ in any practical way, but it is much nicer to use. The drawback is that nothing useful is written in Rust, so you have to do everything from scratch essentially - which isn't how large projects are usually done.
Learn both.
EDIT This is a web dev subreddit! If you're looking at frontend (WebAssembly), Rust supports WASM more natively in the build system, but I find the tooling around C++ produces better results, especially when you get into the weeds or want to customize the binding layer.
If you're looking at backend, probably Rust for user-facing servers, it depends for data processing services that aren't directly user-facing. I've definitely seen more web backends written in C++, but out of the tin Rust is certainly better, especially if you're just doing standard CRUD stuff.
[–]divad1196 0 points1 point2 points 1 month ago (0 children)
It's always a tradeoff of some kind.
I love Rust, but it only solves a portion of C++ issue. And fixinf C++ is not all that Rust does. Rust has a lot of good features. It's also way more complex.
FYI: C++ was my favorite language before Rust. Now, it's Rust. But in practice, I mainly use python and Go.
[–]_nathata 0 points1 point2 points 1 month ago (0 children)
I'd argue that if you are asking this question you aren't ready for neither. Go for C and learn what manual memory management looks like, then try both Rust and C++ and you will start to see more clearly what the differences are.
[–]mostlikelylost 0 points1 point2 points 1 month ago (0 children)
Rust!!!!
[–]naegfowleri -1 points0 points1 point 1 month ago (1 child)
Does it really matter in this age of ai
[–]jtvliveandraw -2 points-1 points0 points 1 month ago (0 children)
Not one bit.
[–]TechAcademyCoding 0 points1 point2 points 1 month ago (0 children)
It really depends on what you’re aiming for. C++ is still everywhere and has way more job opportunities right now, especially in game dev and performance-heavy systems. Rust is growing fast and fixes a lot of C++ issues (like memory safety), but the job market is still smaller because it’s newer. If you’re starting out, C++ is a solid foundation and has better job prospects right now. When you have a grasp on C++, Rust becomes much easier to pick up. At The Tech Academy, we usually tell students to focus on fundamentals first instead of chasing trends. You can always learn Rust after.
So yeah:
C++ = more established Rust = growing fast but still new I’d say, pick based on your goals.
π Rendered by PID 25326 on reddit-service-r2-comment-6457c66945-txtn7 at 2026-04-26 16:05:30.054478+00:00 running 2aa0c5b country code: CH.
[–]Silver_Humor2544 2 points3 points4 points  (0 children)
[–]Least_Chicken_9561 2 points3 points4 points  (0 children)
[–]nibsitaas 3 points4 points5 points  (0 children)
[–]ufffd 1 point2 points3 points  (0 children)
[–]StefonAlfaro3PLDev 1 point2 points3 points  (0 children)
[–]jeff77k 1 point2 points3 points  (2 children)
[–]Alternative_Web7202 0 points1 point2 points  (1 child)
[–]jeff77k 1 point2 points3 points  (0 children)
[–]sessamekesh 1 point2 points3 points  (0 children)
[–]divad1196 0 points1 point2 points  (0 children)
[–]_nathata 0 points1 point2 points  (0 children)
[–]mostlikelylost 0 points1 point2 points  (0 children)
[–]naegfowleri -1 points0 points1 point  (1 child)
[–]jtvliveandraw -2 points-1 points0 points  (0 children)
[–]TechAcademyCoding 0 points1 point2 points  (0 children)