From: Jerome Vouillon <vouillon@pps.jussieu.fr>
To: caml-list <caml-list@inria.fr>
Subject: [Caml-list] [ANN] Js_of_ocaml version 1.1
Date: Fri, 23 Mar 2012 13:45:11 +0100 [thread overview]
Message-ID: <20120323124511.GA11218@pps.jussieu.fr> (raw)
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/
reply other threads:[~2012-03-23 12:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120323124511.GA11218@pps.jussieu.fr \
--to=vouillon@pps.jussieu.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox