~/talk

Semantic Encapsulation using Linking Types

Talkat TyDe 2023 · on Monday, 2023-09-04· [compilers-and-language-design]
links:none on file
links:none on file
links:none on file
slides:none on file

Presents a concrete mechanism that lets a pure language safely link to foreign code by adding linking types that describe C‑like behaviors, proving soundness with a realizability model (logical relations that map source types to sets of untyped target terms), and automatically inserting encapsulation wrappers at compile time. Implements two case studies: mutable references via a library (memoized Fibonacci) and exceptions as library try/catch, compiles to an untyped target, and carries out formal proofs that the wrappers actually enforce the core language invariants.

AI-written summary · about

  1. 0:00Semantic encapsulation intro
  2. 2:30FFI breaks type safety
  3. 5:41Linking types for foreign behavior
  4. 9:59Exception encapsulation
  5. 11:47Interoperability models
  6. 15:22Proving encapsulation
  7. 17:49Implementation steps
  8. 19:35Soundness with foreign code
  9. 21:27Q&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.