News for hackers. Stuff that matters.
Re:“Modern” C++ Lamentations by kzrdude on Saturday December 29, 2018 @08:28AM (#18783469)
Binary libraries don't help so much -- many libraries use generic types and functions (those are instantiated and compiled for each specific instance) which can only be delivered as library "metadata", not codegen'ed, and the latter is the very slow part.
Re:“Modern” C++ Lamentations by pjmlp on Saturday December 29, 2018 @09:06AM (#18783587)
Wrong since C++11 introduced external templates for common instatiation types.

Additionally, it is not like every C++ library is full of meta-programming templates.

Finally, there are other languages with library "metadata" and generic data types, which can easily beat Rust compile times like Delphi, Eiffel and Ada.

Re:“Modern” C++ Lamentations by pcwalton on Monday December 31, 2018 @06:55PM (#18797930)
Delphi and Eiffel compilers don't do anywhere near the same level of optimization as LLVM does.

And are you sure GCC's Ada has better compile times? My sense is that so few people use Ada at scale that we don't really know.