From Acrobatics to Ergonomics - A Field Report on How to Make Libraries Helpful
Meeting Cpp via YouTube
Master AI and Machine Learning: From Neural Networks to Applications
Get 20% off all career paths from fullstack to AI
Overview
Build a Learning Habit
Download Class Central's free printable study calendar
Download for Free
Learn practical strategies for designing user-friendly C++ libraries through a comprehensive conference talk that examines real-world experiences from building high-performance libraries over the past 3-4 years. Explore how C++20 features like concepts can improve template meta-programming accessibility while addressing common frustrations that developers face. Discover insights from three major library projects: EVE (a SIMD abstraction layer for performance and portability), KUMI (a reimagined tuple library with algorithmic support), and KIWAKU (a multi-dimensional array toolkit focused on efficiency and ergonomics). Master techniques for creating intuitive APIs including generating meaningful error messages through strategic use of static_assert versus concepts, avoiding complex template error stacks, and designing extension points that align with user expectations. Examine bold design decisions that challenge standard practices, including innovative approaches to CTAD (Class Template Argument Deduction) and function semantics options. Understand how proper implementation of C++20 features can significantly reduce development friction and increase code clarity for both library authors and users.
Syllabus
From acrobatics to ergonomics: a field report on how to Make libraries helpful - Joel Falcou
Taught by
Meeting Cpp