3 ms·
> no longer a general applications language but rather a niche language If by "niche" you mean "anywhere code has to run fast or in a small space." C++ is dis
by kingkongrevenge 17y ago
> no longer a general applications language but rather a niche language
If by "niche" you mean "anywhere code has to run fast or in a small space." C++ is displacing C in embedded applications. The JIT compilers in Java and MS CLR are in C++. C++ is only growing for use in simulations, which remains a rapidly growing field.
C++ remains a good choice for GUI development, which is hardly niche.
- scott_s 17y agoI think it's fair to call that a "niche." C++ is a systems programming language with rich support for data abstraction, object-oriented and generic programming. Most applications don't require the kind of control over resources and the level of abstractions that C++ has. This is progress - it used to be that the majority of programs had to consider processor and memory utilization as a primary concern. The examples you gave are excellent examples of where it makes sense to use C++, but that's not what the majority of programming is now.
- wheels 17y agoI think it really depends which lens you're looking through and which communities you're a part of. C++ is still one of the most popular languages around: http://langpop.com/ http://langpop.com/ It's naturally de-emphasized in the web world, but there's still a huge amount of C++ being written. Most desktop and a large percentage of systems, mobile, scientific and embedded code is written C++. There's just relatively little cross-pollination between those worlds and the web world.