Pitfalls with Tail Calls and Locals in OCaml | OCaml Unboxed

Ғылым және технология

This is the seventh in a series about locals in OCaml. This episode explains the challenges around tail-call optimization and how to keep local variables from escaping their region. I introduce the [@nontail] annotation to prevent tail-call optimization, which is often needed when writing code with locals.
Code used in this video: github.com/goldfirere/janestr...
View instructions to get the compiler I use in this video: github.com/janestreet/opam-re...

Пікірлер: 2

  • @didyoustealmyfood8729
    @didyoustealmyfood87292 ай бұрын

    Nah bruh too much yapping where the good docs at

  • @zyptoskid

    @zyptoskid

    Ай бұрын

    hey now that's rude. respect your programming elders especially when they volunteer their time to show you stuff that entitled behavior is no good

Келесі