303 karma · joined July 19, 2013
* Graphics
* Infrastructure (web servers and browsers, OS's, drivers, etc)
* Any desktop apps that are CPU/memory intensive. think image processing, video editing, even office applications
* Finance
* Games
* AI. GPUs are becoming more popular for training machine learning models, and C and C++ are pretty much dominating this space with OpenCL, CUDA, etc.
You mentioned in previous comments that browsers and stuff don't really count because you're not going to be implementing a browser that competes with the big four. But people have to work on maintaining those browsers. Same with MS office, Photoshop, etc.
The world pretty much runs on C and C++. From the steering column in your car to the computational fluid dynamics models that predict hurricanes and save lives, to the telephone switches that route your cell phone calls. Until pretty much every important piece of digital technology, small or large, switches over to a new language, there will be a need for C and C++ developers.
void f() {
int x;
scanf("%d", &x); // read from user
int numbers[x]; // dynamic
}
is legal C, but not C++.Also, the C "restrict" keyword doesn't exist in C++ either. Add in C's looser typing rules regarding conversions, and C and C++ are basically sibling languages at this point. Their common ancestor language being K&R-era C.
C++ gives you the same level of control over your program that C does, but also comes with nice low-cost (in many cases zero-cost) abstractions for when you need them.
EDIT: In particular, the clang tidy linter has a way of checking your code against the C++ core guidelines [2], which is a set of modern best practices for the language.
template <typename Func> using function_ptr = add_pointer_t<Func>;
and now declarations are a bit more sane: void foo(function_ptr<void (int)> callback);I've been clean and sober since Zendikar. It's tough, but every day it gets a little easier. :-)
With regards to the technology, I'm not sure if there's much more room for improving EEG itself, it seems like a solved problem (how do we measure electro-dermal (or brain) activity). However I'm not a neuroscientist, so I may be off base. Where I do see room for improvement is in systems that can automatically make sense of the signals we're reading. This requires gaining a better understanding of the brain, though.
I never got to the point of having a bot fetch web pages for me, but I can see it as an extension of what I had set up. For someone who travels as much as Stallman, I think it's a very efficient way to browse and email when internet connections are either spotty or not to be trusted.
GCC supported C++0x features back when they thought the standard would be released before 2010. Hence the 0x, not 1x. I remember using the `-std=c++0x` flag back in 2008, when I first took a course on C++, which is a few years before VS2010.