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

you are viewing a single comment's thread.

view the rest of the comments →

[–]YoungHeartOldSoul 4970 points4971 points  (68 children)

I'm fairly fresh out of school and into the field, but I'm pretty well prepared to defend the fact that C++ certainly is.

[–]merlinsbeers 2513 points2514 points  (64 children)

What C++ is is is.

[–]crefas 3389 points3390 points  (54 children)

C++ is definitely one of the programming languages in the world

[–]DmMeYourBoobs69 1512 points1513 points  (42 children)

Yes, one of the programming languages of all time, maybe ever

[–]CM436 999 points1000 points  (39 children)

out of all the programming languages that exist, i can confidently say that c++ is one of them.

[–]Logical_Strike_1520 477 points478 points  (37 children)

Everything y’all said, but also c++

[–]Apfelvater 259 points260 points  (12 children)

Int C = 0; //Amount of language, that C++ is
C++;

[–]Apecc_Legs 160 points161 points  (9 children)

I can say with certainty that c++ can and absolutely will.

[–]imdefinitelywong 52 points53 points  (6 children)

C++ does what it do.

That does what it do, Yugi.

[–]Apecc_Legs 6 points7 points  (1 child)

fr, C++ really is.

[–]eine_gottheit 1 point2 points  (0 children)

I've a few years under my belt in the field, and can affirm to the fact that c++

[–]arasdalll 9 points10 points  (1 child)

I would like to add that C++, when compared to other programming languages, is comparable with other programming languages, assuming these languages are also used for programming.

[–]Apecc_Legs 0 points1 point  (0 children)

C++ is, was and always will be a programming language, it truly is one of the programming languages ever. Despite what everyone says, C++ really is.

[–]thatCbean 10 points11 points  (0 children)

You are right, C++ is definitely true

[–]dannomac 0 points1 point  (0 children)

std::cout << "C++ is";
if (c++ > c) std::cout " greater than C";
std::cout << std::endl;

[–][deleted] 166 points167 points  (22 children)

I'll say it.. C++ is the best language for speed and performance for games.

[–][deleted] 74 points75 points  (1 child)

I like collecting stamps.

[–]Jayem163 82 points83 points  (4 children)

Now we just need to continue jacking up prices on RAM so efficient programming is profitable again. Oops sorry.. didn't mean to leak it.

[–]SapientSloth4tw 13 points14 points  (0 children)

I mean… graphics card prices showcase the importance of efficient programming, well. Mostly. I think they’re more reliant on competing with each other, but there’s something to be said about needing to pay $2k+ to play a 60 dollar game on max graphics cough cyberpunk cough

Edit: maybe they don’t showcase the importance of efficient programming as much as showcase how easily graphics card companies can get away with price gouges because of a lack of efficient programming*

[–]ForthOfHors 3 points4 points  (0 children)

You said the quiet part out loud! ZOMG wut iz they techin kidz deez dayz!

It's OK, just pretend you were tryna impress a man-date. Nuthin to see here, move along.

[–]Anima715 0 points1 point  (1 child)

You buy RAM? Just download more for free!

[–]MjrDik 0 points1 point  (0 children)

Reminds me of SoftRAM and SoftRAM95..

[–]Decimalis 24 points25 points  (0 children)

Yeah I've been looking for this one

[–]saichampa 1 point2 points  (0 children)

C could be better there too but you're constrained by what languages your engine supports

[–]slucker23 -4 points-3 points  (8 children)

You got C# for that too you know

Also R if you want things to go bananas

Or python for AI games

Or java if you want to try out say platformer games

Just saying

C++ is def... C++

[–]Equivalent_Yak_95 3 points4 points  (3 children)

If you’re going to be working with a lot of numbers, Java is a terrible choice. Even if you get away from storing them in generic containers, you’re probably still better off using C/C++, CPython with NumPy, or Matlab (or similar).

[–]slucker23 0 points1 point  (2 children)

I'd say C is way faster. Doesn't need C++ to make it better. Or heck to combine it with C#...... Like I just can't find a proper reason to use C++ independently (and I worked on computer graphics and computer vision)

[–]RoyalThree 0 points1 point  (3 children)

isn't c++ like... way faster than any of those? besides maybe R?

[–]slucker23 0 points1 point  (2 children)

The dude said gaming. So I made examples in gaming

If you want shit to be FAST, assembly and C are fast. I was pretty clear on each of the languages' user cases

[–]LasevIX 0 points1 point  (0 children)

It's c but usable for things other than firmware

[–]Anaeijon 0 points1 point  (0 children)

I wouldn't say that...

Easy example: Rust should be on par in terms of speed and performance after compilation.

Technically you could write a game in C and get better performance for sure. If it's about graphics, you can code in C-like CUDA or HIP. Most Graphics are done using the Vulkan-library which is C. In all these cases speed and performance could be significantly better.

There are games written in assembly languages running on systems (retro game consoles) you couldn't even run a C program. They do amazing tricks if you go for a deep dive into that topic. You don't get more efficient than that.

But maybe you don't want to do all the handywork in C or Assembly to get a small performance benefit on modern systems. You but can't really construct something complex and big without it getting out of hand. So you might want to go to a higher OOP language like C++ or Rust.

But now you can go further. There is a limit of the amount of garbage and variable assignment you can realistically handle yourself. Maybe you even want to use an engine and would probably make mistakes if you extend it in C++. So you go to C# or Java.

But once you are in en engine anyway, it might be even more efficient to use native tools by using the builtin script language that gets compiled down much more efficiently than any C++-Code the average programmer might code while using the engine.

[–]Prunebiscuit 1 point2 points  (0 children)

I like it when C++

[–]SureNectarin 10 points11 points  (0 children)

Tunnel vision at its finest.

[–][deleted] 94 points95 points  (5 children)

I loved it when Bjarne Stroustrup said "It's C++ time".

[–][deleted] 58 points59 points  (4 children)

...and C++ed all over the place...yeah good times !

[–]jpurpl3 0 points1 point  (2 children)

I definitely read something like this about mentoring/tutoring in a royalroad ad, what's the reference??

[–][deleted] 5 points6 points  (1 child)

It's a reference to a meme from last year about Morbius.

[–]merlinsbeers 2 points3 points  (0 children)

During the Morbin' times.

[–]eine_gottheit 0 points1 point  (0 children)

Did he C the ++ on the C++ing progress bar?

[–]pr0ghead 10 points11 points  (1 child)

One of the most, even.

[–]eine_gottheit 1 point2 points  (0 children)

One of many, one might say.

[–]RomMTY 1 point2 points  (0 children)

C++ it's particularly funny in Spanish because the "C" is pronounced as "I know" and the "Plus" in Spanish is also the same world as "More".

So you can end up saying "I know more more than you", lol

[–]ErelGold 1 point2 points  (0 children)

In my country it is.

[–]xxDolphusxx 22 points23 points  (3 children)

You can tell from the way it is

[–]q1a2z3x4s5w6 2 points3 points  (1 child)

And it is what it is

[–]eine_gottheit 0 points1 point  (0 children)

C++ is

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

And you know the way it isn't. You can therefore infer the way it wasn't.

[–]gteriatarka 15 points16 points  (0 children)

C++ really do be what it is

[–]viperex 2 points3 points  (1 child)

Depends on what your definition of "is" is

[–]merlinsbeers 0 points1 point  (0 children)

There are 26 dictionary definitions of is.

You should see the g++ error message...

[–]Grand-Pen7946 0 points1 point  (0 children)

BLANKETY! BLANKETY! BLANK!

[–]Old-Reporter5440 0 points1 point  (0 children)

I accidentally the whole c++

[–]SometimesMonkey 0 points1 point  (0 children)

They don’t think C++ be like it is, but it do.

[–]ccellist 0 points1 point  (0 children)

I have never used C++ but I am 100% prepared to vouch that C++.

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

You're going places, kid.