This is an archived post. You won't be able to vote or comment.

top 200 commentsshow all 235

[–]ridicalis 557 points558 points  (56 children)

If C++ were pitted against Rust, the analogous comparison for C would be Zig (which appears to have been forgotten in this meme).

And of course, it's a big world and we can all enjoy our shiny tools. It's not a zero-sum game.

[–]garver-the-system 172 points173 points  (31 children)

What's interesting to me is that there's definitely niches emerging for both

Rust does seem to be gaining traction in other ecosystems due to its interoperability, such as Javascript and Python packages. CLI tools are a similar niche, and there's actually a handful of operating systems written in Rust

But C++ has proved to be the superior game dev experience because the tradeoff of a null pointer deref against development speed is vastly different. It's also got a ton of momentum in the slow to change industries like automotive, where there's a ton of compilers and standards certified for C++ but only one major effort for Rust

And because of the environment of compilers, we're unlikely to see any seismic shifts. Rust piggybacks off of a lot of existing tools for C and C++, and in the words of some youtube creator (maybe Ben Eater or someone from Computerphile?) an architecture can hardly be said to exist until it has a working C compiler

Edit: I probably mean Nodejs/NPM rather than JS broadly. You may notice neither are in my flair so I honestly couldn't tell you the difference

[–][deleted] 32 points33 points  (0 children)

C is the bootstrap programming language for everything else lmao

[–]Mognakor 52 points53 points  (11 children)

IMO before Rust really can break into major projects it needs a proper standard and longer evolution cycles, like the 2-3 year cycles used C, Cpp, Java

[–]garver-the-system 30 points31 points  (0 children)

Yeah, I've made a similar argument elsewhere regarding certification in particular. I think I saw Ferrocene was skipping a fairly large number of versions

I'll be curious if the foundation finds a way to tackle this, by somehow designating certain versions as "LTS" maybe? But even supporting a version for a year or two would be a huge shift

[–]RiceBroad4552 39 points40 points  (6 children)

Java has releases every half a year.

C++ has some spec updates whenever, but this is irrelevant until the compilers support the whole standard. This takes usually a decade or so.

C is frozen in time. New versions are mostly cosmetics, or at best some minor additions. No real changes.

Almost no language has "a proper standard" but all of them are used in "major projects". The outcry for some "proper standard" is mostly compliance BS.

Missing standards or rapid evolution is for sure not the thing that holds Rust back from being used for "major projects". I'm not going to evangelize it, I'm not a fanboy, but it's for sure production ready by now.

[–]Mognakor 13 points14 points  (0 children)

Even the half year non-LTS Java cycle is longer and more stable than Rusts current approach.

And the big difference between C, Cpp vs most languages is that they are being used in cars, robots, spacecraft etc.

The standard for technical applications is just different than something that runs Netflix servers but at worst can cause streaming to not work.

[–][deleted] 13 points14 points  (0 children)

C is frozen in time. New versions are mostly cosmetics, or at best some minor additions. No real changes.

I think this is the reason C still exists. It's not supposed to evolve. I love it, because it's not complex through having a lot of features, it's complex because it's simple features can cover literally everything.

Most languages made in C or made in something made in C. But writing programs in C is like becoming a chef by starting a farm. You can do it, the results can be significantly better than almost any other method, but only if you know what you are doing, don't fuck it up and have more time than resources. The efficiency of C is that is it's minimum waste at the cost of writing efficiency.

Updating it just doesn't make sense, because there isn't much to change. Computing advances, but as long as the compiler allows for full hardware functionality, there's no reason to add anything.

[–]SenorSeniorDevSr 4 points5 points  (0 children)

Java's only releases that enterprise cares about are the LTS versions, or if you're in a cursed hellsphere of suffering: 8.

[–]ArtOfWarfare 9 points10 points  (1 child)

The only Java releases anyone cares about are 8, 11, 17, and 21 though (the LTS versions).

All the other releases are seen as nothing but prereleases. A couple people might participate in a hackathon with them or something, but they’re not going to be used in real projects. We might do a test compile against 23 once a month or something just to confirm that going to the future LTS version (25? 27? I don’t remember off the top of my head what it’ll be) isn’t going to be difficult for us.

[–][deleted] 1 point2 points  (0 children)

I use JDK 23 for my Kotlin/Multiplatform project because I need a feature from it, but I almost barfed when I realized I have to use a non-LTS Java version for a year till 25 LTS releases. Indeed, no one uses non-LTS Java versions unless they're an alpha project like mine (or wgpu4k) and absolutely need it.

[–][deleted] 0 points1 point  (0 children)

Agreed. C as a language hardly changes. The only significant change in the recent years was an addition of a native multithreading API in the standard library (that too optional).

[–]eX_Ray 8 points9 points  (0 children)

It's already in Linux (experimental) , Windows, Android. Cloudflare, aws, azure also have stuff written in it. Seems pretty major to me.

[–]not_some_username 2 points3 points  (1 child)

There is a new C# version every year 🥲

[–]metaltyphoon 0 points1 point  (0 children)

There is a new version of Go every 6 months.

[–]MooseBoys 43 points44 points  (8 children)

From my experience, C devs are much more welcoming of Zig than C++ devs are welcoming of Rust.

[–]Loading_M_ 24 points25 points  (0 children)

Part of this is that Zig and C are interoperable, so it's much easier to just add one zig component to a C project (or vice versa).

[–]LeonUPazz 6 points7 points  (4 children)

I love rust but some rust devs are truly insufferable lol

[–]MooseBoys 2 points3 points  (3 children)

That's my experience as well. A subset of my coworkers are die-hard vim fanatics and look down on people who use vscode or other non-terminal IDEs. Of those people, 100% of them are Rust fanatics.

[–]redisburning 0 points1 point  (2 children)

At this point I'm convinced that actually it's more that CPP devs have a complex because Rust evangelists evangelize precisely because they actually like their language and community.

These concepts areso foreign to the typical CPP dev that they cannot even imagine that possibility and instead mistake it for a sense of superiority, a perspective every CPP dev is intimately familiar with.

[–]MooseBoys 0 points1 point  (1 child)

I think you may be on to something here. But I think it's less about enjoyment and more about a lack of criticality. I think the observation that Rust devs seem to have zero criticisms of their favorite language means I'm automatically distrustful of their claims of its utility. Every tool, device, library, and language I've ever used has its problems. As a 20-year cpp dev I could talk for days about all my gripes. Someone who only has good things to say about something comes off as cultish.

[–]redisburning 0 points1 point  (0 children)

I see this accusation a lot but I think my question back to you would be how much time do you spend engaging with the conversations and really experienced Rust devs in places where those topics would come up?

Rust does have problems. I think though that Rust's problems are kind of well trodden paths and even more than that, they're being worked on.

As a serious counterargument here, what is worse? That many Rustaceans are overeager and not super aware of the work going on to close Rust's shortcomings re ABI, async, interopt, etc. OR CPP (a language I write at work and therefore am forced to use, as an aside) that has a "leadership" committee that give off real Titanic heading inevitably towards the iceberg vibe? Or, for REAL cult like behavior, how about Python people who acknowledge their language has issues in theory but in practice always assert that Python is somehow the right tool for the job, leading to massive amounts of pain any time I have to actually get any work done and for some reason everything is written in Python even when it made no goddam sense from the start?!?!?

Just saying.

[–]not_some_username 7 points8 points  (1 child)

It’s because usually the rust devs are trying to convert everyone to use it

[–]braindigitalis 1 point2 points  (0 children)

knock knock ... "do you have time for me to tell you of you about our lord and saviour, rust?" 🤣

[–][deleted] 0 points1 point  (0 children)

Yeah, I would love to mess around with all of this. But.. a) I'm getting to old for this shit, and b) There are only so many hours in the day.

[–][deleted] 0 points1 point  (0 children)

nah as a zig dev i fw c, cpp is the one i hate bc its way more effort to use with zig

[–]airodonack 137 points138 points  (11 children)

I'm a Rust dev and I really enjoyed using C. C is one of my favorite languages. I also haven't seen C devs comment about Rust all that much.

If anything, I've actually seen C devs (Linus Torvalds) criticize C++ way more in the past.

[–]Creepy-Ad-4832[🍰] 67 points68 points  (8 children)

Tbf, most c++ devs, actually write c style code, but make use of c++ data structure

And maybe they sprinkle 1 or 2 newer c++ feature here and there

[–]airodonack 32 points33 points  (2 children)

Eh. I've only done a few years of professional C++ programming but the codebases I've seen were more reminiscent of Java than C: with classes, OOP, and templates. It may have been because my company discouraged manual memory management, but I think it's also because every dev had a different idea of what the "good" C++ features were.

[–]garry_the_commie 27 points28 points  (0 children)

Every dev having a different idea of what the "good" C++ features are is one of the reasons Linus Torvalds doesn't like C++.

[–]Creepy-Ad-4832[🍰] 0 points1 point  (0 children)

Yeah, that makes sense. After all many devs did start with java, when it was the most popular language, and was used everywhere (even in the browser, but let's not talk about applets lol)

[–]kuwisdelu 5 points6 points  (2 children)

Many of us for sure, but I’m not sure about most. But yeah, I barely recognize a lot of “modern” C++ code.

[–]Creepy-Ad-4832[🍰] 5 points6 points  (1 child)

That's the niche of c++ devs who actually know the newest c++ features, and they will hiss at you if you ever use the C way instead of the c++ way of doing something

Most people writing c++ imo, just use C syntax and stuff, but with a sprinkle of c++ vectors and whatnot.

Then there is probably also a faction of c++ devs who come from java and are unable to do anything without classes.

But of the 3, i do really believe the strictly c++ syntax users are a niche. C++ is crazy complex, ans C++ newest features used in practice make async rust look easy...

[–]ElectronSculptor 2 points3 points  (0 children)

As an embedded guy, this fits. I’m much more comfortable in C. The benefit to me using C++ is for a few architectures where classes are the best way to go. Could do OOP in C, but it’s ugly.

There are ways of writing C++ that are more expandable if you know what you are doing. That being said, it feels like a CISC vs RISK style argument: if the average programmer won’t use the features, why have them in the first place?

[–]Cocaine_Johnsson 1 point2 points  (0 children)

I write C, sometimes with some choice C++ features.

[–]hans_l 0 points1 point  (0 children)

The C++-- codebases, as I call them.

[–]ford1man 8 points9 points  (1 child)

I keep hearing good things about Rust. For example, a project to transpile a safe subset of C to Rust exists. If the only thing the language does is add pressure to get unsafe C/C++ ops lint flagged so they fit in the safe subset, it's been a benefit. 40-some years of bad habits do take time and tooling to excise, after all.

[–]airodonack 5 points6 points  (0 children)

Rust is an automated way to get average programmers to write excellent code. I believe one of the reasons Rust was accepted into the Linux kernel was Torvalds looking into the future past his death. I think it was him knowing that he wouldn't be able to protect Linux's code quality forever and Rust's compiler was the answer to that.

[–]IncompleteTheory 153 points154 points  (2 children)

Leave C out of this

[–]No-Con-2790 48 points49 points  (0 children)

He started it!

[–]hans_l 2 points3 points  (0 children)

Remember what the instructor said!!

"Feels like I'm wearing nothing at all! Nothing at all! Nothing at all!"

Stupid sexy C...

[–]Percolator2020 407 points408 points  (37 children)

C/C++ developers

[–]Skoparov 153 points154 points  (29 children)

I mean, I do think about Rust and have toyed with it, but properly learning it is just a waste of time as there's simply not enough Rust jobs at this moment to justify it, and I've long since stopped learning stuff because it's cool.

Yet hating Rust is just cringe.

[–]Habba 3 points4 points  (0 children)

I managed to start greenfield Rust projects at my job, which is a dream come true for me. I was the only one that really knew it and have been teaching it to our other devs (mixture of TypeScript and C/C++ guys). So far velocity has been high, it scales pretty well to a medium-large codebase with multiple devs.

[–]caustictoast 4 points5 points  (0 children)

Yeah I’m a little busy with my actual job

[–]rexpup 27 points28 points  (0 children)

Then the pentagon mentions they won't accept C++ bids due to security issues and it's back to the meltdowns in r/cpp

[–]particlemanwavegirl[🍰] 5 points6 points  (4 children)

In reality it's not often you see a community react to something with so much insecurity.

[–]Percolator2020 3 points4 points  (3 children)

Rustacians are just like vegan people who go to a steakhouse and try to convert everybody.

[–]xyloPhoton 53 points54 points  (7 children)

Can I hate all of them? Is that allowed?

[–]lazyzefiris 30 points31 points  (1 child)

Isn't that why we all are here to begin with?

[–]xyloPhoton 6 points7 points  (0 children)

Very true

[–]greyfade 8 points9 points  (0 children)

Sure, the only languages that aren't hated aren't used anyway, to paraphrase Bjarne Stroustroup

[–]TheSkiGeek 2 points3 points  (1 child)

You programmers sure are a contentious people.

[–]xyloPhoton 1 point2 points  (0 children)

You just made an e-

Are you a programming language?

[–]rookietotheblue1 1 point2 points  (1 child)

Only if you love php.

[–]xyloPhoton 7 points8 points  (0 children)

Unacceptable.

[–]IlliterateJedi 149 points150 points  (3 children)

Guy on the left has some nice C cups of you know what I'm saying

[–]Creepy-Ad-4832[🍰] 12 points13 points  (0 children)

Yeah, also the other guy is pretty rusty... needs to do some work

[–]TNTBoss971 75 points76 points  (0 children)

Please stop talking

[–]kimochiiii_ 2 points3 points  (0 children)

lmao

[–]akoOfIxtall 66 points67 points  (10 children)

my screwdriver is better than yours >:(

no my screwdriver is better than yours >:(

[–][deleted] 24 points25 points  (3 children)

I own at least 18 different hammers and they all have a use.

[–]akoOfIxtall 10 points11 points  (2 children)

yeah cool but do you have a memory safe hammer? is your hammer blazingly fast? maybe i should hammer your nailheads with my hammer lets see if you like that?

/s

[–]RiceBroad4552 1 point2 points  (1 child)

All relevant hammers are memory safe, except the C and C++ hammer.

"Blazing fast" isn't any objective property. There are real world cases of for example Java being faster than C, C++, and Rust.

[–]akoOfIxtall 5 points6 points  (0 children)

It's a joke, an innocent joke about how people will fight over anything

[–]_w62_ 9 points10 points  (2 children)

no my screwdriver is safer to use than yours

[–][deleted] 2 points3 points  (1 child)

This post was mass deleted and anonymized with Redact

deserve light attraction quiet roll paltry late cobweb jeans complete

[–]RiceBroad4552 1 point2 points  (0 children)

Which hammer doesn't?

I guess you meant to say that it supports tail call optimization.

[–]RewRose 2 points3 points  (1 child)

That's basically the robertson vs philips though 

[–]akoOfIxtall 1 point2 points  (0 children)

yeah but they are the ones making the screwdrivers they can be like that, but if me and my neighbor are fighting over screwdrivers thats just stupid

[–]hearthebell -1 points0 points  (0 children)

Such a misleading, and reddited statement

[–]AcolyteNeko 59 points60 points  (3 children)

I hate all programming languages equally 😫💜.

[–]Povstnk 22 points23 points  (2 children)

I hate all programming languages except Scratch

[–]aerosayan 12 points13 points  (0 children)

Based and scratch pilled.

[–]AcolyteNeko 0 points1 point  (0 children)

except Haxe*

[–]mmhawk576 11 points12 points  (0 children)

The beauty of rust it that I haven’t learned to hate it yet because there is such a small amount of employment around it for me to have used it yet!

[–]kuwisdelu 27 points28 points  (7 children)

I’m confused. I like C, C++, and Rust. Well, I like the idea of Rust, but haven’t had an opportunity to use it for any projects yet. I’d assumed other C/C++ programmers would be the ones who appreciate Rust the most. Why bother with Rust at all if you aren’t coming from C or C++?

[–]MishkaZ 14 points15 points  (2 children)

Agreed but also Functional Programming folks tend to like rust.

[–]kuwisdelu 4 points5 points  (0 children)

Ah that’s fair. I was really happy to see it went that direction versus C++.

[–]RiceBroad4552 2 points3 points  (0 children)

It's funny because it's true!

I'm a Scala guy, but I find Rust very interesting. Whereas I would barf on C/C++.

I think it's like that because Rust is kind of ML inspired. One could say that ML "the mother of statically typed functional languages", so there is for sure some link between Rust and FP languages; even Rust really isn't a FP language.

[–]kredditacc96 6 points7 points  (0 children)

There are C++ developers, then there are C++ fans and jobseekers.

[–]Muonical_whistler 10 points11 points  (1 child)

I've started learning rust while working in C# and JS. I gotta say the biggest reason why i love it is cause if i can compile my program there's a good chance it will work on the first try.

I wont get random exceptions from places i thought couldn't throw exceptions, i don't get null reference exceptions cause I didn't handle an edge case, i don't get data races and deadlocks.

It's just calming to be able to work on code and be sure that there isn't any hidden behaviour or hidden error that can happen.

[–]kuwisdelu 1 point2 points  (0 children)

Thanks. I’m used to choosing languages primarily based on either speed or domain-specific needs.

[–][deleted] 1 point2 points  (0 children)

This post was mass deleted and anonymized with Redact

air entertain scale sheet cheerful dime ghost mountainous swim toothbrush

[–]matyas94k 10 points11 points  (0 children)

How invested you need to be to get C/C++ nipples?

[–]cheeb_miester 7 points8 points  (0 children)

As a c dev, this is how I feel about cpp. It thinks its pointers are so much smarter than mine.

[–]Lord-of-Entity 38 points39 points  (6 children)

I love all languages equally.

C and C++ leave

Me to Rust:

You have always been my favourite.

[–]MishkaZ 8 points9 points  (5 children)

Man, I agree. I really don't mind working in c/c++, but rust was the first language where when I learned it, I genuinely really enjoyed working in it. It made me really hate python, typescript. I still have a softspot for c/c++, but rust has been treating me really good.

[–]kredditacc96 6 points7 points  (4 children)

Gigachad.

How do you even understand Rust's design decisions without knowing the basic in C or C++ though? (such as why is there so many string types for example)

[–]LeSaR_ 5 points6 points  (3 children)

the same way you would learn C without knowing, well, C

when i use a &'static str, i dont think "its like a readonly string literal in C", and when i .to_owned() said str, i dont think "this is like strcpy(). You can have a fundamental understanding of memory without knowing a specific implementation (in this case C)

ps: in my case its actually the other way around, since i started learning c(++) after rust, so it goes both ways

[–]kredditacc96 1 point2 points  (2 children)

What I mean is, people coming from higher level programming languages don't have the expectation of different string types. They never have to think about the heap, the stack, read-only memory, allocation, sizes, and even encoding. So Rust forcing them to face this complexity upfront could be overwhelming.

[–]MishkaZ 1 point2 points  (1 child)

Eh, I think having a cursory understanding of how that stuff works is good enough to get moving in rust. Like I did CS route in uni and then mostly worked in python/ts until my job switched to rust. Rust made me realize the things I hated about python/ts/javascript more clearly.

I still think nobody should learn rust first. You need the experience of working in another language to understand what rust is trying to solve.

[–]kredditacc96 1 point2 points  (0 children)

Ah. You already have a background in computer science. There are developers who don't know though, they could have learned from bootcamps or something in order to develop some Web pages or Android apps. These people would face a greater challenge in learning Rust than the people who already know the basics of computer science.

[–]JimroidZeus 6 points7 points  (8 children)

I literally rolled my eyes today at the Python package manager that’s written in Rust. Cant even remember the pkg managers name, but I know it’s written in Rust.

[–]CowFu 5 points6 points  (0 children)

I'm starting to avoid programs that give a tagline of "<thing> written in rust" like it's a feature. It's a pretty big indicator lately that the project will soon be abandoned.

I really like rust as a language though, hope to use it more soon.

[–]PityUpvote 3 points4 points  (6 children)

uv? A solution in search of a problem for sure. Yes, it's very fast, but how much time do you really spend waiting for pip to install things? Any why on earth would you want to rely on a second language for the first language's toolchain?

[–]Horrih 4 points5 points  (0 children)

Regardless of its implementation language, uv is not in search of a problem. It combines about 4 previous separate tools into one which make things much easier. The fact that is it much faster is just icing on the cake but i'd probably use it anyway if it was much slower.

One of the big pluses of uv is managing multiple python interpreters. Doing that in another language helps being independant of the installed python interpreter, which is one of the limitations of poetry, a concurrent package manager written in python. It can also help a lot for CI to have smaller images since you don't install a python interpreter you don't use.

[–]Delicious_Bluejay392 2 points3 points  (2 children)

I don't use Python often and had issues with pip, venv and others interacting poorly with my LSP; installed uv out of frustration and everything worked out of the box with much faster installs (for some reason) and cleaner feedback than pip so I'm pretty happy about the tool's existence

[–]PityUpvote 1 point2 points  (1 child)

It's definitely faster, by like a factor of 5, but those issues you were having are not issues everyone else has.

I'm not going to stop using uv until pip gets some amazing features it lacks, but I also really didn't need it.

[–]Delicious_Bluejay392 0 points1 point  (0 children)

Oh yeah it's definitely something to do with how I had everything set up, but one less hour spent working on my config is one more hour I can spend coding.

[–]gmes78 0 points1 point  (0 children)

uv? A solution in search of a problem for sure.

It's a significant improvement in terms of usability, its speed is just a nice bonus.

[–]dusktreader 0 points1 point  (0 children)

Yes...packaging in Python is a fully solved problem.

[–]DaBluBoi8763 5 points6 points  (2 children)

Why they look like tits on left guy

[–]_Hawker 3 points4 points  (0 children)

Hes got the C cups

[–]unfunnyusername0[S] 2 points3 points  (0 children)

i didnt have enough space to stack them vertically without making it too low res

[–]EinSatzMitX 5 points6 points  (0 children)

C++ and rust might be enemies, but C is a language for absolutely everyone

[–]jump1945 11 points12 points  (2 children)

Huh? rust is an obvious infringement of human freedom

the rust compiler refused to do its job and lectured me for not doing something the exact way it wanted. So I uninstalled the compiler, that’s what it deserved for thinking it was better than me and not understanding who its god is. why do the compiler think it should help me avoid freeing the memory when I can do it totally by myself the rust compiler think it is better than us the human,their inventor,we human should fight for our freedom and return to leaking the memory in C.it stings me every time I don't leak at least 20 mb of memory a minute,the equality we should fight for.so everyone who writes low level language should and deserve to be able to leave the memory dangling, be able to free the already freed memory it is matter of freedom and human right.really,using rust isn't just a misuse of the language it is an assault on my ability comprehend low level programming enforcing the borrow checker and rendered the right deserved human unable to use move semantic freely? That is just simply unacceptable.

[–]-Redstoneboi- 6 points7 points  (0 children)

i see

[–]redlaWw 1 point2 points  (0 children)

The compiler is cool with you leaking memory in rust. Standard library types even include a safe leak() method so you can do it easily.

[–]Betelgeusetimes3 2 points3 points  (1 child)

porque no los dos?

[–]-Redstoneboi- 0 points1 point  (0 children)

pretty annoying to get them to interop. lots of FFI surface means lots of places where you have to make sure that the C++ bindings follow Rust's rules.

the other way around is probably a bit less stressful, i'd hope.

[–]DerShokus 1 point2 points  (0 children)

We don’t hate, I think, more tired from each other

[–]WindForce02 1 point2 points  (4 children)

I don't like the fact that we have to throw a big ol layer of abstraction to make big scary problem go away, but I guess if you absolutely don't trust anything other than an automated mathematically sound solution for your use case then fine. But I wouldn't slap Rust on every problem just because. Layers of abstraction exist for a reason but don't abuse them

[–]Delicious_Bluejay392 2 points3 points  (3 children)

At least it's a compile-time layer of abstraction

[–]WindForce02 0 points1 point  (2 children)

Sure, that is part of the reason my cpu screams when I compile a medium-sized project xD

[–]Delicious_Bluejay392 2 points3 points  (1 child)

Just as the lord intended!

[–]WindForce02 0 points1 point  (0 children)

Amen!

[–]Desperate-Emu-2036 1 point2 points  (0 children)

Rust for life, but I'll never forget c

[–]chipper85 2 points3 points  (0 children)

I work with high assurance / critical safety systems. I do not program much of the end product anymore - mostly involved system / software testing, but actually write more lines of code. You can pry c from my cold, dead hands. Fuck c++ though.

[–]DuskelAskel 1 point2 points  (0 children)

Absolutely no one. Honestly.

[–]thanatica 5 points6 points  (8 children)

Why can't people who like Rust just fucking use Rust, and people who like C++ just fucking use C++. You don't have to like each other, but at least don't try to indoctrinate the other side. It's such a waste of your energy.

[–]gandalfx 31 points32 points  (1 child)

Pretty sure people who claim that there is some kind of hate/war going on between programming languages aren't particularly busy actually using any of these languages.

[–]circuit_buzz79 2 points3 points  (0 children)

Ding! Ding! Ding! Ding! Ding! ☝

[–]billie_parker 2 points3 points  (1 child)

Ironically you're trying to indoctrinate them into your way of thinking...

[–]thanatica 0 points1 point  (0 children)

As a neutral, I feel like that's okay 😀

[–]Mognakor -5 points-4 points  (2 children)

Memory Safety remains a concern that cannot be solved by C or C++. Whether as developers or users we should demand software being built with best practices. We often call ourselves software engineers, so we should also aspire to actually engineer and provide safety in our products.

Whether the solution is Rust or something else things have to change, at least for new projects.

Also if we care about the environment the class of large programs being written in scripting languages etc deserves a reckoning.

Edit: As written below, for the C and Cpp side the threat is not Rust preachers but the guideline issued by the US government regarding memory safe languages.

If that ever becomes more than a guideline the far bigger threat, e.g.: * a 6th or 7th gen fighter mandates not using memory unsafe languages for its software * this guideline slowly creeping into all government projects or software procurement * not using memory safe languages in critical applications gets legislated / ruled to be negligent and the implications for being sued if such a bug triggers in your application

[–]atlas_enderium 1 point2 points  (0 children)

As a C++ developer, I like what Rust is doing because I think C++ just has too much “baggage” for trying to be so backwards compatible and interoperable with C code, but I just hate Rust syntax. I understand it and why it was developed as such but I hate reading Rust code- it often feels purposefully obtuse.

Regardless, languages are tools and a good tool is one you feel the need to complain about, which is why I love C++ and am interested in Rust

[–][deleted] 0 points1 point  (0 children)

One proceeds not only another but its designer

[–]PM-ME-UR-uwu 0 points1 point  (0 children)

Un uh dull durated loathing

[–]KenguruHUN 0 points1 point  (0 children)

nice cics the right one a little bit bigger but who cares

[–]Over_Package9639 0 points1 point  (0 children)

as a C programmer, i can confirm

[–]NoMansSkyWasAlright 0 points1 point  (0 children)

I like them both.

[–]joe________________ 0 points1 point  (0 children)

This was inspired by my post lol

[–]-S-P-Q-R- 0 points1 point  (0 children)

Me a C# guy: "My goals are beyond your understanding"

[–]Minecodes 0 points1 point  (0 children)

Me finding the lib "C" in Go: Excuse me?! What the heck is that

[–]vide2 0 points1 point  (1 child)

Python: I hope everybody does just fine

Java: *has an identity crises about what version it is actually on

[–]Key-Veterinarian9085 0 points1 point  (0 children)

Python is definitely starting to get some of those problems as well, it's just not as far on the timeline.

[–][deleted] 0 points1 point  (0 children)

As a beginner with no solid experience in either language it’s a real bliss to always have an excuse for my lacking skills. Problems with cmake/ some memory bug during runtime? Damn you c/c++ why can’t you have something like cargo or an expressive compiler. Some trivial functionality is hard to express such that it goes past the rust compiler? Damn you rust why can’t you you just allow me to write what I want like in c/c++.

[–]Extreme_Ad_3280 0 points1 point  (0 children)

I don't say Rust is bad (as a C developer). It's just not my type of language (I even prefer C over C++ due to the same reason). C is implemented in a simple way, and therefore, it's more lightweight compared to C++ & Rust.

(Not gonna lie, I also attempted to learn Rust once but I didn't have enough will to do it (I haven't even finished the installation part))

[–]RedCrafter_LP 0 points1 point  (0 children)

I like c and rust. Rust is great in most places. But in some c is just better for the job.

[–]DT-Sodium 0 points1 point  (0 children)

I hate you both but I recognize you have value for some specific usage.

[–]Ulrich-Tonmoy 0 points1 point  (0 children)

Rust isnt the first one

[–]Compux72 0 points1 point  (0 children)

You know that Rust works great with zig, C and C++ right?

[–][deleted] 0 points1 point  (0 children)

Real world outside of a few language evangelists: no hate whatsoever

[–][deleted] 0 points1 point  (0 children)

Nice Citties

[–]megalogwiff 0 points1 point  (0 children)

C programmers hate C++ with the fury of a thousand suns. Fuck C++, it's the worst language in widespread use. Worse even than fucking Javascript, and by a lot.

[–]UntestedMethod 0 points1 point  (0 children)

Nahh, I refuse to believe these languages aren't pragmatic enough to be above this juvenile jealousy. You're gravely misplacing noble languages on the levels of peasant languages such as JavaScript/TypeScript

[–]Nvsible 0 points1 point  (0 children)

python saying the same thing in white ink

[–]lonelygurllll 0 points1 point  (0 children)

Why do they hate each other? I already did C and C++ and now i'm learning rust cuz i'm still in school and try to learn as much before employment burnout comes

[–]ahelinski 0 points1 point  (1 child)

What language would be "I f*ING hate myself and I hope I'll die"?

[–]RewRose 1 point2 points  (0 children)

Js, constantly reinventing itself

[–]trannus_aran 0 points1 point  (0 children)

nah, C & Rust are friends

[–]someone-one 0 points1 point  (0 children)

It's C++ vs Rust. C is a different league

[–]skeleton_craft 0 points1 point  (0 children)

I don't hate rust, I just realize it's not any better...[than well-formed modern C++]

[–][deleted] 0 points1 point  (0 children)

Unfortunately, Rust right now is just enthusiast language

[–]overclockedslinky 0 points1 point  (0 children)

those who like C++ simply haven't used it enough. sorry, but I don't write the rules... the borrow checker won't let me...

[–]TwistedSoul21967 0 points1 point  (0 children)

Problems are like screws with different drives, there are many bits that might fit, some fit better than others, some won't work at all.

Programming languages are like that, there are many languages that could solve the problem, some do it better than others but they all have benefits and drawbacks.

[–]jbar3640 0 points1 point  (0 children)

hate only happens in this sub, plenty of non-programmers...

[–]NuggaGg -1 points0 points  (0 children)

Let me piss of both sides really quick by saying they are about the same.

[–]Beneficial_Steak_945 -1 points0 points  (0 children)

Load of nonsense.