Il 06/05/2015 12:38, Marco Beri ha scritto:
2015-05-06 12:33 GMT+02:00 Carlos Catucci <carlos.catu...@gmail.com
<mailto:carlos.catu...@gmail.com>>:
6 May 2015 at 12:10, Luca Bacchi <bacch...@gmail.com
<mailto:bacch...@gmail.com>> wrote:
http://pypyjs.org/
Pare essere figo, ma se ricordo bene c'erano gia' cose simili tipo Brython e
PythonJs.
Mi chiedo solo se quanto siano affidabili.
Forse ti sfugge come è fatto... In pratica questo è pypy ricompilato da
javascript.
Ricompilato *in* un subset di javascript chiamato asm.js
Letteralmente non è così:
/Emscripten is an LLVM-to-JavaScript compiler. It takes LLVM bitcode - which
can be generated from C/C++, using llvm-gcc (DragonEgg) or clang, or any
other language that can be converted into LLVM - and compiles that into
JavaScript, which can be run on the web (or anywhere else JavaScript can
run)/
Da paura...
Guarda questo (Doom emulato da javascript):
http://kripken.github.io/boon/boon.html
Si emscripten è molto figo :)
C'è un talk interessante fatto al pycon 2015 dell'autore di pypy.js Ryan Kelly
caricato sul canale apposito di youtube.
--
Riccardo Magliocchetti
@rmistaken
http://menodizero.it
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python