Previous week Up Next week


Here is the latest Caml Weekly News, for the week of December 01 to 08, 2009.

  1. CamlJava w/ recent JVMs - solved (patches needed and included)
  2. ocaml-ofc
  3. Other Caml News

CamlJava w/ recent JVMs - solved (patches needed and included)


Stefano Zacchiroli announced:
On Mon, Nov 23, 2009 at 04:55:37PM +0100, Stefano Zacchiroli wrote:
> Has anyone successfully built/used CamlJava [1] with recent OCaml and
> the open sourced Sun's JVM (OpenJDK)?

With the tremendous help of Grégoire Henry, we've come up to a fixed
version of CamlJava that:

- works well with recent JVMs (both Sun's 1.6 and OpenJDK)
 * fixes are both for building and for avoiding segfaults due to a
   distinction among local and global references introduced by JNI 1.6
- is a bit more debugger friendly
- has _conditional_ automatic mapping of Java strings to OCaml strings
 (needed by O'Jacare [1])
- is a bit more careful/strict in case of multithreading: you must
 ensure all Java-OCaml callbacks are called from the very same thread
 (need spotted by O'Jacare a while ago)
- fixes various minor issues that help packages

All patches are available at [2] and contain appropriate

The patches are integrated in the Debian package of CamlJava that I've
just uploaded to the archive. While the package gets processed for
copyright review, it is also available at:

 deb zack-unstable/
 deb-src zack-unstable/

Xavier: can you please consider integrating the above patches in a new
release of CamlJava?

AFAIK, a new release of O'Jacare based on the above work is being worked
on by Grégoire.





Florent Monnier announced:
I'm pleased to annouce ocaml-ofc, a library released under the LGPL,
which is an OCaml interface for Open Flash Chart 2.

The web-site of Open Flash Chart 2 (OFC) is here:

What is OFC?
OFC is a .swf object written in action script which takes json datas
in input and draws charts from these datas. These json datas can be
sent through various libraries written in languages like PHP, Python,
Ruby, and others ..., and now with OCaml too!

You can have an overview of what OFC can produce there:

You can download ocaml-ofc from:

You can have an overview of the interface there:

Here are some examples of use:

Other Caml News

From the ocamlcore planet blog:
Thanks to Alp Mestan, we now include in the Caml Weekly News the links to the
recent posts from the ocamlcore planet blog at

ld.ocaml 0.2.1 released:

ld.ocaml: OCaml dynamic linker/loader:

FP-Syd #21.:


camljava for recent JVMs:

Gpr 0.9.4:

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