Runar Ovesen Hjerpbakk

Software Philosopher

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

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

In the future we might even get better templates, perhaps with similar where clauses as in C# generics.

star

The future

“It’s not your granddads C++”

star