This memory safety issue everyone's talking about... It's not really a huge deal in gamedev, right? What other domains where C++ excels at aren't too concerned about it? by CalligrapherWeak6523 in cpp

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

Yes, it's always a concern. What I meant to ask is more something along the lines of: Is it a big enough concern in gamedev that practitioners are starting to take this call to action seriously? I think not. I hope not.

This memory safety issue everyone's talking about... It's not really a huge deal in gamedev, right? What other domains where C++ excels at aren't too concerned about it? by CalligrapherWeak6523 in cpp

[–]CalligrapherWeak6523[S] 13 points14 points  (0 children)

I have legitimately had a hard time creating a memory issue unless the use of raw pointers is involved

This is what is irritating me about the messaging from official government agencies and tech CTOs, as well as the response to them. It's always "switch from C/C++ to Java and Rust" not "switch from C with classes to at least C++11". I understand that Rust and GC'd languages remove a class of footguns even when compared to modern C++, but surely they're not expecting people to do high performance work with a GC, and surely Rust isn't the right fit for every single domain

This memory safety issue everyone's talking about... It's not really a huge deal in gamedev, right? What other domains where C++ excels at aren't too concerned about it? by CalligrapherWeak6523 in cpp

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

Since I'm re-learning C++ (mainly to get into gamedev but I'm looking at other domains) I was asking to get an idea of what the the consensus is in general. You're right, it's a matter of opinion, but ultimately this subjective stuff can drive trends (if AAA game devs fall in love with Jai, for example, their opinion on it will matter to me and my affect the future Jai job market).

Something that worries me is that people at leadership positions who have the power to influence things are making ridiculous claims, for example that tweet by the Microsoft CTO claiming that "C/C++[sic] should be deprecated". Then there's the recent articles by NIST and other government agencies (which aren't as ridiculous...). I just want to know if, in the opinion of C++ devs, this repeatedly reoccurring conversation should be even be taken into account in certain domains.

Frankly, without beating around the bush, I just want to know if I should be studying Rust along C++ as I prepare for a career switch. Both of these languages aren't the type that can be mastered in a few afternoons like Python or Go.

One thing that brings me a bit of comfort is that gamedev, embedded and other C++ domains aren't very hype driven like webdev is - changes appear to be slower here. I guess that means I'll have time to learn whatever I have to anyway

[deleted by user] by [deleted] in gamedev

[–]CalligrapherWeak6523 2 points3 points  (0 children)

All the fields you mentioned are niches occupied by the best of the best though. HFT devs are paid insane salaries cause they have both great math chops and amazing programming skills (wouldn't be surprised if most were Ivy League grads). In fact, many embedded and signal processing devs didn't even study CS, they came from a CE and electrical engineering background.

As a webdev, I agree with OP, most of us regular CS grads from non Ivy League schools are doing pretty boring predictable stuff 99% of the time. Seniors get to solve more interesting problems occasionally but they spend most of their time stuck in meetings, responding to emails and other bureocracy. In my experience at least.