News for hackers. Stuff that matters.
Re:A better inliner for OCaml, and why it matters by mwcampbell on Wednesday February 24, 2016 @06:06PM (#11170981)
I wonder what kind of impact this will have on the performance of Mirage. It seems to me that whole-program optimization is potentially a great benefit for a unikernel written almost entirely in a high-level language like OCaml.
Re:A better inliner for OCaml, and why it matters by wk_end on Wednesday February 24, 2016 @06:23PM (#11171072)
To be clear, I don't believe flambda is providing anything on the scale of whole program optimization; it inlines more aggressively, but not the entire program.
Re:A better inliner for OCaml, and why it matters by Drup on Wednesday February 24, 2016 @06:34PM (#11171133)
That is not exactly correct, it also does cross module inlining. Now, suppose you tweak a bit your parameters to inline ... liberally. It's going to inline all the mirage functors directly into your main, which enables various things.

Of course, that's going to take a bit of time to compile.

Also, IIRC, all the ingredients are in place for link time optimizations, but they were not developed for ocaml 4.03.