Future Outlook: C++ Development Directions in 2015
Hubert Matthews
Best of C++ 98/03
Destructors: “You cannot not call them”!
“Templates are fun.” More powerful than generics, with fancier errors and longer build times. “It can work”.
What makes C++ 11/14 different?
![star](/img/c-where-are-we-headed/3IMG_0365.jpg)
Get out of the way of the compiler. Use moveable and copyable types (e.g., not raw pointers).
Optimisation hierarchy (emplace, move, copy).
“It’s a lovely little language now.”
Hello F# types, kinda. No more Mars-crashing. Cannot add kg to m, but kg + lbs is OK.
![star](/img/c-where-are-we-headed/2IMG_0366.jpg)
In the future we might even get better templates, perhaps with similar where clauses as in C# generics.
![star](/img/c-where-are-we-headed/1IMG_0367.jpg)
The future
“It’s not your granddads C++”
![star](/img/c-where-are-we-headed/0IMG_0368.jpg)