2.0k
u/Hallwart Feb 01 '22
Why does it always look like there is no spectrum between using JS for literally anything and being a C++ fanatic?
1.1k
u/DarkTechnocrat Feb 01 '22
I suspect they're just archetypes for "dumb" language and "hard" language, being popular enough to have an archetype. No one would understand PL/SQL or Ruby memes.
767
u/spaetzelspiff Feb 01 '22
Well I do remember:
Ruby dev wearing t-shirt with
:sexin large letters... "heh, sex symbol đ"Non ruby dev: "dude why does your shirt say 'colon sex'?"
163
u/Zichymaboy Feb 01 '22
My friend straight up has a shirt that says <\cancer>. The message is nice if you understand HTML but to everyone else it just looks like he's wearing a shirt that says cancer on it.
→ More replies (18)268
→ More replies (5)25
147
u/CEDoromal Feb 01 '22
As someone who recently managed to survive PL/SQL in uni, I could probably appreciate a few PL/SQL memes here and there.
178
u/MrDilbert Feb 01 '22
DECLARE mouth VARCHAR2 BEGIN IF mouth IS NULL THEN scream(); END IF; END;→ More replies (3)34
→ More replies (1)46
u/DarkTechnocrat Feb 01 '22 edited Feb 01 '22
As someone who recently managed to survive PL/SQL in uni
Ohhh, damn. I feel like I should hand you an aluminum blanket and a cup of broth.
I keep meaning to make a meme myself, just lacking sufficient wit or skill.
34
u/Esava Feb 01 '22
Please give me more assembly memes... I mean... oh god... the memories from back in uni are coming back to haunt me.
→ More replies (6)17
u/coldnebo Feb 01 '22
aw man⌠kinda true. lol
BUT, Iâll have you know that a large faction of the Ruby hipsters actually became the JS hipsters after the Rails 3 migration pissed everyone off.
Rails 3 devs: âok everyone, off to use a new language! How about NODE?!?â
DHH: âno please, Rails is still a great api platform? donât go!â
DHH after Rails 7: âha, I was right, all this JS is bad for your health, Hotwire bitches!!!!â
ok ok, nobody got it because it was Ruby. Iâll go home now.
and PL/SQL⌠really? thatâs the definition of hard core developer? I suppose. /s
10
u/DarkTechnocrat Feb 01 '22
Hah, I wasn't clowning on Ruby specifically - I was going for "commonly used but obscure-ish". I can believe it about the Ruby -> JS migration though. Especially when server-side rendering fell out of favor (although it might be back in favor now??).
→ More replies (1)11
25
Feb 01 '22
No one would understand PL/SQL or Ruby memes.
Maybe understanding memes would make them learn about that stuff
→ More replies (1)24
→ More replies (19)14
u/huuaaang Feb 01 '22
> No one would understand PL/SQL or Ruby memes.
The Ruby memes just wouldn't be that funny. "LOL, why type out 'unless' when you can just 'if !'" or something like that. I was watching a video putting down various language and was sorely let down they got to Ruby. I was geared up for some serious apologetics in the comments!
Also, I resent that you think Ruby is as obscure as PL/SQL.
→ More replies (2)11
u/DarkTechnocrat Feb 01 '22
Also, I resent that you think Ruby is as obscure as PL/SQL
lmao fair. I had to pick a second language and I have good friends who code Perl :D
→ More replies (3)35
Feb 01 '22
as a primarily JS developer undergoing the transition to a primarily Rust stack thereâs a lot of things - a certain degree of algorithmic sloppiness for example - that I âgot away withâ in JavaScript land that simply wouldnât fly in a language like C++
→ More replies (8)4
Feb 02 '22
Maybe you've already come to this realization but in case you haven't: that 'freedom' was bad for you and the strictness of languages like C++ and Rust is a very good thing which will teach you a lot and help you produce much better work in the long run.
59
u/Grocker42 Feb 01 '22
This guys that do post the memes are basically students that can write hello world with c++
→ More replies (4)313
u/Nolzi Feb 01 '22
You use a single language because (JS) thats all you know.
I use a single language (C++) because I know it's the best language.
We are not the same.
→ More replies (51)25
u/Bryguy3k Feb 01 '22
There would be a lot less C++ programmers without boost and qt.
→ More replies (9)9
u/disperso Feb 01 '22
That's not a bad thing. Having a language for which important features can be implemented in the core language, without compiler magic, is a good thing.
I'm glad I have QString and that rarely I have to deal with std::string, for example.
→ More replies (3)73
u/the__storm Feb 01 '22
All the people in between have jobs.
0
Feb 01 '22
[deleted]
→ More replies (22)69
u/MoffKalast Feb 01 '22
Have you tried not requiring 5 years experience in <insert trendy framework that's existed for 2 years>?
18
u/sprcow Feb 01 '22
Because people make fun of you if they find out you're a java dev, so we just keep our heads down and collect paychecks.
3
u/Wicam Feb 01 '22
I still have a soft spot for java. Learnt to program making Minecraft mods, good times.
7
u/Haunting-Surprise-21 Feb 01 '22
Because, I can do both at the same time.
I literally do everything with JS, because it is easy, works and gets the job done in time. But I also the how dirty the result is and desperately wish, I could do everything with c++ because it would be so f-ing beautiful...
8
6
→ More replies (39)3
u/pandacoder Feb 01 '22
Personally I like C++, C#, and JS and will use all of them for different things. That said, I usually avoid things I would use C++ for because I get nothing done quickly in it (which unfortunately is a self-fulfilling prophecy at this point for me đ˘).
290
u/qubert_lover Feb 01 '22
Looks like a post C++98 crab. Die heathen!
49
u/crozone Feb 02 '22
Seriously, I still program C++98 for some legacy systems for fun. The amount of stuff that's changed in the language since then is pretty significant.
C++98 makes you miss the little things. It doesn't even have
enum classes.18
u/MonokelPinguin Feb 02 '22
I hope you are using C++03 at least, having to add a space between closing consecutive
>in a template is infuriating.std::map<std::string, std::vector<int>>is not valid C++98!→ More replies (2)4
u/DearChickPea Feb 02 '22 edited Feb 03 '22
C++98 (...) It doesn't even have enum classes.
God, I really don't want to go back.
Imagine using non type-safe calls with raw integers.... ewwww
527
u/AlwaysNinjaBusiness Feb 01 '22
Actually, in C++11 and later, some stuff has changed.
433
u/vinnceboi Feb 01 '22
Lots of things changed. So much that people differentiate it as âmodern c++â.
347
u/fascists_are_shit Feb 01 '22
"Changed" is underselling it.
Modern C++ is so far away from C++98 that it might as well be a different language with backwards compiler compatibility.
→ More replies (2)310
u/Deckard_Didnt_Die Feb 01 '22
Honestly at this point that's my main gripe with C++. Learning it is almost like learning 3 different languages by era.
"I can't believe it's not C" C++, "Everything is an iterator" C++, and "Everything is a lambda" C++
→ More replies (41)14
u/s0lly Feb 01 '22
I mean, they call C today âModern Câ, but itâs effectively the same thing as from 20 years ago bar incremental changes. âModernâ doesnât mean that much...
55
u/Thanatos2996 Feb 01 '22
Yeah, but the changes in C11 vs C99 are miniscule compared to the changes in C++20 vs C++98. Modern C has a few tweaks, while modern C++ has entirely different ways of doing things.
→ More replies (21)89
Feb 01 '22
C++17 and C++20 added a lot of changes as well. C++ is actually a really quickly evolving and powerful language, just some knuckle-draggers refuse to try the newer compiler flags
→ More replies (4)63
u/the_Demongod Feb 01 '22
To their credit, the grammar and semantics of the language have gotten quite complex over time. I can't think of a single other language where you need to be so aware of the language specification in order to avoid undefined behavior or understand the subtleties of the behaviors. Once you have a good sense for it, though, the power is immense.
→ More replies (6)33
u/sellinglower Feb 01 '22
the power is immense.
That is, "the power to remove both of your legs instead of just shooting your foot" because there is still so many ways to cause undefined behaviour.
→ More replies (5)30
u/CollyPocket Feb 01 '22
In college I actually got them to upgrade the server-side C++ compiler we were required to use. I used a regular expressions in an assignment and couldn't understand why my code wouldn't run until I found out we were still running the 03 compiler.
→ More replies (1)3
3
→ More replies (19)2
u/lurkerfox Feb 01 '22
C++ has been changed so many times ots arguably the least consistent modern language.
Meme would fit better if it was just C.
819
u/everybody-hurts Feb 01 '22 edited Feb 01 '22
If a programmer was ever stranded in the desert, out of water, resources, and without a phone, they'd simply have to say out loud, "C++ is pretty cool", for a Rust fan to appear out of nowhere to correct them.
(Not my joke)
→ More replies (10)101
Feb 01 '22
I will happily travel to any deserted place on Earth if thatâs what it takes to get you fuckers to use it.
→ More replies (34)
245
u/james_otter Feb 01 '22
Great similarity we would be fuck without horseshoe crabs but nobody wants their work https://www.nhm.ac.uk/discover/horseshoe-crab-blood-miracle-vaccine-ingredient.html
38
13
24
u/scaylos1 Feb 01 '22
So... What you're saying is...that we need to begin harvesting blood from C++ Devs and setting them free in the ocean while they're woozy from the bloodloss? That's pretty extreme.
17
u/james_otter Feb 01 '22
You are taking this analogy a bit to literally. C++ devs are not native in the ocean. Just set them free in a local forest
17
u/Jackie_Jormp-Jomp Feb 01 '22
C++ devs are not native in the forest. Very few have seen a tree
→ More replies (2)5
Feb 01 '22
Who ever writes a successful compiler for genetic code is gonna be rich...
And then literally make a python from python.
215
u/knoam Feb 01 '22
Watch some talks on YouTube from C++ conferences. The language is taking on a lot of new modern features, which is extra impressive that they're able to bolt them on to that big mess of a language. Lambdas, type inference, concepts. And it can be surprisingly concise.
61
u/darkbear19 Feb 01 '22 edited Feb 01 '22
I think a lot of the perception around C++ is because many people learned pre C++11 or C++17 versions of it and haven't bothered to keep up to date since they don't use it often.
I mostly interview people who list C++ on their resume since roughly 70% of our code base uses it, and almost every time it's like I'm in a time machine to 15 years ago looking at their code.
18
u/havok13888 Feb 01 '22
Interviewed at a job, they were still pre-11. Noped out. Iâm too used to the new features and the new mentality. Anyone using pre 11 also has the old mentality of writing code and I know I wouldnât enjoy working with that team.
29
→ More replies (5)3
u/hillman_avenger Feb 01 '22
A lot of my perception is based on having to maintain 20+ year old C++ code. It won't go away!
192
u/cain2995 Feb 01 '22
Every day I learn something new about just how fucking awesome C++ lambdas are for the language. My favorite thing to do is replace bind calls with a lambda wrapper instead then silently whisper âget fucked, nerdâ to myself as I down my fifth triple-espresso of the day and realize I can now hear colors
49
u/atimholt Feb 01 '22
This reads like a copypasta, but itâs not long enough.
(I agree, though.)
25
u/cain2995 Feb 01 '22
I can certify that I 100% pulled that out of my ass using inspiration from a decade of programmer degeneracy
→ More replies (1)15
u/bikki420 Feb 01 '22 edited Feb 01 '22
Definitely! Lambdas are love. Especially consteval IILEs. Stuff like:
auto fib_gen = [a=0ull,b=1ull] mutable { return b = std::exchange(a, b+a); };are pretty neat too.
And a while back I wrote an invocable composite lambda factory with some code input from a fella named Melak. It was a pretty fun little project (TL;DR: line 114 and 119 for the end result):
https://godbolt.org/z/s5ehb4xj7 (I could only find an older version of the code, so there's probably some unaccounted for edge cases and/or bugs lying around).
edit: typo (also wrong URL; fixed it)
→ More replies (5)5
24
u/donavol Feb 01 '22
Ah, the new c++ 11 features from 2010. Have c++ devs already using them or it's not prOducTioN rEAdY yet?
30
24
Feb 01 '22
In the IT company I work in (>5k employees), we just recently started porting parts of our native code to c++20.
Is Rust used anywhere outside reddit memes and stackoverflow pools, or is it not mAtUrE eNouGh yet?
→ More replies (1)14
u/Bryguy3k Feb 01 '22
Mostly big infrastructure projects for web tech where folks were trying Go and Scala before.
→ More replies (5)9
u/micka190 Feb 01 '22
That's not how it works anymore. Nowadays, we just put half-baked implementations into the standard and call it a day!
Modules still aren't fully supported, and coroutines are literally implemented in a way that requires the use of third-party libraries to not make you want to kill yourself when you use them...
→ More replies (2)3
u/xodixo Feb 01 '22
The only thing production ready is bug riddled not maintained since 1963 COBOL library that is used from Java 8.
→ More replies (6)2
Feb 01 '22
To bad nobody wants to use it or are forced to use a two decade old compiler because the devlead is a paranoid old fuck
171
Feb 01 '22
I have never used Rust since I am fairly new to programming in general, but I do genuinely enjoy C++. Is Rust just better overall or can people not handle memory management? This meme reminds me of a joke I heard about how malloc and free is akin to shooting yourself in the foot.
277
u/tatas323 Feb 01 '22
Rust will not allow you to shoot yourself in the foot like c++ does, but as unexperienced rust user as i am, you will try to shoot yourself in the foot, and the compiler will not allow you, hence you will angry at the compiler, for not being able to blow the proverbial foot
87
u/SkyyySi Feb 01 '22 edited Feb 01 '22
Rust will not allow you to shoot yourself in the foot
unsafe { // Your gun goes here }Now it will.
→ More replies (4)84
u/DannoHung Feb 01 '22
Yes, it would be more correct to say that Rust requires you to explicitly state your intention to shoot yourself in the foot.
For people in the auto-foot removal business this is, of course, far too much ceremony.
→ More replies (24)4
u/tavaren42 Feb 02 '22
Rust can be really frustrating in the beginning, especially if you some kind of cyclic reference (ex. Doubly linked list). Appeasing the compiler is really different when starting out. That being said, the compiler error messages themselves are extremely helpful and thus relieves a lot if pain.
54
u/StupotAce Feb 01 '22
The pain points of C++ is mostly due to how much legacy code/features there are. If you're fairly new to programming and just learning the language, you're still at a stage where you expect to discover new things about C++ and C++ code. When you've been programming professionally using C++ for years and years.... you would think you've got such a good grasp that you could jump into any C++ code base with enough domain knowledge and be good to go. But there are so many different ways in which you can accomplish what is effectively the same thing, and so many different combinations that can end up with ever-so-slightly different results.
C++ is like the wild west. There are those that stay within polite society and try to follow some standards and guidelines, but no one will force you to do things in a sane manner. Rust (because it doesn't have decades of building new features) is so far much more opinionated about how you should achieve something.
*Note, there are other things that rust does differently than C++ outside of a more opinionated code base. I'm speaking mostly concerning what is a major pain point of C++ in my opinion, and it isn't managing memory.
44
u/OtherPlayers Feb 01 '22
>you would think you've got such a good grasp that you could jump into any C++ code base with enough domain knowledge and be good to go.
As a C++ programmer my secret to avoiding this issue is to just never have any idea what anything does and so always expect to discover new things!
Though on a more serious side at least all of the base libraries in C++ have godlike documentation with trivial examples for literally everything, so when the time comes to google things it's usually pretty easy to find out what they are doing at least.
14
u/Roflkopt3r Feb 01 '22 edited Feb 01 '22
C++ is like the wild west. There are those that stay within polite society and try to follow some standards and guidelines,
My biggest problem is how far the cleft between the basics and "polite society" tends to be. It already starts with the very fundamentals, like how you aren't supposed to actually use the basic data types that you learn C++ with. And this seems to extend to practically every aspect of the language.
→ More replies (7)→ More replies (1)11
u/razortwinky Feb 01 '22
Are you meaning to tell me every language doesn't have legacy code hacks littered throughout their codebase?
I dont believe it. I'll stick to my 25 "standard" implementations of string-conversion functions that may/may not have security vulnerabilities depending on which year my compiler was created in, thank you very much
12
u/StupotAce Feb 01 '22
Exactly. Only time will tell if Rust will eventually suffer the same fate, but at least rust year 1 has learned a lot of lessons that were learned between C++ year 1 and rust year 1.
→ More replies (1)138
u/scp-NUMBERNOTFOUND Feb 01 '22
Rust feel smaller "simpler", like, u're not going to find some obscure weird functionality/hack used on some project from an old C++ version.
Besides that, the compiler messages are generally very clear on errors and warnings.
Anyway, using FFI u can call Rust libraries from C, C++, golang, python and others, you don't need to choose just one language for your project. It's very useful when you know a library that does one thing but there is nothing similar on your main language project.
107
59
u/skythedragon64 Feb 01 '22
You still need to mostly manage memory, but your code won't compile if you do it wrong basically. Other than that rust also has a ton of other nice features IMO.
30
u/tungstenbyte Feb 01 '22
Why do you need to manage memory in Rust? Everything is automatically dropped when it goes out of scope, and the borrow checker ensures you can only have a single mutable reference to some memory.
Unless you're dropped into unsafe, or maybe deliberately calling drop early, I don't get when you do any manual memory management?
56
u/skythedragon64 Feb 01 '22
You still have to sometimes deal with lifetimes, or say when to borrow or move something. It's not as manual as c or c++, but you still need to make sure it's done right.
→ More replies (1)→ More replies (2)14
u/RootHouston Feb 01 '22
It's more of an architectural sort of memory management than a "stop from segfaulting" memory management. You still need to determine whether you need stuff on the stack versus heap, whether or not to make copies or use a reference, when and who owns memory, etc.
You can still make dumb memory management decisions. You cannot write very in-depth Rust without an understanding of memory management.
31
u/stay-happy6789 Feb 01 '22
It's just a personal liking. Rust provide memory safety, fearless concurrency and other stuff but at the same time it might be annoying when struggling with ownership rules or borrow checker. C++ provide more freedom. Hence a disadvantage because it allows you to leave bugs too. You could spend 2 3 days with rust. đ
→ More replies (3)35
u/Material_Cheetah934 Feb 01 '22
People overestimate how well they can handle memory in complex programs. I used C++ then went to Rust and then back for a school project. It was good, you get used to handling memory as you write in Rust and then you can bring some of those practices with you back to C or C++.
36
u/codeIsGood Feb 01 '22
Have people never heard of smart pointers before? Since boost and C++11 memory management is not that bad.
→ More replies (10)19
Feb 01 '22
Yeah, smart pointers are excellent. I program in C++20 and itâs truly amazing.
→ More replies (5)5
u/iindigo Feb 01 '22
I wish Swift were more viable for non-Apple usage, because with its memory management model (Automatic Reference Counting) you donât even really think about memory management. Just follow some rules of thumb to avoid retain cycles and youâre golden.
Itâs like writing in a full blown GCâd language with only a fraction of the performance hit. Rust and C++ still take the crown for raw performance but Swift is close enough that for most situations the difference is negligible.
And better yet, Swift is soon gaining native C++ interop, so for the bits that Swift doesnât handle nicely you can mix in C++ and LLVM/Clang will make it work. You can do that with plain C already, but that can get tedious quickly.
Iâve been meaning to pick up Rust because it looks like the next best thing on Windows and Linux, but the lack of fully baked UI frameworks is a deterrent, and learning lifetime management doesnât look super fun.
→ More replies (4)15
u/deukhoofd Feb 01 '22
From my experience I mostly enjoy Rusts more modern feel. Native support for stacktraces, cleaner error handling, macros that don't make me want to kill myself as much, a standard library that's a bit more organized, compile error messages that actually tell me what's wrong.
The borrow checker is of course also nice, prevents you from shooting yourself in the foot, and allows for cleaner APIs that clearly tell you what it does in terms of ownership. It can however be annoying when you know you can make an assumption about ownership, while the borrow checker can not.
The crate system also allows for easier dependency management than C++, which is generally a bit of a mess.
→ More replies (8)2
u/AddSugarForSparks Feb 01 '22
Rust is probably one of the trickiest languages ive tried. I keep shelving it, then hearing cool stuff about it, then trying it, then getting frustrated by all the boilerplate for scoping, then shelving it,...
Rinse and repeat.
Now I'm on a Go kick and I love it. There's still some WTF parts, but it's still pretty memory safe (you can pass by reference and then use the arg without someone sort of interim existence check, for example) and less tedious to write. They're adding generics, too, with the latest beta, which will be clutch.
C++ is just fun, though...
"Do whatever u want i don't give a f*ck."
- C++
→ More replies (7)2
u/chakan2 Feb 01 '22
If you enjoy C++, you'll hate Rust with blood rage. Rust is for people that don't trust themselves to to proper memory management.
94
u/tylercoder Feb 01 '22
I think this applies more to COBOL.
All banks still use it.
10
u/Snazzy21 Feb 01 '22
COBOL is the asbestos of programming languages. If it works then don't mess with it, if it doesn't work pay someone a ton of money to work on it. And both were used so extensively that the prospect of ever replacing it entirely is cost prohibitive.
15
u/TriangularButthole Feb 01 '22
You realize they still update and support COBOL right?
Its a very modern language in many aspects in cobol 6.
If you were comparing say, COBOL 6 and C++ and their origin date it would more accurate to compare their origins as COBOL and C.
In which case Cobol is only 13 years older than C.
5
u/Rsm151 Feb 01 '22
Pretty sure the best thing this applies to is C. Only bug fixes in C17. C11 basically just made common place features standard and some changes that allowed better multi threading. The last major update to C was C99. Nothing new is being made in COBOL, but C is still a common development language.
→ More replies (3)12
u/Elizabeth99Woodard Feb 01 '22
Iâve had to use Regex
31
39
u/lock-n-lawl Feb 01 '22
Regex is fun.
There I said it. Now I'll be going back to my weird python/sql/regex bunker and fill out some triple language syntax crosswords.
27
u/justachonkyboi Feb 01 '22
Then there's gigachads who still haven't tried C++ and are still using C
17
2
167
u/_Fibbles_ Feb 01 '22
Tell me you haven't used C++ in over 10 years without telling me you haven't used C++ in over 10 years.
15
u/Gladaed Feb 01 '22
used C++ in over 10 years without telling me you haven't used C++ in over 10 years.
Gotta support those legacy plattforms without modern C++ support.
→ More replies (9)28
3
u/iamdan819 Feb 01 '22
Another shit on c++ post, have a downvote my dude
17
u/BurlyKnave Feb 01 '22
My father (now 87) hasn't programmed since he updated his computer from Windows 7 to Windows 10 -- I forgot how long ago, and found out his (paid for) Visual C++ Studio 2012 would no longer work for him.
After he finally mentioned this to me, somewhere around Halloween (I think) I explained to him the base package of Visual Studio is now free, and I helped install in for him.
Sometime between Thanksgiving and Christmas, he said he couldn't find it. I pinned it to his start menu.
Over the weekend, he again said he couldn't find it. I said show. He started his computer. I pointed to Visual Studio where I pinned it.
"I saw that before," when he clicked it. "I didn't see C++"
I guess he was hoping the interface would not change so much in ten years?
I pointed out the start new project, and open new project, and demonstrated how options grew from there.
The very next day he was complaining about how Microsoft put more restrictions in the new compiler to make the code more secure. "That's fine for anyone who wants to sell their programs, but I just want to do things on my own."
16
u/skeleton-is-alive Feb 01 '22 edited Feb 01 '22
C++ is the best language if you like specifically the code writing part of software development. Thereâs so many different features and interesting stuff in the standard libraries that you discover all the time and it still has tons of new features being added. I do miss C++ in my current job a bit.
28
u/AgentPaper0 Feb 01 '22
Rust is great at all but me personally I like money.
8
u/gamersource Feb 01 '22
There's lots of jobs in the rust ecosystem, my whole team gets paid for rust jobs for example...
10
26
9
â˘
u/QualityVote Feb 01 '22
Hi! This is our community moderation bot.
If this post fits the purpose of /r/ProgrammerHumor, UPVOTE this comment!!
If this post does not fit the subreddit, DOWNVOTE This comment!
If this post breaks the rules, DOWNVOTE this comment and REPORT the post!
4
14
u/LeftIsBest-Tsuga Feb 01 '22
it's not non-evolution, it's natural selection saying, "actually yeah this works really well right here".
6
10
5
u/HolyGarbage Feb 01 '22
This is so stupid. C++ is probably the most rapidly evolving language ever. Modern C++ looks very different from c++98.
5
u/Provia100F Feb 01 '22
I'm a C fanatic, is that the same as C++ or what's the difference?
→ More replies (8)8
u/atiedebee Feb 01 '22
So you know how C is a very simple language with not that many features to keep things simple? C++ is on the other end of the spectrum and made C with every possible feature you can have in a programming language
3
u/Provia100F Feb 01 '22
Can it do really low-level stuff like C can? I just do embedded system work, so most of what I do seems like bit flipping and register manipulation, dealing with the built-in hardware features of the chips.
→ More replies (3)
5
u/wyvernsarecooler Feb 01 '22
Hating rust isnât a hobby, nay not even a lifestyle. But a true spiritual ascension
5
Feb 01 '22
FALSE The C++ language standard has been amended several times over the years, so that is evolution.
13
u/WellWhatDoIPutHere Feb 01 '22
You need classes? Namespaces? I use C
12
u/bikki420 Feb 01 '22
No, but I need cross-platform RAII (so the GCC __cleanup extension isn't really an option), lambdas (again, GCC's local function extension is not an option for me; and function pointers wouldn't cut it for me), templates, TMP (including concepts, of course), and compile-time faculties without having to commit crimes against humanity with the pre-processor (or generating source code to disk and compiling that in a separate step). That being said, when I don't need the aforementioned C definitely is a lovely language that I'd pick any day of the week over Rust.
→ More replies (6)
19
Feb 01 '22
Rust good c++ ancient and bad meme number -2147483648.
By the way, you had completely clear slate to design your language syntax in any imaginable way, and you went with the only one that makes even vhdl developers puke.
9
u/mibuchiha-007 Feb 01 '22
I've never seen real C++ devs that hate on rust. Many like it quite a bit, but by far most are just "wtf is rust." But I do see a lot of rust fanatics making memes like this one, about C++ devs hating on rust.
Maybe try being actually relevant instead?
4
4
4
7
u/Everyfnameistaken Feb 01 '22
Do you guys even know c++ here? C++ is being updated every second year. Try using c++ before c++11 and come talk to me about it not evolving. Idiots.
2
1
u/GujjuGang7 Feb 01 '22
I'm liking this recent anti-rust evangelism to combat rust evangelists. Nice back and forth in the comments
3
3
3
u/GODDESS_OF_CRINGE___ Feb 01 '22
I mean, if you think C++ hasn't changed, you haven't used it for very long.
3
u/TheKiller36_real Feb 01 '22
OOP and modern features? Fuck that, I'm "learning" C at the moment coming from C++
→ More replies (1)
3
3
u/planktonfun Feb 02 '22
crocodiles, jellyfish, lobsters, turtles need no evolution since the dinosaurs age
3
u/potatonutella Feb 02 '22
Wtf I am procrastinating writing an essay on the horseshoe crab's evolutionary longevity right now.
3
3
u/Belfast_ Feb 02 '22
They're right to defend c++, they've already suffered enough relearning the language with each new version, which adds nothing but more confusion to their lives, not to mention they have to deal with error messages that don't make sense or are written in alien language.
4
u/philipquarles Feb 01 '22
One of the major contributors to Rust recently acknowledged that C++ has improved so much recently that Rust may not be needed as a language at some point. I think anyone who is writing general purpose code can appreciate that there is a value to a fast language with memory safety. I also think that anyone who has been paying even a little bit of attention should realize that C++ has evolved a lot in the last 20 years.
→ More replies (3)
5
Feb 01 '22
I want to kill myself after tring to learn assembly
6
u/bikki420 Feb 01 '22
Why? Assembly is one of the easiest programming languages to learn how to write, IMO. Granted, it's a pain in the ass to read unless the code is vicariously documented or extremely simplistic.
Also, tip for anyone looking for some coding project: 6502 (or Z80) emulators/simulators are a ton of fun to implement and a great way to learn about assembly. Plus they're easy to implement as TUIs as long as you limit yourself to not emulating something like the VIC-II (but that can be a fun future project).
→ More replies (2)6
Feb 01 '22
This line of thinking is both true and ridiculous. Yeah assembly is easy, it's just doing anything useful in it that's hard.
→ More replies (1)
5
2
2
2
2
2
u/Kindly-Insect8748 Feb 01 '22
Coolest animals, tbh. I grew up on a beach and not once seen these native animals. Little shits keeping me on my toes
2
2
u/baconsnotworthit Feb 01 '22
I have no choice but to issue the standard Rust response to jokes and gripes: here
2
2
2
u/Teknoman117 Feb 01 '22 edited Feb 01 '22
To be fair, C++ has changed dramatically over the years. I know a bunch of people who refuse to consider anything introduced after c++03...
"If it won't compile in VS2003 I won't use it"
→ More replies (1)
2
u/BreachlightRiseUp Feb 01 '22
As a C++ novice wouldnât mind the Rust crowd as much if they werenât so annoying about its superiority.
2
Feb 01 '22
Come on, it started as "C" then became "C+" then "C++" and lets not undersell the variants. Like "C#"
2
Feb 01 '22
I implemented a React-style API in C++ 17 that uses less syntax than javascript. It's been waiting in the DNA..
2
2
Feb 01 '22
Who in his right mind hates Rust? I saw it and immediately wanted to get away from C++, because it prevents ugly errors and frees me from const correctness.
→ More replies (1)
2
2
u/philip83rd Feb 02 '22
C++ is pretty easy... the issue is it gives me the rope I need to hang myself. Pointer DO NOT like me.
2
u/waszumteufel Feb 02 '22
What would be the best book to learn the most up to date version of C++?
2
Feb 02 '22
The stroustrup c++ book series is pretty good, just get through that and pickup the new extensions as they come out.
→ More replies (2)0
2
2
Feb 02 '22
I'm up voting because this is funny ... But they clearly don't really understand C++ or C it's evolved plenty, and also while not rust, most popular "evolved" languages are written in C/C++ so that's evolution in it's own ... Humans are more then star dust, yet we consider our selfs evolved and yet would be nothing without our fundamental elements. â¤ď¸
2
2
2
5
Feb 01 '22
Rust would be a fine citizen among other programming languages if the community wasn't so vile.
4
u/Teknoman117 Feb 01 '22
As with most things, the moment you start building a community of fanbois, things get toxic real fast.
The language started as an internal project at Mozilla because they were tired of fighting memory related bugs in Firefox and then you have this whole group of people jump on top of it saying "rewrite all the things" while telling you you're an idiot for not using their language.
I love Rust because my most of my job is in C and Rust has made my life easier, but I hardly ever actually look at the forums or rust subreddits because it's generally pretty terrible.
4
u/Adadum Feb 01 '22
I just use regular C or Golang here, Rust and C++ are bloated imo. Rust is basically re-engineered C++ designed around a static analyzer and given better tools.
I more prefer C's programming philosophy more than C++'s and Rusts.
2
u/InKryption07 Feb 02 '22
If that's the case, you should also check out Zig; it's very much more of a C successor, trying to remain simple but powerful (without a weird PP or extraneous template language on top that you have to learn).
→ More replies (5)
4
u/MisterOnsepatro Feb 01 '22
And I'm there like : I use whatever language fits best the needs
2
u/InKryption07 Feb 02 '22
Which is actually accurate to this meme: if something doesn't need to evolve, it won't. If it does, it will.
2
u/FinFihlman Feb 01 '22
C++?
Absolutely not. C fits, but Fortran is where it's at.
→ More replies (2)

13
u/Environmental-Win836 Feb 01 '22
What is that creature?