From acrobatics to ergonomics: a field report on how to Make libraries helpful
summary
Three to four years of building and rewriting produces concrete tactics: three libraries — EVE, KUMI, KIWAKU — implement SIMD abstractions, tuple algorithms and n‑D storage and actually work in production. The team replaces 55 overloads for a single add with callable objects, uses concepts and if constexpr to dispatch implementations, introduces an ignore type and static_asserts to shrink error stacks, and halves a sample compile from ~8.5s to ~4.3s. The claim: ergonomics come from specific dispatch and type strategies, not from restating the topic.
AI-written summary · about
chapters (9)
- 0:00Library ergonomics in C++
- 6:50Intuitive and non-disruptive APIs
- 13:49Introducing Eve SIMD wrapper
- 21:38Callable objects and compile-time dispatch
- 32:00Error reporting and compile-time efficiency
- 42:57Concepts and static asserts
- 44:46Storage library ergonomics
- 57:37Generic library design principles
- 1:00:02Q&A
related talks
01h 17mDevelopment strategies: You've written a library - now what?
58mMaking Libraries Consumable for Non-C++ Developers
01h 01mProgram Obesity: A Code Health Epidemic
40mLessons from two decades of writing bad code
01h 00m“Practical Performance Practices"
01h 19mNavigating the development and evolution of a library
01h 02mEveryday Efficiency: In-Place Construction (Back to Basics?)
46mThe future of development: Are our jobs getting harder or easier?
