Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Hm, 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/7...


What 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


I 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.


Even 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.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: