Live data from Hacker News

Ask HN: Job prospects for pure C and C++ programmers?

news.ycombinator.com

1–10 of 42 posts

Ask HN: Job prospects for pure C and C++ programmers?

#1
I am looking long-term - 15 years at least and I want to know from the HN folks, what prospects do I have as a C and C++ programmer with a good grasp of algorithms.

What other fields should I pick up along the way? And, do I need to have significant knowledge of AI/ML/Cloud-computing/Data-Science, etc. to sustain myself in the long-run (long-run being defined as 15 years)

Re: Ask HN: Job prospects for pure C and C++ programmers?

#3
I wouldn’t build my career around a programming language. Languages are one of the least important factors in a programming career.

That said, if I had to choose a couple of languages for the rest of my career I would choose C, C++, and SQL. All of those have enjoyed huge success since they were introduced, with mountains of legacy code and plenty of new development.

Once you master C and C++ a lot of similar languages should be very easy to learn: Java, C#, Python, Go, Ruby, PHP, Swift... they are all more alike than not.

As a hiring manager I would not be very interested in someone who only worked in one or two languages, or only had language expertise to offer. A candidate stuck with two languages for years would send the wrong message for sure.

To build and sustain a long career you need to solve problems and add value. You need to get along with people and contribute positively to a team. You need to learn business domains, not just languages and tools. You need to be the person who says “I can figure it out,” not the person who says “Leave me alone, I only want to write C++ code.”

Re: Ask HN: Job prospects for pure C and C++ programmers?

#4
I used to be a typical C++ programmer but lately I have mostly been using C/C++ with other languages.

- C as a workaround for a Docker problem.

- C++ with C# in Unity.

- C++ in Android with Kotlin

As you hinted in the question, it is good to combine C++ with other skills.

If you want to stay purely in C++, then the automotive and aeronautical industries are heavy C++ users.

But as @gregjor says its best not to stick to one language. To add to that, I would recommend not to define yourself by the language you program in and instead be prepared to stay flexible and keep learning.

Re: Ask HN: Job prospects for pure C and C++ programmers?

#5
There are lots of jobs in systems software that almost all C and C++ with some scripting languages. I think in this field the most important things to understand are operating systems, Linux pthreads / syncronization, some hardware fundamentals so it memory coherence and fences make more sense.

Re: Ask HN: Job prospects for pure C and C++ programmers?

#6
I agree with gregjor, and I’ll just add that I recommend checking out these (highly entertaining) videos by Alex Stepanov, creator of the C++ STL: https://www.youtube.com/playlist?list=PLHxtyCq_WDLXFAEA-lYoR...

In the first few lectures he lays out what he thinks it takes to be a great programmer. I’m pretty confident that there will be a job market for great programmers for at least the next 15 years.

Re: Ask HN: Job prospects for pure C and C++ programmers?

#7
I've found in every job I've had the best results were from being good at mixing c++ code with other stuff. I know how to work with a lot of languages, but am not really an expert in any of them except C/cpp. Some examples: ios/android apps (objC/java) but the visualization part is cpp. Huge rendering pipelines in Python, with specialized converters and renderers in cpp. Large complicated web thing but it needs to encode video fast, so that part is in a standalone cpp tool. At least half of the job is getting good at knowing what parts to write in cpp and what to write in something else.

Re: Ask HN: Job prospects for pure C and C++ programmers?

#8
I run a low-level programming conference [0] with professionals who rely on C and C++ day-to-day or just low-level stuff in general.

While this is a plug, I genuinely believe joining the event and talking to them would help you. The networking / hallway effect, even virtually, shouldn't be underestimated either.

Good luck -- there's definitely lots of system software people needed, as someone else here pointed out.

[0] https://www.handmade-seattle.com

Re: Ask HN: Job prospects for pure C and C++ programmers?

#9
My experience with our C/C++ devs: they do a wide variety of software. From old Windows programs, Embedded firmware with or without operating system, drivers, or extensive Linux based UI programming.

They are hard to replace, are tough problem solvers and deliver code in our toughest environments.

I think all this data/ai focus is nice, but I think hardware is the real deal breaker. Have an eye on Rust in all the regards.

Re: Ask HN: Job prospects for pure C and C++ programmers?

#10
Depends on your goals to start with.

Regardless of what I think about C, it is undoubtly the king of UNIX/POSIX platforms and embedded development. So that might be an area you feel at home with.

Although C++ has lost the full stack role it once enjoyed with the 90's OS stacks, it is the current king of GPGPU programming (CUDA, Metal Shaders, SYCL and HLSL), HFT, what game engines use at their core.

Finally as many are pointing out, don't silo yourself with one language, most of use many languages at once.

For example using C++ alongside either Java or .NET is quite common.

Post reply on HN