Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Caml-list] [ANN] Js_of_ocaml version 1.1

71 views
Skip to first unread message

Jerome Vouillon

unread,
Mar 23, 2012, 8:45:41 AM3/23/12
to caml-list
Hi,

I'm happy to announce a new release of Js_of_ocaml, a compiler
from OCaml bytecode to Javascript. This tool lets you write
OCaml programs that run on Web browsers. You can use it to
deploy your OCaml applications everywhere (smartphones, tablets,
desktop computers, ...), or to take advantage of the graphical
capabilies of modern browsers: text layout, 2D canvas, WebGL...

This release adds WebGL bindings, provides more complete bindings
to the other browser APIs, and fixes a number of bugs.

Js_of_ocaml is easy to install, and use thereafter, as it works with
an existing installation of OCaml, with no need to recompile any
library. It comes with bindings for a large part of the browser APIs.

The project page is: http://ocsigen.org/js_of_ocaml/

EXAMPLES

The compiler has been used to implement the "Try Ocaml" site,
which runs the OCaml toplevel in you browser.

http://try.ocamlpro.org/

Another noteworthy example is an interactive tree viewer, which
let you browse a large phylogenetic tree of animals, layed out on
the hyperbolic plane.

http://ocsigen.org/js_of_ocaml/files/hyperbolic/

Further examples can be found on the project page.

PERFORMANCES

According to our benchmarks, with state of the art Javascript engines,
the generated programs runs typically faster than with the OCaml
bytecode interpreter ( http://ocsigen.org/js_of_ocaml/performances ).

Js_of_ocaml performs dead code elimination in order to generate
compact code: the Javascript file produced is usually smaller than
the input bytecode file, and often much smaller.

LINKS

Project home page http://ocsigen.org/js_of_ocaml/
Download http://ocsigen.org/download/js_of_ocaml-1.1.1.tar.gz
Get source code darcs get http://ocsigen.org/darcs/js_of_ocaml/
Documentation https://ocsigen.org/js_of_ocaml/manual/

--
Caml-list mailing list. Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

0 new messages