ocaml - What are the pros and cons of Batteries and Core? -


in ocaml world @ present there appear number of competing extensions standard library, batteries , jane street core being major ones far can determine (i understand extlib has been subsumed batteries?). pros , cons of each one? equivalent? can coexist? make sense "mix , match" or should pick 1 , focus on it? core used outside of jane street?

if makes difference on debian, windows support not factor me.

thanks!

caveat: i'm 1 of authors of batteries (although i've been out of touch year now) , author of page linked above.

the big differences following:

  • core used daily in industrial environment, while afaik batteries doesn't have same following
  • core maintained 1 company, while batteries community-maintained
  • afaik (but can wrong), core doesn't accept submissions or feature requests, while batteries does
  • batteries aims accept program written ocaml's standard library, while core doesn't aim maintain backward-compatibility
  • batteries used come additional external tools (they're not in standard distribution @ moment, hope they'll return additional package), e.g. improved toplevel, compiler requires 0 configuration use batteries instead of ocaml's stdlib, etc.
  • batteries comes additional language extensions e.g. handle unicode natively, new, safer , more extensible printf, etc.
  • batteries comes lots of documentation, while last time checked, core didn't.

p.s.: yes, extlib subset of batteries.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -