Re:CppCon 2018: Simplicity: Not Just For Beginners [video]
by polskibus on Friday September 28, 2018 @12:51PM
(#18094856)
Zero-cost abstraction. In most cases constructs in other languages either lack expressiveness (generics in C#) and/or induce runtime costs (boxing/unboxing, etc.).
[ Parent
| on HN ]
Re:CppCon 2018: Simplicity: Not Just For Beginners [video]
by krylon on Friday September 28, 2018 @08:49PM
(#18098106)
In many (most?) cases, you do not need the performance (which is why people use C#, Java, etc.).
When the performance is needed, the burden of using C++ seems like a small price to pay[0], but a lot of the time, the expressiveness offered by C# or Java, etc. is entirely sufficient. Which is why "enterprisey" software is dominated by Java or .Net, and why certain software like Autodesk Inventor 3D is written in C++.
[0] Which is why browser engines, etc., are written in C++. Maybe one day Rust will replace C++, but for the time being, C++ is the top of the abstraction/performance pyramid.