2 ms·
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
by kzrdude 8y ago
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.
- pjmlp 8y agoWrong 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.
- pcwalton 8y agoDelphi 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.