>more than a decade passed>hardly anything changed
why is any of this shit still supported? definitely not for the cost!
C++ became illegal, so...
>>108732432it didn't fail in the way languages actually "replace" older languages, which is by becoming the preferred choice for new projects.rust exceeded that goal by actually becoming a part of "older" established projects (e.g. firefox, android, linux), or even fully replacing some projects, both internally (e.g. fish shell), and externally (e.g. sudo-rs). but all that is not as relevant as the central core goal, which is to become the preferred language for new projects, which rust managed with ease, considering c++ is actually shit. c however still has some (shrinking) valid use-cases, even in new projects.
>>108732432Just rewrite any C++ app in Rust with Claude code. This has been solved if you want it.
>>108732634Why can't you politsperging our-team-vs-my-team faggots ever be genuine? It's sad at this point.>Rust exceeded expectations>It's actually replacing so very many languages, dont you know>source (1): its' founding company half-assedly glued the language into its' only product>source (2): its' foundation :tm: executives include senior leadership of an operating system that was already primarily dependent on a higher level memory safe language; and as such, he decided to shoehorn in this meme shit in anyway>source (3): deadend freetard drama
>>108732432It was never relevant, it's a niche language with a few use cases and the complexity almost never justifies the benefits. As soon as USAID got defunded the shills all fucked off to god knows where.
>>108732432literally me
Jai will be the actual ceppie killsr
>>108732634>c however still has some (shrinking) valid use-casesC still has no practical industry alternatives in the applications it is actually used for (embedded, kernel)
>>108732432C and C++ people are very resistant to changeThough the idea is also overkill. You shouldn't need a new language just to ensure there's no double free.
It never solved the long compilation time problem of C++, in fact it appears to be even worse.
>>108733597correct. but C was used for a lot more, is what i meant, as the list of valid use-cases continued to shrink (but was never zero).and the fact that rust actually made some inroads in both of these spaces you mentioned, and in such a short time, also lends to its success and it exceeding expectations.
>>108733597Rust is a lot nicer to use for embedded on platforms that are supported, the esp32 ecosystem is amazing.
>>108732432What was the biggest successful C++ RIIR transformation? https://fishshell.com ?
>>108735448the vast majority of the embedded world considers things like dynamic memory allocation to be overkill. rust is too high level and having to interface with physical system state undermines the entire point of the language since it's all undefined behaviorif you think rust is nice it's because you're not actually writing embedded code, you're writing high level application code on a platform where someone else has handled all the embedded crap
>>108735717NTA. And you're clearly clueless. the rust embedded world, which you clearly never saw a single line of code from, doesn't use dynamic allocation for starters, OBVIOUSLY. And if it wasn't already that obvious, it's something you could have figured out, even before looking at code, considering one of the foundational libraries (crates) from that world is called...DRUM ROLL.. "heapless".
>>108735823then why use rust at all for embedded when the entire use case does not even come into play?the scenario you described basically comes down to a syntax choice where C clearly wins for simplicity and longevity
>>108735919Why are you opining on something you know nothing about?I mean, anyone actually bothering to read just the few first sentences from embassy's README would already be infinitely more informed than you.
>>108735977https://embassy.dev/book/#_why_is_my_binary_so_bigare you talking about this, faggot?
>25% of the readme is instructions on various hacks to wrangle the binary sizethanks for bringing this to my attention anon, i kek’d
i compiled some app and realized the entire dir was several gigabytes and it was just the rust target/ directory bloated to hell what the fuck
>Izzat screeching
>>108732432Because regardless of whether it's good or bad, new languages have not replaced anything for over 20 years.Every single one of the top 4 (java, python, javascript, c++) have been around for 20-30 years and the next 3 (C#, php, C) are similar.The only languages that even make it past 1-2 years are corporate backed shit like C# and Go. Rust has some backing but nowhere near enough.
>>108736509>C#, php, Cis php actually being used actively anymore?I know C is still the go-to embedded/drivers/os language, and C# is still the first choice for everything back-end in azure and unitybut who the hell writes new code in php?
>>108736537>but who the hell writes new code in php/g/ schizos who hate Javascript, and students who were taught it and don't know any better.
>>108736562>students who were taught it and don't know any better.I refuse to believe that's a thing anymore
>>108736537>>108736586Yes there are a lot of active websites for small to medium companies who use it.You can search on linked in by language and check, that's what I used for my personal language usage statistics. Much more useful than amount of hits on google or lines of code in github.
I know C already, should I learn C++ or Rust in 2026 and beyond?
>>108736595>thinking you'll actually be writing code beyond 2026
>>108732432ugly syntax
>>108732670i wouldn't mind qt without c++
>>108736630>thinking otherwiseretard.
>>108736684I'm sure you'll get a job at some point :)
>>108736692I'm cto and ai is too retarded to replace engineers.
>>108736701if your engineers aren't using it to write the code you're way behindI might have been exaggerating when saying people wouldn't be writing codebut mostly we'll just review and maintain it + integrating it of course
>>108736715They are using it (and so am i I'm still part of the dev team, i built the whole thing before we hired).But it's mostly useful for webshit, for most of the system programming we do it just shits itself, i do use it sometime to write a function or convert a json to a struct for it, but if i ask it to fix a bug or add a feature it's just shitting the bed.Also there is reverse engineering involved and it just can't do it.
>>108736866>if i ask it to fix a bug or add a feature it's just shitting the bed.weird. Best results we get is when the whole framework/patterns are in place. It pretty much does anything we tell it to to perfection (still needs oversight of course. At the end of the day, it's a retarded baby)>Also there is reverse engineering involved and it just can't do it.that's fair. Haven't even tried using it for that, but I imagine it'd be a whole lot of hand-holding
>>108732432For the same reason Java failed to replace COBOL.
>>108732432It did, C++ nowadays is so complex, has so many features and new ones are being added literally every 3 years. I won't be starting any project in C++ for sure.
>>108733451it's not even self-hosted, and won't be for some time, so it's just another front-end meme lang
>>108736962you gotta appreciate bjarne slowly killing his bloated retarded creation for what he thought would be eternal job security for him and his cronies.and it probably would have worked, if it wasn't for rust bursting into the scene. although the way the universe works, if rust didn't exist, some other language would have emerged anyway.
>>108739236what are you even rambling about? c++ isn't going anywhere for at least 30 years
For gamedev, the rust ecosystem is complete trash
>>108735448https://chrisdell.info/using-rust-to-build-a-1-dollar-handheld-gaming-console//g/eets would never
>>108739274That's because games are unsafe and you shouldn't write them.
here's a list of people you're dealing with when it comes to people pushing rust:>paranoid security freaks>bullies>corporate shills>trannies>tranny lovers>straight men who should know better but they're too pussy to stand up to trannies>unemployable autists>functional programmers>people that identify as animals>people who swear they're the smartest person in room/job/thread/chat/conference/etcso the *real* question is:>why haven't the most annoying people on the fucking planet gotten their way?
>>108740155thank you zogduke. very informative and revealing as always.
>>108733317I look exactly like this
>>108740351rust is insanely zogged
>>108740387me too, except only in my mind
>>108740392>anti-rustist in the wildlolhttps://desuarchive.org/g/thread/107168629/#q107170768