Actual Performance Costs of OOP Objects
Learning - OCaml
Bluddy February 23, 2022 9:48am
Indeed step back and ask is OCaml fast. How can we make programs faster? In this chapter we'll look at what actually happens when you compile. OCaml is an object-oriented imperative functional programming language. It mixes all these paradigms and lets you use the most appropriate or most familiar.
The compiler minimizes the amount of optimization magic that it performs and relies instead on its straightforward execution model for good performance. With some experience you can know. Due to these reasons it's good to know how to optimize OCaml for performance when you need it. By default OCaml will compile without Flambda.
Comments