English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
ANN: ocamljs 0.3
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-08-27 (14:44)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] Re: ANN: ocamljs 0.3

> What are the differences between:
> - OBrowser (http://www.pps.jussieu.fr/~canou/obrowser/tutorial/)
> - Js_of_OCaml (http://ocsigen.org/js_of_ocaml/overview)
> - OcamlJS

These three projects have one goal in common -- running Ocaml code
inside a browser -- but approach it differently:

  - O'Browser implements in Javascript an interpreter of Ocaml bytecode
    (the code produced by ocamlc).

  - js_of_ocaml compiles Ocaml bytecode into Javascript.

  - ocamljs is a new backend for the Ocaml compiler that translates
    Ocaml's intermediate representation (the "lambda" representation)
    into Javascript.

Hope that clarifies things a bit,
Dario Teixeira