3 ms·
This is about a decade old, I think. With a substantial optimisation suite added to ocamlopt since, some of it will be out of date. The advice on inlining in pa
by gsg 9y ago
This is about a decade old, I think. With a substantial optimisation suite added to ocamlopt since, some of it will be out of date. The advice on inlining in particular is obsolete.
- harrisi 9y agoHm, could you say why you think that? Looking at the github history it's hard to tell. The earliest history I can find for this page is from 2013[0], but it seems to be pretty clearly a transition and not the original writing of it. However, it's the only thing I can find in terms of aging the document. [0]: https://github.com/janestreet/janestreet.github.com/commit/77eea6fbcb122f98a5726c6cb88b5c5922529a6a https://github.com/janestreet/janestreet.github.com/commit/7...
- gsg 9y agoI remember reading it a number of years ago. It's true that it may have been updated since then, although my guess would be that it has not.
- rbehrends 9y agoWhat gsg has been referring to is the flambda framework [1], which has been available for a while. If you're using OPAM, install an flambda-enabled compiler with (e.g.) opam switch install 4.04.1+flambda [1] https://caml.inria.fr/pub/docs/manual-ocaml/flambda.html https://caml.inria.fr/pub/docs/manual-ocaml/flambda.html
- tempodox 9y agoEven so, it still contains lots of helpful explanations and starting points for those who haven't learned to eat assembly for breakfast yet. Current OCaml docs and own exploration should do the rest.