[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


The web world survived for years with Javascript, until the situation got so bad that it only took the first mediocre language to appear (Typescript) for the industry to adopt it en masse. In less than a decade, practically the entire industry was using Typescript because Javascript was genuinely bad.
People had been complaining about C for a long time, as it was a language very distant from contemporary computers, it was a language designed for extremely simple computers compared to the computers of the 90s, for example. It only took the pedophile Bjarne to come up with a proposal and less than 10 years later it became the industry standard. This shows how necessary C++ was.
On the other hand, today we have a massive movement of tech (((influencers))) shilling languages like Rust, Jai, Zig, D, which have been on the market for 10 or 20 years and can't even scratch the surface of C++.

The truth is that the reason C++ isn't being replaced is because it's good enough. Simple as that. There's no reason to migrate a system that works well in C++ to Rust, unless your manager/PO is a total retard or you're a fucking faggot.

None of these alternatives to C++ will succeed for a very simple reason: C++ is a good language. If that wasn't true, we would see the entire industry embrace the first alternative that came along, as was the case with Javascript -> Typescript, PHP -> Node, VB -> C#, etc.
>>
>>109058139
I look like this, but I don't say this.
>>
>>109058139
I like those glasses that double as earplugs. Very quaint.
>>
>>109058171
There must be thousands of girls surrounding you every day. I wish I were you...
>>
>C++ is good enough
To be honest its kind of a mess of a language, but everyone just picks out the features they like and that works. Zig and rust won't replace it because they have no spec and adopting them requires reinventing the wheel for everything. The addition of AI makes it even less likely because new software is inherently less trusted now because of the fear that they just vibe coded it. This will be even worse for rust as most AI users will adopt it to try and mitigate the consequences of hallucinations.
>>
>>109058139
>It only took the pedophile Bjarne to come up with a proposal and less than 10 years later it became the industry standard. This shows how necessary C++ was.
No, this is not correct. Pedophile Bjarne invented C++ because he is an attention whore. People had bolted OOP mechanisms into C for years before C++.
>>109058139
>today we have a massive movement of tech (((influencers))) shilling languages like Rust, Jai, Zig, D
you shouldn't put D in this group, D, unlike the other meme languages, has already proven its worth.
>>109058139
>The truth is that the reason C++ isn't being replaced
In truth, the 1990s C++ you cite was replaced massively by Java, then what remains today is mostly a solid niche usage for things like games where it won't be easily replaced.

>>109058139
>None of these alternatives to C++ will succeed for a very simple reason: C++ is a good language.
C++ isn't even remotely good. The reason for C++ to keep being used is that:

a. Software depends on huge libraries like Unity or Unreal engine. While those keep running in C++, C++ will keep being used.

b. Some of the "alternatives" promoted by the influencers are ridiculous (i.e. Jai) or have tons of problems

c. The actually good alternatives like D, Object Pascal, CLOS, OCaml, will never replace C++ because of (a), that is, no big libraries for game development.
>>
>>109058171
pussy
>>
>>109058627
Massive skill issue
>>
>>109058139
C++ is an absolute disaster. The only reason anyone still uses it is because nobody has ever created an alternative. And by alternative I mean another superset of C. This is the only reason anyone ever used C++ in the first place, because it was C with more features. But it is absolutely not good enough, people only use it because C has a painful lack of features.
>>
>>109062737
>Superset of C
The only useful things that C++ brought to the table was classes and templates.
>>
skibidibadadopdop
>>
>>109063333
hurr durr teh only good thing C With Classes brought to C is Classes.. and some other things too :-DDDDDDD
>>
>>109062737
>C++ is an absolute disaster
when people start a post like this I just skip the rest of the post, already know they have nothing of value to say
>>
>>109058139
I went from 4 years industry C++ experience to working in Rust for 5 years, and then back to C++ and I must tell you what a treat it is to write software that actually works again. I gave Rust a fair shake but doing any sort of library design in it is painful, and you'll be getting memory leaks left and right from unavoidable dependencies like reqwest and tokio. I do not think it will take over C++. Sorry.
>>
stroutstrup says it himself: there is no single language for all usecases. he would be ashamed of internet users pretending otherwise. if you hate bloat, that's a different thing, but making web servers with C++ like it's 1998 it's not the answer
>>
>>109058139
I love posers so much.
>hurr durr words, reason etc.
>Java and Python? Two of the most popular languages ever? Can't include them in my post cuz it would diffuse my aura and the other kids would cortisol spike me.
>>
>>109062737
C# is pretty cool.
It's sadly stuck in a retarded sandbox for retarded purposes with retarded windows extensions.
It needs a gccsharp, and that's it
>>
>>109064307
>but making web servers with C++ like it's 1998 it's not the answer
I have no idea what this statement even means
>>
>>109058139
C++ library management is by far the worst aspect of it, but that can finally start to be fixed now that the Common Package Specification (.cps files) was finished a few months ago, and is now starting to be implemented by major all the major C++ libraries.
>>
>>109064938
surprising they didn't land on common package parcel to make the feature as confusing as possible
>>
>>109064938
>two more weeks till everyone will move to it!
>>
>>109064290
>hur dur
Truly the words of someone with a stinging satire and not some meaningless shit post that amounts to calling someone dumb.
>And someone other things
Fine the changes to casting are nice and const expression are decent, but besides that what has it really added? Also most of the stuff I listed could just be added to C and then you'd remove the need for C++. A lot of the reason to use C++ is that C macros suck.
>>
>>109065401
Any project that already uses cmake can enable it with like 1 extra line in their cmake file.
>>
>>109064300
you never even taken a class in any language.
cute larp attempt though.
>>
>>109064557
the /g/eet is excited about going to uni next year. let him be happy.
>>
>>109058139
i don't look like this, but i say this



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.