~/talk

Fil-C: memory safety with fanatical C/C++ compatibility

Talkat Rebase 2024 · 2024-10-20..10-25· [c-and-cpp]
links:none on file
slides:none on file

A garbage‑collected, capability‑based C/C++ implementation enforces zero unsafe escape hatches and runs large real projects: zsh, XZ, bzip2, mg, PCRE, ncurses, CPython needs ~50KB patch, OpenSSH and OpenSSL compile and run. Runtime sits atop musl with a user/kernel sandwich and an LLVM pass called the pissinator that inserts checks and an abstract interpreter. Monocaps use 128‑bit descriptors with per‑16‑byte type words; GC is accurate, concurrent, non‑moving. Performance is currently 1.5x slower in good cases, ~5x in worst cases.

AI-written summary · about

  1. 0:00Phil-C memory safe C
  2. 1:23Demo compiling real software
  3. 10:44Goals: safety, compatibility, speed
  4. 15:44Past memory-safe C attempts
  5. 17:53Phil-C design insights
  6. 24:55Lipy Sandwich runtime
  7. 28:12LLVM modifications for Phil-C
  8. 31:50Performance benchmarks
  9. 32:57Q&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.