News for hackers. Stuff that matters.
Re:The computers are fast, but you don't know it by munificent on Friday June 17, 2022 @12:08PM (#31780276)
> while developers decided that writing all library code in headers is a good idea.

It wasn't developers who designed C++'s template model which requires generic code to be fully defined in header files.

Inheriting C's textual include file based "module" system and then bolting compile-time specialized generics is a choice the C++ committee made, not C++ users. It was probably the right choice given C++'s many very difficult constraints, but that's what directly leads to huge compile times, not dumb C++ users.

There are no comments on this comment yet.