Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    M

    MirageOS Blog

    openmirage.org · Company blog · on HN since 2010

    The team behind MirageOS, an OCaml unikernel system, posts on Xen, OCaml-TLS, the Irmin storage layer, and the TCP/IP stack.

    Visit blogHN submissions
    Languages & CompilersSystems & PerformanceOpen Source & Linux
    What HN says

    HN commenters point to it as an example of unikernels and OCaml for systems programming, citing its libraries and the Xen-hosted 1.0 release.

    Stats for nerds
    62HN people shared it
    26linked in comments
    704story points
    Jun 2015last shared
    2010people per year2015

    Top posts on HN

    1. 1
      Irmin: Git-like distributed, branchable storage
      5 people · 147 points · first shared 2014 · 25 comments on HN
    2. 2
      MirageOS: A Unikernel For The Xen Hypervisor
      44 people · 109 points · first shared 2010 · 52 comments on HN
    3. 3
      Introducing Transport Layer Security in pure OCaml
      5 people · 106 points · first shared 2014 · 43 comments on HN
    4. 4
      OCaml-TLS: ASN.1 and notation embedding
      3 people · 87 points · first shared 2014 · 11 comments on HN
    5. 5
      Mirage OS 2014 review: IPv6, TLS, Irmin, Jitsu and community growth
      2 people · 81 points · first shared 2014 · 2 comments on HN
    6. 6
      OCaml-TLS: the protocol implementation and mitigations to known attacks
      1 person · 59 points · first shared 2014 · 2 comments on HN
    7. 7
      Mirage v2.0: a recap of the new features
      3 people · 53 points · first shared 2014 · 12 comments on HN
    8. 8
      Building an ARMy of Xen unikernels
      1 person · 10 points · first shared 2014 · Discussion on HN
    9. 9
      OCaml-TLS: building the nocrypto library core
      1 person · 10 points · first shared 2014 · Discussion on HN
    10. 10
      Using Irmin to add fault-tolerance to the Xenstore database
      2 people · 8 points · first shared 2014 · 1 comments on HN

    What HN people wrote when they linked it

    • javamonnApr 2015

      I read three books at a time, and only pick up/start/buy a new one once I finish one. Helps acquiring a large back log of unread literature around the apartment. :)

      * Labyrinths - Jorge Louis Borges [0]
      I believe HN was the reason I picked this up, if I remember correctly. It's a collection of short stories, each of which can be finished in a night, which is satisfying. I really dig his writing style and fantastical nature of the stories. I've done a bit of philosophical reading but a lot of the references he makes go over my head, leaving me to do a bit of research after each story.

      * The Design of Everyday Things - Don Norman [1]
      Picked this up after finishing Debbie Millman's How to Think Like a Great Graphic Designer [2] (Misleading title, I would 100% recommend this book to anyone). I'm not sure what I expected, but so far this hasn't been satisfying. The first couple of chapters have been laying out a framework and defining terms. Considering swapping this out for Jon Kolko's Well Designed - How to Use Empathy To Create Products People Love [3], which seemed much more actionable after picking it up at Barnes and Noble.

      * Real World OCaml - Yaron Minsky, Anil Madhavapeddy, Jason Hickey [4]

      Second time picking this up, originally read up to chapter on Functors over the summer. I started over this time and I'm about finished with the first section, "Language Concepts", now. It's worth noting that the entire text is available online for free on the book's…

    • asbNov 2010

      If you find this interesting you may want to read about this more current research:
      http://www.openmirage.org/

      To quote from the vision paper http://anil.recoil.org/papers/2010-bcs-visions.pdf

      Mirage is written in the spirit of vertical operating
      systems such as Nemesis [17] or Exokernel [10], but
      differs in certain aspects: (i) apart from a small runtime,
      the operating system and support code (e.g., threading)
      is entirely written in OCaml; and (ii) is statically
      specialised at compile-time by assembling only required
      components (e.g., a read-only file system which fits
      into memory will be directly linked in as an immutable
      data structure). These features mean that it provides
      a stronger basis for the practical application of formal
      methods such as model checking; and the removal of
      redundant safety system checks greatly improves the
      energy efficiency of the system.

    • diginuxMay 2015

      I have started playing with Rust and have used OCaml on and off, but recently really diving hard into it building a REST-based application from top to bottom in OCaml, including all the infrastructure bits. We are slowly making our stuff open source as it becomes useable: https://github.com/afiniate

      In short, OCaml is a mature language that has been used for decades in commercial applications. I feel OCaml is the next progression for the people that got excited about distributed systems via the Erlang path and want more of the safety and reasoning that comes from a strongly/statically-typed language like OCaml. Rust may or may not take off, but I am confident OCaml will remain viable for the foreseeable future, and probably gain slow, but steady popularity as engineers see all the cool things you can do like MirageOS: http://openmirage.org/

    • sgroveSep 2014

      They're of course not a desktop option at all, but there's also some very interesting work happening with unikernels, which are really only recently a viable option now that Xen can present a unified hardware layer, instead of the endless treadmill of specific drivers. I've been getting into OpenMirage [1] quite a bit recently, largely due to the energy of the team [2], but also looked a bit at HalVM [3]. I definitely recommend [2] for anyone interested in plausible ideas of what the one of the next generations of VM/apps might look like.

      [1] http://www.openmirage.org/
      [2] https://www.youtube.com/watch?v=UjonFD-2ATo or http://www.se-radio.net/2014/05/episode-204-anil-madhavapeddy-on-the-mirage-cloud-operating-system-and-the-ocaml-language/ (audio only)
      [3] https://github.com/GaloisInc/HaLVM

    • ignoramousApr 2015

      No wonder OCaml compiled to native is faster than other MLs and Python. I rem stumbling on benchmarks elsewhere, where compiled OCaml rivaled CPP in terms of performance on certain tests.

      In my experience with OCaml, I have found the syntax a bit too unfavourable like the author did, but the resulting code was very fast. With concurrency sorted out, I wonder if it could take on Rust, Nim, and Go as far as systems-programming is concerned (esp since Go has the weight of Google behind it).

      It also helps that the language designers have written a large tutorial on systems programming: https://ocaml.github.io/ocamlunix/

      Then there's this epic Mirage OS built with Cloud Computing in mind by Anil and his team of OCaml zealots: http://openmirage.org/

    • sreanApr 2014

      Since there has been a resurgence of interest in OCaml on HN, some may be curious to see how a production quality Btree implementation looks like in OCaml. Algebraic data types, make it particularly convenient for these sorts of things. For comparison one may contrast it with an implementation in a language that does not have algebraic types, C++ for example. So glad Rust chose to have them.

      Here is a Btree implementation from the mirage project [1]
      https://github.com/cgreenhalgh/ocaml-btree/blob/master/lib/btree.ml

      EDIT: removed link to binary tree after kerneis pointed it out.

      [1] http://www.openmirage.org/

    Related

    MirageOSmirage.io84 people

    MirageOS 4.0 – Self-managed internet infrastructure with unikernels

    MirageOS
    Company · last shared 2026
    Anil Madhavapeddyanil.recoil.org46 people

    Compiling OCaml directly to a new cloud operating system

    Anil Madhavapeddy
    Personal · last shared 2026
    OPAM Blogopam.ocaml.org40 people

    Signing the OPAM Repository: TUF Meets Git

    OPAM Blog
    Company · last shared 2026
    KC Sivaramakrishnankcsrk.info44 people

    OCaml on Baremetal Shakti RISC-V Processor

    KC Sivaramakrishnan
    Personal · last shared 2026
    Thomas Leonardroscidus.com82 people

    Python to OCaml: Retrospective

    Thomas Leonard
    Personal · last shared 2026
    NanoVMs Blognanovms.com24 people

    Autonomous Rust Unikernels in Google Cloud

    NanoVMs Blog
    Company · last shared 2026
    Xen Project Blogblog.xen.org26 people

    Xen has been fully integrated into Linux kernel 3.0

    Xen Project Blog
    Company · last shared 2014
    Tarides Blogtarides.com28 people

    Improvements to OCaml code editing: the basics of a refactor engine

    Tarides Blog
    Company · last shared 2026