llama.cpp is general purpose in the sense that it supports many different model architectures. ds4 is laser focused on deepseek v4 flash, thus having a leaner codebase
Klaus argues that while it is very easy to write unsafe C++ due to language defaults, modern tools and language features, such as
- ranges over loops,
- strong types with concepts over primitives, and
- value semantics over references
provide a safe abstraction over a fast core. He also urges people to use constexpr wherever possible and write consteval tests to catch undefined behaviour at compile-time.
In his opinion, the "People problem" of C++ is that developers are not disciplined enough, or simply don't know any better, as even most books about C++ don't keep up with recent developments and cultural shifts.