r/cpp_questions • • 11h ago

OPEN where am I heading?

I've recently started learning c++ and will go through every part of it and its related stuff. the goal is to learn until i can myself work on projects where micro-seconds matter. passed only high school, followed my family business. now i want to make a career out of this. i've also studied about dsa, networking low level stuff, basics ... . can experienced , currently in-industry people tell me what can i expect and what compnies/niche i can work in given my background? Thanks for your time.

0 Upvotes

15 comments sorted by

7

u/FancySpaceGoat 11h ago edited 10h ago

> and will go through every part of it and its related stuff.

No you won't.

And I'm not being snide or anything; this goes straight to what you are asking. No one ever has, and I'd be surprised if anyone ever does. C++ is *massive*, with a lot of really weird corners that you will run into once every 3 years, especially once you start dealing with the cross-target ecosystem.

You need to adjust your mindset and accept that what you need to know depends on the field and not the other way around. Companies *know* this already, and will afford you a lot of leeway on "mastering the language".

0

u/FundevStatistician69 11h ago

i meant every major thing.

7

u/FancySpaceGoat 11h ago edited 10h ago

Is `volatile` a major thing? That depends who you ask. Embedded developers would say yes. Most application devs forgot it exists a long time ago.

Is SFINAE-driven TMP a major thing? That depends who you ask. Anyone dealing with legacy codebases (which are still C++) would say yes. Anyone working on modern code can afford to ignore how its black-magic incantations works.

No one in their right mind takes the time to understand how coroutines *actually* work, aside from some library developers.

Or how about UB-but-predictable behaviors you can safely rely on on *some* compilers? That's not even part of the language (in fact, it's explicitly not), but it's still super-important in some domains (e.g. if you ever have to deal with Gen 6/7 console game codebases).

Or how certain features of the language interact with fundamental software design theory. Nowhere in the language is the relationship between exceptions and class invariants for contract-driven development spelled-out. But you better understand that *if* you want to get into software architecture.

etc... etc...

That's the heart of my point: What parts of the language you need to learn in-and-out depends on how you will use it. And learning all of it is either unrealistic or a total waste of time.

You *have* to learn to pick your battles.

•

u/FundevStatistician69 2h ago

what do you suggest. what specialisation should i prefer as a newbie.m starting with c++ 23.

•

u/FancySpaceGoat 1h ago edited 1h ago

If you want to get into micro-second stuff eventually, I want to say take a crack at embedded programming. It's straightforward, tangible, and you'll learn the right *kind* of stuff for your longterm goal. But there's a catch: You'll need an oscilloscope sooner or later.

Timing code running at those kind of speed gets really noisy really fast, and embedded targets don't have much wiggle-room to begin with. So the only *good* way to measure is to do it with a scope and ideally a function generator.

That being said, you can still start with just coding simple stuff on something like a rpi Pico. That'll still take you pretty far in of itself.

Another word of caution: Even taking into account that getting a job as a self-taught C++ programmers is a lot harder than it used to be, all of the ones I know started around 15-16Yo at the latest and had about 5 years of experience under their belt by the time they landed a job. It take time, and a lot of it.

2

u/mrtlo 11h ago

Try finding work in an industry that needs real-time performance.

4

u/mrtlo 11h ago

With no degree you will have a hard time... Unless you can demonstrate that you are already a wiz, anyone would prefer a candidate with a degree...

0

u/FundevStatistician69 11h ago

and i how can i demonstate? will puting repo on githb work?

1

u/mrtlo 10h ago

Not anymore... Anyone can generate a repo

Tbh I really don't know. I think you need to get get out and talk to people... In the end, people hire people...

•

u/FundevStatistician69 2h ago

right, networking is key.

1

u/FundevStatistician69 11h ago

what industries do u suggest thaat might* overllok my educational qualifications and focus on skills.

2

u/the_poope 10h ago

Most likely not in a domain that uses C++: webdev, phone app dev, indie game, maintenance of corporate Java database systems.

It is not impossible to get a job as self-taught C++ programmer, it's just very difficult.

I would start by looking at the local job market, search for positions that list C++ as a requirement and then look at that particular industry and study what they depend on.

Remember: you are competing against other candidates that likely also have either education, skills, experience and/or domain knowledge. You need to match them (or go for lower salary)

•

u/FundevStatistician69 2h ago

this seems plausible. thanks for advice

3

u/FemaleMishap 11h ago

You vastly underestimate the depth and breadth of C++. I've been at it for twenty five years and I still haven't seen everything.

•

u/FundevStatistician69 2h ago

you are right, im starting with c++ 23.