~/talk

Copying opam switches – it should Just Work™

Talkat OCaml 2022 · on Friday, 2022-09-16· [developer-experience]
links:none on file
slides:none on file

Shows that a handful of targeted runtime changes make opam switches relocatable: switch cloning becomes file-copy fast instead of recompiling, saving 7.5 minutes per OCaml 4.14 build on a 8‑core machine. Implements ld.com to relative paths, adds naming internal libraries by platform/version, and broadens launcher search paths so bytecode/native executables find the right runtime and stubs. A working prototype is built and demonstrated relocating stock compilers successfully.

AI-written summary · about

  1. 0:00Intro
  2. 1:13Existing Approaches
  3. 3:07Ingredients for relocating
  4. 3:41How bytecode starts
  5. 6:34What to do?
  6. 7:11Finding things
  7. 8:07Finding the right things
  8. 9:04Relative paths
~/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.