~/talk

0xCaml From a System Engineer's Point of View

Talkat FUN OCaml 2025 · 2025-09-15..09-16· [compilers-and-language-design]
slides:none on file

Compares building the odiff image‑diff library across Zig, OCaml V4 and OCaml V5, finding Zig produces much smaller faster binaries (50 KB vs 1 MB) and that lack of SIMD and cross‑compilation in OCaml causes big slowdowns (70–150% slower on hot loops). Shows OCaml V5 features — stack allocation hints, raw float/hash types, capsules for race‑free parallelism — that cut allocations dramatically, but observes SIMD support is only intrinsics and portability is limited; an AVX‑512 rewrite even beats previous fastest implementations (AVX‑512 rewrite).

AI-written summary · about

  1. 0:00Introduction and project
  2. 2:02Mobile support challenges
  3. 3:31Why switch to Zig
  4. 5:15Performance comparison
  5. 7:02Understanding OxCaml
  6. 8:09Stack allocations
  7. 10:39Compiler validations
  8. 12:25Memory layout optimization
  9. 14:24Nullable pointers
  10. 15:50Adopting OxCaml
  11. 17:19Performance metrics
  12. 18:55SIMD implementation
  13. 20:59Portable SIMD discussion
  14. 22:29Cross-platform SIMD
  15. 24:09VxDiff project
  16. 25:06Portability and tools
  17. 26:39Concurrency and safety
  18. 29:03Future and Q&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.