V2 of Real World OCaml (by realworldocaml)

Book Alternatives

Similar projects and alternatives to book

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better book alternative or higher similarity.

book reviews and mentions

Posts with mentions or reviews of book. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-07.
  • Compiler Development: Rust or OCaml?
    5 projects | | 7 Aug 2023
  • Nix-Powered Development with OCaml
    12 projects | | 6 Mar 2023
    I don't think they're wrong

    the Jane Street side are quite prolific with blog posts etc

    as a newcomer to OCaml one of the first, and nicer-looking, intro resources you'll likely encounter is the Real World OCaml book which unfortunately does everything using Base instead of the stdlib

    Personally that didn't sit right to me and I prefer to use the stdlib by default (which seems fine and not in need of a wholesale replacement)

  • Comparing Objective Caml and Standard ML
    5 projects | | 15 Feb 2023
    This is an oldie but a goodie.

    OCaml has, unlike Standard ML, grown quite a lot since this page was made.

    In particular, the section "Standard libraries", I'd recommend looking at:

    A couple of places where the comparison is outdated:

    - OCaml using Base [1] allows for result-type oriented programming

    - OCaml using Base uses less language magic and more module system

    While there was and is truth to the distinction that SML is for scientists and OCaml is for engineers, this dichotomy is getting dated: OCaml is under active development, which means that scientists who want better tooling will choose OCaml. For example, 1ML [2] by Andreas Rossberg was built in OCaml.


  • Help getting started with Ocaml
    2 projects | /r/ocaml | 13 Oct 2022
    In general, better read the second edition which is updated to use current Core versions. A print version was published recently.
  • Functional Reactive Programming
    9 projects | | 16 Aug 2022
    Elm is not dead. It just prefers a slow release schedule but is still actively worked on in the background.

    That said, you might want to check out OCaml for general purpose programming. Super fast compiler, great performance, can target both native and JS.

    It is easier to use than Haskell due to defaulting to eager evaluation (like most languages) strategy instead of laziness and being generally more pragmatic, offering more escape hatches into the imperative world if need be. Plus great upward trajectory with lot's of cool stuff like an effects system and multi-core support coming.

    Real World Ocaml is a decent resource:

  • RWO v2 in PDF
    2 projects | /r/ocaml | 27 Jul 2022
    There is a PR on the main repo.
  • Is 'Real World OCaml' 1st ed worth bying for a beginner?
    2 projects | /r/ocaml | 20 May 2022
    I've only been through the online version so I don't know if this is true of the print copy as well, but it felt very... I don't know, abridged, I guess? There's some good info in there, but it glosses over a lot of things as well, and when I first went over it I didn't feel like I came away with a good understanding of OCaml. I think it makes a good second book choice after reading the CS3110 one, though, because the abridged explanations act like a nice refresher on what you've already learned and read before adding extra detail.
  • Real World OCaml – Functional programming for the masses
    4 projects | | 5 May 2022
  • What is your favourite Rust specific feature that you miss in other languages?
    4 projects | /r/rust | 3 Apr 2022
    There is Real World Ocaml. It's written by one of the lead developers at Jane Street and a professor.
  • A note from our sponsor - InfluxDB | 22 Sep 2023
    Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge. Learn more →


Basic book repo stats
about 1 month ago
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.