Live data from Hacker News

PyPyJS – PyPyBox

salvatore.diodev.fr

1–10 of 21 posts

Re: PyPyJS – PyPyBox

#5
For anyone actually looking to transpile Python into Javascript for web usage, please take a look at Transcrypt[1]. It's the only Py->JS Compiler that creates reasonable output sizes, readable code, and doesn't require loading a virtual machine.

1: http://transcrypt.org/

Edit: Shouldn't have said virtual machine, I meant a large runtime, though obviously a few implementations do have a proper VM.

Re: PyPyJS – PyPyBox

#6

For anyone actually looking to transpile Python into Javascript for web usage, please take a look at Transcrypt[1]. It's the only Py->JS Compiler that creates reasonable output sizes, readable code, and doesn't require loading a virtual machine. 1: http://transcrypt.org/ Edit: Shouldn't have said virtual machine, I meant a large runtime, though obviously a few implementations do have a proper VM.

There's also rapydscript-ng by the author of Calibre

https://github.com/kovidgoyal/rapydscript-ng/

Re: PyPyJS – PyPyBox

#7
post #6

For anyone actually looking to transpile Python into Javascript for web usage, please take a look at Transcrypt[1]. It's the only Py->JS Compiler that creates reasonable output sizes, readable code, and doesn't require loading a virtual machine. 1: http://transcrypt.org/ Edit: Shouldn't have said virtual machine, I meant a large runtime, though obviously a few implementations do have a proper VM.

There's also rapydscript-ng by the author of Calibre https://github.com/kovidgoyal/rapydscript-ng/

Rapydscript is neat, but it's not exactly python. If I wanted to import a python package from PyPi into Rapydscript, I'd be SOL.

Re: PyPyJS – PyPyBox

#8
post #6

Earlier quoted context omitted.

There's also rapydscript-ng by the author of Calibre https://github.com/kovidgoyal/rapydscript-ng/

Rapydscript is neat, but it's not exactly python. If I wanted to import a python package from PyPi into Rapydscript, I'd be SOL.

But you can't do that with Transcrypt, either. Both are "not quite python" and won't run regular python code. There is very little difference between the goal of the two projects.
Post reply on HN