[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

When will C/C++ no longer be relevant? Will people still be coding

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 97
Thread images: 11

File: c-plus-plus-shares-most-of-c.png (20KB, 488x441px) Image search: [Google]
c-plus-plus-shares-most-of-c.png
20KB, 488x441px
When will C/C++ no longer be relevant? Will people still be coding in C/C++ in 2099?
>>
File: 1491081808903.jpg (56KB, 945x482px) Image search: [Google]
1491081808903.jpg
56KB, 945x482px
>>60444930
People will not be using C++ in 2030
>>
>>60444938
why the fuck is delphi increasing
>>
>>60444938
This chart is fucked up. Look up the Stack Overflow one that is way better. JS is way more used
>>
People will always use C.
>>
>>60444930
Rust will overtake C++ in high performance applications.

But C will live until the sun dies.
>>
>>60444930
fukign dye cont
evri boi rights in HOLYC
Kys
>>
>>60445080
This
>>
>>60445080
> Rust
> high performance

I' shitting my pants laughing
>>
>>60445080
Yep c is everywhere , every embeded shit is written in c. It will take some kind of miracle to get a whole industry to switch from c.
>>
>>60444930
in 2099 90% of the market will belong to some lisp compiled to webassembly

>>60444930
because tiobe a shit
>>
>>60444938
your graph is retarded.
>>
>>60446115
>compile hello world in common lisp
>50MB
just fuck my shit up
>>
>>60445427
??? But it does perform really well.
>>
>>60445427
>Individuals with superficial knowledge of a topic or subject may be worse off than people who know absolutely nothing. As Charles Darwin observed, "ignorance more frequently begets confidence than does knowledge."[3]

https://en.wikipedia.org/wiki/Ignorance

Please, stop embarrassing yourself, you clearly know jack shit on the topic.
>>
>>60444938
>Implying Tiobe index means anything
>>
>>60444938
unironically this
in 2020 we will probably see electron based boot loaders and drivers written in javascript
>>
>>60444938
cpu/gpu prototyping and tests are done in c++, a high number of massively multi threaded applications are done in c++, I won't see it dying any time soon, atleast in the research field.
>>
>>60446225
well fuck now I'm depressed.
>>
>>60444938

>That steep decline in C programming
>>
>>60445000
Literally a chart of "how many losers won't read the basic documentation per language"
>>
>>60446333
>>60444938
>steep decline in C, C++
>nothing goes up to balance that cut taken out

where did it all go?
>>
>>60444930
Nobody will be coding in 2099
>>
>>60446379

C++ is only gradually declining according to the graph. Not as hard as PHP, for example.

But C just tanks after 2015.
>>
>>60446212
He's not that wrong if we're comparing it with C

https://benchmarksgame.alioth.debian.org/u64q/rust.html
>>
C?
The moment someone invents a compiled low-level language that's actually better in some way. Which means basically never.

C++?
Whenever the old neckbeards die off already and let in newer generations of coders with more diverse backgrounds and outlooks take up central stage.
>>
>>60446379
>where did it all go?
>go
Since the 4chan image server is down right now I'll just post my filename.
stop being mean to rene t. rob pike.png
>>
So what's a good C++ alternative for high performance applications?
>>
>>60446521

Literally nothing.
C++ haters are just brainlets.
>>
>>60444930
The C circle should be 1/100th that size and the C++ circle should have tentacles coming out and invading the circles of every other programming language.
>>
>>60446742

Hot.
>>
Never
>>
>>60446742
C is literally a better language.
>>
>>60444967
this
>>
>>60446937
I didn't realize that C++ being a gigantic mass of tentacles implied otherwise.
>>
Hello everyone how are you doing today?

My name is Brian Anderson and I am in your neighborhood discussing Rust with you and your neighbors on behalf of the Mozilla foundation. With all the horrible events (C,C++) happening in the world today, many wonder if Rust really exists or cares what happens to programming.

I have a magazine with me today that is based around this scripture and goes into detail what Rust will do to create a perfect new world that cares about equality, womens rights and people of color.
>>
>>60446958

Some people like gigantic masses of tentacles.
>>
>>60444930
>tfw my university has phased out teaching C++ for Java while I'm still there
>I was taught C++
>>
>>60444967
Nostale developers are in demand.
>>
>>60446994
When is someone (not me) going to rewrite this is Rust?!?!
>>
>>60447221

Good. Learning Java after C++ is a breeze.
>>
>>60445080

Lmao nice meme
>>
>>60446742
This is accurate and what brought me to C++ in the first place.
>>
>>60444938
By that chart I'm sure people in 2003 started screaming that Java was kill

In that chart is hard to make up which languages are in the uprise.
>tfw I secretly wish Switf targeted other platforms than the Apple ones
>>
>>60446421
>tfw C has been optimized for the last 40 years vs 7 years of Rust
The future looks rusty
>>
>>60447283
They're both C derived but honestly Java does a lot of things that I just can't intuitively accept. It took me months to not have my compiles fail because I forgot to wrap my entire code as a class. I find the syntax stupid in how over accommodating it is, its simplicity is obfuscating.
>>
>>60448777

>I find the syntax stupid in how over accommodating it is, its simplicity is obfuscating.
Huh?
>>
File: image1.png (13KB, 512x320px) Image search: [Google]
image1.png
13KB, 512x320px
>>60444930

It is crystal clear for every sane programmer that C/C++ is not going to die in the nearest future. No one is going to rewrite almost all of the existing desktop applications, operating system kernels, compilers, game and browser engines, virtual machines, databases, archivers, audio and video codecs, tons of other C-libraries, and so on and so forth, into other languages. This is a huge mass of fast, debugged, and time-proven code.

>>60445080

Rust is a meme.No language can surpass C++ ,let alone C.

Rewriting it is way, way too expensive, risky, and, honestly, doesn't seem to make sense except in the heads of the most frantic Rust fans. The demand for C/C++ programmers has always been high and will remain so for a long time to come.

Well, as you probably remember, it is far not the first attempt to create a "better" C/C++. Take the D language, for instance. It was released in 2001 and is a good language indeed. But there are no vacancies, no decent development tools, no remarkable success stories associated with it. Wikipedia tells us that there were a lot of other attempts besides D to kill C++ - for example Vala, Cyclone, Limbo, BitC. How many of you have even heard of these languages?
>>
>>60444930
C++ will be relevant for as long as C is and as nothing has replaced C in like 40 years I don't see it happening anytime soon. Rust is just the latest new kid on the block aimed at replacing C but it won't.

And as long as C is around C++ will be as well, rightly or wrongly.
>>
>>60447434
>muh years
So you're betting on something that isn't even certain, nice job moving the goalposts.
>>
File: 1490213164540.png (216KB, 1712x944px) Image search: [Google]
1490213164540.png
216KB, 1712x944px
>>60448883
Here, post the latest one, buddy. Careful with that salt tho
>>
File: 1126.gif (992KB, 389x259px) Image search: [Google]
1126.gif
992KB, 389x259px
>>60450635

nice bait
>>
File: 1462225515545.jpg (16KB, 268x265px) Image search: [Google]
1462225515545.jpg
16KB, 268x265px
>>60444938
>>60444930
>>60445080
C++ will never die. In fact, we are about to experience a second C++ renaissance (the first being C++11) with compile time reflection and modules, the shitty legacy parts from the 70s will be gone and it will become the single most powerful language ever created. Screenshot this.
>>
>>60450717
What bait? That ancient garbage you just posted was from half a decade ago.
https://benchmarksgame.alioth.debian.org/
>>
>>60450740

Negro,everyone can see the poor photoshoped pic,you forgot to remove the thing at C.Stick to playing with Rust :)
>>
>>60446225
Only golang can save us from that horror.
>>
>>60450822
Took you a while to recover from that damage, also
Picture in >>60450635 is not photosopped, ironically >>60448883 is.

Next time post updated pictures from valid sources, dumb cuck
>>
File: 1492955742736.jpg (52KB, 395x374px) Image search: [Google]
1492955742736.jpg
52KB, 395x374px
>>60450872

Nice bait benchmark made by butthurt rust "programmers"

reality about that study::
https://www.quora.com/What-is-the-present-state-of-Rust-Is-it-now-faster-than-C++
>>
>>60450957
>Nice bait benchmark made by butthurt rust "programmers"
Funny how you are the one posted this first. Now that your low energy weak propaganda has been demolished and debunked you are posting some "bait article made by butthurt C++ "programmers"".

Are you upset that you lost your own game?
>>
>>60451017

No, but its the reality.In real applications, even .NET destroys Rust.Rust will never be able to reach C++ , simply because its higher level.The only thing dragging C++ down is the huge bloat, but its getting fixed.
>>
>>60451069
>simply because its higher level.
In what way Rust is "higher level" than C++ itself? Are you actually one of those complete retards that think C++17 is making C++ lower level with unicorn tears libraries?
>>
>>60451148

Did you even take a look at Rust shit memory management?Kek.Every language that "guarantess to be memory safe" is garbage.

A real benchmark
https://github.com/c-cube/hashset_benchs
>>
>>60451382
What's so "unreal" about a benchmark that disqualifies your personal opinions? Also, try posting multiple benchmarks (combination of at least 5 different tests) instead of a single cherry picked one.

Fuck off, you suck at debates.
>>
>>60444930
The C++ hate on /g/ is fucking laughable. None of the kids on this site know what they're talking about.
>>
>>60451430

I can't find anymore benchmarks because no one give's a rat's ass about Rust.
>>
>>60444938
>Webdev gets flooded with pajeets and millenials
>suddenly the number of people using c relative to the total declines dramatically
>>
File: 1487463346465.png (100KB, 1244x1024px) Image search: [Google]
1487463346465.png
100KB, 1244x1024px
>>60451456
>C++
>>
>>60444938
>everyone just stopped using C in 2015 for no reason and it plummeted to nothing over the course of a year
I don't think this graph is accurate
>>
>>60451520

>C++ is worse than Rust because I am less intelligent and have no ideea how to code

I won't judge,this is why languages like C#,Java,Rust were invented afterall.
>>
>>60451564
Language monopoly does not exist anymore (except for Java).

Just to trigger you:
2015 is the year when electron and Rust started getting momentum
>>
>>60451588
>no ideea how to code
First year in programming? Are you being purposefully blind to see the template system is currently broken or what?

The issues mentioned in that picture is apparently getting fixed in C++20. Where does your argument stand now?
>>
>>60451520

>C++ is bad because I can't check null pointers
loling every time this image pops up
>>
>>60451640
No idiot, the compiler is bad at checking null pointers.
>>
>>60451620

there was no issue, just dummies who can't think.So what are you saying is that with C++20 they will bloat the language even more.Kek, they will end up bloating C++ even more, with the coming of millenian programmers.

>>60451640

this.
>>
>>60451660
Are you that high schooler that I just told to fuck off a few posts back because you suck at debate?
>>
>>60444930
C is arguably one of the most useful languages next to Lisp insofar as being close to the machine internals and being able to manipulate the framework behind the machine itself. That said, Python is more "useful" when you factor in development time.
>>
File: O7bCDTfc_400x400.jpg (14KB, 200x200px) Image search: [Google]
O7bCDTfc_400x400.jpg
14KB, 200x200px
>>60451679

>Rust llvm is implemented in C++
>>
>>60451741
Who are you quoting?
>>
>>60447221
when I entered it was already java. Only old artifacts were in C++
>>
>>60451741
LLVM IR*
>>
>>60444930
It's getting the needed language upgrades over time, so I think it might still be a thing in 2099.

But maybe it'll be a smaller language. Seems like we're slowly approaching a state of affairs where increasingly pure FP is desireable and feasible.

>>60444967
Because it's still an actually pretty good option for Windows code.
>>
>>60444930
We will have hit the singularity and be enslaved by the machines by 2099.
>>
>>60451778

How does FP look in C++ nowadays?
>>
File: 1340356233210.jpg (77KB, 490x358px) Image search: [Google]
1340356233210.jpg
77KB, 490x358px
>>60444930
Probably. C++ is the only language I can think of that has made such an about-face. It went from a god-awful mess of broken abstraction layers where you spent all your time debugging pointer arithmetic errors in addition to class hierarchy errors to a language that can actually span multiple layers of abstraction where you can dip into dealing with memory, pointers, references, etc. when optimizing but otherwise use the higher-level parts of the language via the algorithms library to get things done quickly. Given the difference between C++98 and C++11, I wouldn't be surprised if it actually became MORE popular instead of less as C++20 and further start rolling around in time.
>>
>>60446421
You should be comparing it to C++ dingus
>>
>>60451520
>shoots himself in the foot with basic shit
>"lol c++ is fucking shit"

rust babbies should just get the fuck out and die
>>
>>60451842
>this salty
Sepples tards insecure as always
>>
>>60451814
Last time I used was c++ was around 2001, have you got a good resource on modern c++?
>>
>>60451791
Not terribly extensive. But I don't know exactly how far you could take it with libs and tricks - I actually don't program very much in C++ myself.

However, it's very clear that were important to other FP languages have definitely been making their way into the C++ standard.

Like all the many C++14 features are related to lambdas and working more easily with types:
https://en.wikipedia.org/wiki/C%2B%2B14
>>
>>60451658
You tell the damn thing to move the unique pointer, it does what you tell it to do. It explicitly tells you to not dereference the pointer after doing that.
>>
>>60451875
http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list/388282#388282
You could try Stroustrup's A Tour of C++ which is written for C++11 and assumes you already know programming or C++.
>>
>>60444930
Some things are still done in COBOL or ASM. So, what do you think.
>>
>>60446379
Java.
>>
>>60451842
>point out obviously retarded language semantics fixed by modern languages
>"pssh nothin personnel kid, too hardcore for you i guess"

why are C-tards here always such tryhards?
>>
>>60451456
>technology board on a senegalese daguerrotype BBS
>majority of posters are NEETs who write 20 variants of fizzbuzz in C and compile with -O3 -funroll-loops
>this somehow makes them an expert at C or C++

What did you expect?
>>
>>60453350

some of the biggest banks in Europe still run on COBOL
>>
File: 1456450802536.gif (94KB, 514x510px) Image search: [Google]
1456450802536.gif
94KB, 514x510px
>>60453630
I work for a company that develops COBOL and DB2 alternatives for the IBM Mainframe platform and all of their shit is legacy System 370 assembly code from ranging from the 1970s to last week.
Thread posts: 97
Thread images: 11


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.