Signals and Threads

Language design with Leo White

20 snips
Oct 21, 2020
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Be Selfish, Then Generalize When Contributing

  • Prioritize your own team's needs when contributing to a language but generalize where possible.
  • Aim to make OCaml better for Jane Street workflows while keeping changes broadly useful.
INSIGHT

GC And Layout Limit Low-Level Control

  • OCaml lacks low-level control of memory layout and stack allocation compared to C/Rust.
  • That limits some high-performance idioms and motivates features like unboxed types and stack-like allocations.
INSIGHT

Dependent Types Offer Stronger Guarantees

  • OCaml's type system is expressive but can be extended toward dependent types for stronger guarantees.
  • Dependent types let you express precise properties like list lengths directly in types.
Get the Snipd Podcast app to discover more snips from this episode
Get the app