2 ms·
I can't actually say what the popularity of C/C++ is. But I don't know what you do for a living but in general Hackernews tends to have webdev tunnel vision. E
by cmrdporcupine 6y ago
I can't actually say what the popularity of C/C++ is.
But I don't know what you do for a living but in general Hackernews tends to have webdev tunnel vision. Embedded, operating system development, browser development, OS, driver dev, games, telecoms, compilers, lots of IoT, systems development generally, all of this is in C/C++, and will be for the forseeable future.
That is a lot of lines of code, but mostly invisible to people whose role in the industry is "full stack development" type jobs.
- eloff 6y agoI've worked (not just played with) almost twenty languages in a career about the same length in years. I'm well aware of the things C and C++ are used for. I'm currently mostly working in Rust at that moment to make use of libraries in C++. But I think web development easily swamps that kind of work in terms of number of developers.
- jcelerier 6y ago> But I think web development easily swamps that kind of work in terms of number of developers. does it though. IBM alone, a service company, has 380000 employees. And there are tons of service companies like that - at least in my country they are mostly doing Java and the like.
- fortran77 6y agoI do most of my work in C/C++. There's a ton of it in every microwave oven, washing machine, car, telephone, device driver, etc.
- cmrdporcupine 6y agoLikewise, my day job has been C++ for the last decade. And it's not just in devices or games, or in OSs. Before I worked in hardware devices I worked in video pipeline stuff in Google Fiber. And before that, I worked on the ad serving stack at Google and another company before that. All in C++. A good portion of servers @ Google are in C++. Now, if you strictly interpret the "C" in this popularity nonsense as "C", then sure. Pure ANSI C has a fairly restrictive use environment. But "C/C++" is a much much larger ecosystem. Also get a laugh out of the people here calling C "simple". Ho boy.
- iainctduncan 6y agoMaybe I'm crazy, but recently I had to dive into ANSI C in a big way for some computer music projects (many old computer music code bases are pure C) and I'm really liking it. It's like you have a handful of really damn sharp tools and you can do amazing things with only those if you keep in mind you gotta keep your fingers clear of the blades.