Previous week Up Next week


Here is the latest OCaml Weekly News, for the week of August 29 to September 05, 2017.

  1. oasis and C wrapper
  2. From the OCaml discourse
  3. Ocaml Github Pull Requests
  4. Other OCaml News

oasis and C wrapper


Deep in this thread, Aziem Chawdhary said:
I don't know if you have solved this problem yet, but I have a small
example of building a static C lib and statically linking with OCaml
using Oasis and OCamlbuild.

The repository is here:

and I think the most relevant example for you is under the oasis-lib
branch. This example uses ocamlbuild to do most of the work rather than
trying to get options set correctly in the _oasis file. So I use
ocamlbuild tags and a small myocamlbuild plugin and get everything built

This example uses information from various sources, including those you
linked to in your first email, as well as information from the
OCaml-Ctypes issue tracker. The repository is mainly for my own
documentation purposes but may be of use to you.

From the OCaml discourse

The editor compiled this list:
Here are some links to messages at that may
be of interest to the readers.

- François Pottier talks about "visitors 20170828"
- Bobby Priambodo talks about "Lightweight OCaml Docker Images with Multi-Stage Builds"
- Richard Mortier talks about "Ocal 0.2.0 released, plus jbuilder/topkg blog posts"

Ocaml Github Pull Requests

Gabriel Scherer and the editor compiled this list:
Here is a sneak peek at some potential future features of the Ocaml
compiler, discussed by their implementers in these Github Pull Requests.

- Reimplement Sys.rename under Win32 to be more POSIX
- Losing GADT instances with -principal

Other OCaml News

From the ocamlcore planet blog:
Here are links from many OCaml blogs aggregated at OCaml Planet,

Platforms, Packaging, Progress

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.

Alan Schmitt