From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q2NCjJIC023779 for ; Fri, 23 Mar 2012 13:45:19 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtICAL9vbE+GnQCBlGdsb2JhbABEuAciAQEBAQcNCQkUAySCSoE0SYgdC5gjoCSQImMElV+JT4Flh2E X-IronPort-AV: E=Sophos;i="4.73,636,1325458800"; d="scan'208";a="150888092" Received: from shiva.jussieu.fr ([134.157.0.129]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Mar 2012 13:45:13 +0100 Received: from hydrogene.pps.jussieu.fr (hydrogene.pps.jussieu.fr [134.157.168.1]) by shiva.jussieu.fr (8.14.4/jtpda-5.4) with ESMTP id q2NCjDx9038637 for ; Fri, 23 Mar 2012 13:45:13 +0100 (CET) X-Ids: 164 Received: from strontium.pps.jussieu.fr (strontium.pps.jussieu.fr [134.157.168.38]) by hydrogene.pps.jussieu.fr (Postfix) with ESMTPS id 4CD1CC10A6; Fri, 23 Mar 2012 13:45:12 +0100 (CET) Received: from vouillon by strontium.pps.jussieu.fr with local (Exim 4.77) (envelope-from ) id 1SB3rj-0002vu-Rk; Fri, 23 Mar 2012 13:45:11 +0100 Date: Fri, 23 Mar 2012 13:45:11 +0100 From: Jerome Vouillon To: caml-list Message-ID: <20120323124511.GA11218@pps.jussieu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at jchkmail.jussieu.fr with ID 4F6C7059.002 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4F6C7059.002/134.157.168.1/hydrogene.pps.jussieu.fr/hydrogene.pps.jussieu.fr/ Subject: [Caml-list] [ANN] Js_of_ocaml version 1.1 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/