~/talk

Libc++ on Linux - using the example of Oniro

Talkat FOSDEM 2022 · on Saturday, 2022-02-05· at 15:35· D.llvm· [c-and-cpp, embedded-and-hardware]
slides:none on file

Oniro flips the default STL from libstdc++ to libc++ and builds with clang 14 and bitbake, enabling full LTO across the OS. The build boots immediately, performance is roughly equal with some containers faster (vector/list) and some slower (deque/string), and final binaries are consistently smaller. Qt/KDE Plasma compiles unchanged against libc++. Remaining work: catch up on a few C++20 features, offer size-vs-speed configured builds, a GCC-compatible libc++ shim, and a tiny libc++ subset for Zephyr-style MCUs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Why not Libc
  3. 2:45What is Oniro
  4. 3:25Why use Libc
  5. 4:22LTO
  6. 5:54Bitbake
  7. 7:13Performance
  8. 8:05Crossplatform
  9. 9:07Wishlist
  10. 11:11Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.