Blog post: Js_of_ocaml, a bundle size study

Using / linking Js_of_ocaml.Js will force a dependency on printf (Js → Printexc → Printf) and adds ~50k to your bundle.

I’ve a branch of the ocaml compiler to remove the Printexc -> Printf dependency

6 Likes