Implementing C++ Standard Library: Design and Optimisations in Libc++

Hui Xie

⏱ 60 minute session
intermediate
advanced
16:00-17:00, Thursday, 18th June 2026

This presentation covers various practical examples in the designs and optimisations in libc++, a standard library implementation. It presents various examples of using compact type, reusing tail padding bytes, reusing unused bits in existing bytes. It also presents some optimisations in algorithms and containers.


🏷 libc++

Hui Xie

Hui is a software developer at a hedge fund Qube Reseach & Technologies. He is an active contributor and code reviewer of libc++, a Standard Library implementation as part of LLVM project and shipped with clang. He regularly goes to WG21 SG9 (Ranges study group) meetings and sometimes write C++ proposals. He is also a member of BSI, the UK national body of WG21.