OCaml Weekly News

Previous Week Up Next Week

Hello

Here is the latest OCaml Weekly News, for the week of December 25, 2018 to January 01, 2019.

Happy New Year!

Table of Contents

OCaml implementations of Raft consensus protocol

IndiscriminateCoding asked

Is there any production-ready implementation of Raft consensus protocol in OCaml? There is ocaml-raft, which does have a technical paper, but it looks abandoned and it's not even in opam repository.

IndiscriminateCoding then said

Thanks! First project seems abandoned too (and doesn't have license specified), but second looks promising. Will have a closer look at it.

Nick Betteridge replied

First project is MIT (opam file) - vbmirthr keeping it working - https://github.com/vbmithr/raft

Online, realtime, multiplayer Set game written in ocaml

Andrew Tongen announced

As a learning project, I decided to implement the game of Set entirely in ocaml/reason:

Game: https://setml.andrewtongen.net/
Code: https://github.com/atongen/setml

There are separate modules for frontend and backend code, with shared modules in between. Overall, I really enjoyed this exercise. The ocaml type system is truly amazing, and I will definitely look for more ways to use it in the future.

The game itself has not be thoroughly tested on various devices, but it seems to work pretty well on newish android and apple devices.

Check it out and let me know what you think!

Is it safe to hold onto string data in C bindings?

Deep into this thread, Brendan Long announced

I've been super busy for a while, but here's the blog post:

https://www.brendanlong.com/easy-mistakes-when-writing-ocaml-c-bindings.html

(And the code I was working on when I wrote this will show up in our Mssql library as soon as I have time)

Other OCaml News

From the ocamlcore planet blog

Here are links from many OCaml blogs aggregated at OCaml Planet.

Old CWN

If you happen to miss a CWN, you can send me a message and I'll mail it to you, or go take a look at the archive or the RSS feed of the archives.

If you also wish to receive it every week by mail, you may subscribe online.