← findnix.eu
🎬 watch.ocaml.org watch.ocaml.org

Stack allocation for OCaml

⏱ 22:12 🌐 watch.ocaml.org

Stack allocation for OCaml Stephen Dolan (Jane Street) Leo White (Jane Street) Allocating values on a stack instead of the garbage collected heap can improve performance by improving cache locality and avoiding GC pauses. However, it requires that the values do not escape the lifetime of their associated stack frame. We describe an extension to OCaml that allows values to be allocated on a stack and ensures through the type system that they do not escape their stack frame.

β†—https://watch.ocaml.org/w/epgSoiPbtdioGF4BjEUk7e
OCaml
Indexiert von findnix.eu Β· Eigene Seite einreichen