3 ms·
Aside from the obvious fact that replacing the Stdlib with Base would break existing code, Base has an unstable and quite opinionated API and isn't tested on al
by debugnik 4y ago
Aside from the obvious fact that replacing the Stdlib with Base would break existing code, Base has an unstable and quite opinionated API and isn't tested on all targets OCaml supports (Jane Street is looking to drop support for 32-bit targets altogether). There would be a lot of tension to adopt it.
Meanwhile, the built-in Stdlib finally started to acquire much needed functions and modules during the late 4.x releases. My biggest worry is whether they'll keep up the pace, it doesn't even have a resizable array or, alternatively, a Clojure-like vector (but neither does Base).
- l_theanine 4y agoSo, you’d say there’s a healthy contingent of upstream devs dedicated to the health and diversity of the built in stdlib? May I also ask, have you worked with Ocaml for any medium to large projects? I’d be curious to hear from major users that are NOT using Base, and hear how they’re getting on. The 5.0 release especially has catalyzed my interest in Ocaml, and I’ve a few years left in me still before retirement, I’d like to pick up one last niche ‘fore I quit.