~/talk

How Microsoft Uses C++ to Deliver Office - Huge Size, Small Components

Talkat CppCon 2022 · 2022-09-11..09-16· [rust]
links:none on file
slides:none on file

Office contains about 100M lines of native C++ inside a ~350M LOC repo and a ~50 TB release archive, and building every platform/arch/config requires 2 million compiler invocations. Engineering uses layered static libraries called liblets with enforced public headers, clang-based tooling that auto-validates dependencies by inspecting object files, and autogenerated mocks so components are unit tested. Migration work targets header units: 90 header units created, three low-level mso20 DLLs built, 40 header units consumed so far; work is ongoing.

AI-written summary · about

  1. 0:00Microsoft Office C++ architecture
  2. 8:29Huge code base value
  3. 21:20Trade-offs of large code bases
  4. 21:46Liblets reduce code complexity
  5. 30:47Liblet design philosophy
  6. 48:48Liblet initiative success
  7. 50:33Header units for faster builds
  8. 57:39Q&A
~/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.