~/talk

Virgil as a Systems Programming Language

Talkat VMIL 2022 · on Monday, 2022-12-05· [compilers-and-language-design]
links:none on file
slides:none on file

Virgil is a self-hosted systems language that compiles to ELF/Mach-O/JAR/WASM directly, implements its own assembler and runtime, and uses stack maps to enable a precise GC; the compiler is ~46K LOC, the simple runtime ~3K LOC, and the compiler compiles itself in ~0.3s. Unsafe work is confined to a pointer unsafe type on native targets for kernel calls and stack walking. The Wizard WebAssembly engine is written entirely in Virgil (no C), proves extensible guest object shapes, and shows a naive ADT-based interpreter is ~100× slower than the hand‑written assembly baseline.

AI-written summary · about

  1. 0:00Virgil introduction
  2. 4:34Virgil language history
  3. 7:06Native systems requirement
  4. 8:52Memory safety in Virgil
  5. 15:54Algebraic data types in Virgil
  6. 19:25Self-hosting runtime
  7. 26:07Kernel interaction
  8. 29:56Garbage collection
  9. 33:08High-performance systems
  10. 37:17WebAssembly interpreter
  11. 45:18Dynamic code generation
  12. 51:00Extending garbage collection
  13. 54:54Systems language requirements
  14. 56:47Q&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.