|
|
|
|
|
by giraj
1204 days ago
|
|
I was hoping this post would mention using OCaml with flambda[1] enabled. At least for my work, flambda seems to yield a ~10% speed up when compiling things. Can you get OCaml binaries with flambda enabled through Nix? With opam, I currently have to compile OCaml myself to enable it, as I am not aware of any binaries being distributed. [1] https://v2.ocaml.org/manual/flambda.html |
|
https://github.com/NixOS/nixpkgs/pull/32946
If you find it important, I'd encourage opening a PR to ask for flambda to be enabled by default at https://github.com/NixOS/nixpkgs/issues/new/choose.
Especially if the ocaml community typically enables flambda by default these days.