Skip to content
0:00 / 0:00

#ocaml#janestreet#garbagecollection

Introducing the OCaml Local Mode | OCaml Unboxed

Jane Street

102K subscribers • 18 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Lobsters.
  • Linked in the descriptionjanestreet/opam-repository
  • Made by the vendor. The company whose product it covers made or sponsored it.

Intermediate. Assumes working knowledge.

10K views2 years ago1 recommendation

Programming languagesSystems programmingOCaml and F#Memory managementPerformance and optimization

An introduction to using local parameters in OCaml to avoid heap allocations and reduce garbage collection overhead.

This video introduces how to make and use local parameters in OCaml. As demonstrated in the video, a local parameter to a function is not allowed to be stored or returned. Using local parameters can allow us to allocate less garbage-collected memory, as later videos will demonstrate. View instructions to get the compiler I use in this video: github.com/janestreet/opam-repository/tree/with-extensions

Why it's here

1 person recommends this

What people say. Recommended as a clear introduction to OCaml's local mode and its performance benefits.

januson Lobsters • Recommends

Introducing the OCaml Local Mode