~/talk

Borrow checking Hylo

Talkat IWACO 2023 · on Tuesday, 2023-10-24· [compilers-and-language-design]
links:none on file
slides:none on file

Hylo aims for C++-level speed with guaranteed freedom from undefined behavior by running borrow checking on Hylo IR using an abstract interpreter that models lifetimes with ghost instructions. The compiler inserts SSA-style stack allocations, initialization and end_access ops, computes non‑lexical lifetimes, and reports errors or patches IR to initialize/denitialize values. A linear-ish, mutable value semantics plus a subscript inversion of control lets the optimizer (LLVM backend) remove predictable allocations; the pipeline is implemented and produces native code while enforcing safety.

AI-written summary · about

  1. 0:00Borrow checking Hylo
  2. 2:10Defining safety
  3. 4:19Efficiency trade-offs
  4. 8:39Rust’s borrow checker challenges
  5. 12:53Mutable value semantics in Hylo
  6. 18:07Accessing container values
  7. 20:56Compiler implementation
  8. 25:13Q&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.