Repl (CheerpX demo)
Dev tools
browser-based language repl
SHOW HN2021
Repl (CheerpX demo)
Run Python, Ruby, Node.js, C++, Lua in the Browser via x86 to WASM JIT
repl.leaningtech.comHow HN took it
6 positive, 4 neutral or asking, 2 mixed, 5 critical, out of 17 comments about the project. Thread score +0.02.
Idea: 4 for, 1 againstExecution: 1 for, 2 againstDesign: 1 for, 1 againstPrivacy: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Impressive technology and a fun demo
From 3 comments
This is quite impressive. I would love to see if we can have something similar that doesn't require JS at all, so we can execute x86 programs server-side just using Wasm…
syrusakbary on HNVery impressive stuff. Even after 20 years of developing, I still have trouble wrapping my mind about the complexities involved here. If anyone hasn't read the blog post about…
EMM_386 on HNOh, that's fun. You're right, I went straight for luajit and typed in some praise for Mike Pall. Everyone is weird..
kzrdude on HN
Objections
Broken or crashing in some browsers (Firefox hangs, rendering issues)
From 2 comments
This isn't working for me in firefox. The tab hangs, then crashes.
lbhdc on HNIt loads fine for me, but has severe rendering issues. There is no text, just weird, colored diagonal lines.
the_duke on HN
No mobile browser support and Safari lacks SharedArrayBuffer
From 3 comments
No mobile version of chrome, Firefox etc though
ngcc_hk on HNHopefully Safari will support this on one day.
miohtama on HNThe blocking feature is SharedArrayBuffer, but it should become available in the not-too-far future.
apignotti on HN
Security: no permission checks in the filesystem
From 2 comments
I would like to register the security issue: "import os; os.system('cat /etc/shadow')" demonstrates that without a kernel to check permissions (and without a user ID to be…
throwawayninja on HNOh no! You have pwned a non-existing cloud VM :-) More seriously though, you are right. The current implementation of the Linux syscalls interface does not enforce permissions…
apignotti on HN
Requests
Add more languages and alternative REPLs like bpython or ipython
From 1 comment
If anyone else was confused and was too embarrassed to say it out loud, I was stubbornly typing exit() to try the other languages before I actually read the menu. You have to…
dec0dedab0de on HN
Open source the CheerpX emulator
From 2 comments
If anyone else was confused and was too embarrassed to say it out loud, I was stubbornly typing exit() to try the other languages before I actually read the menu. You have to…
dec0dedab0de on HNIt's a shame that even the underlying compiler tech seems to be proprietary and intended to be commercially licensed once 'finished'. I feel like a lot of creativity (and…
ntauthority on HN
Questions
Where are files stored after reload
From 1 comment
This is neat. I actually managed to run Bash and a custom executable (a 32bit compiled version of my LIL interpreter - that i compiled under 86box running Caldera OpenLinux from…
badsectoracula on HN
Could this run x86 programs server-side without JS
From 1 comment
This is quite impressive. I would love to see if we can have something similar that doesn't require JS at all, so we can execute x86 programs server-side just using Wasm…
syrusakbary on HN
Alternatives named
Pyodide (CPython ported to Wasm)
From 2 comments
> given enough work, run Python directly in Wasm It is already possible! See https://github.com/pyodide/pyodide
AkshitGarg on HN> It is theoretically possible, given enough work, run Python directly in Wasm. To be fair that's not just theoretical, the Pyodide project does exactly that:…
azakai on HN
Brython, Klipse and other JS language implementations
From 1 comment
This is awesome! Thanks for providing more details (was a bit hard to notice your medium post at first) [0]. For folks here interested in doing this kind of thing (one example is…
eatonphil on HN
v86 x86 emulator
From 1 comment
This is quite impressive. I would love to see if we can have something similar that doesn't require JS at all, so we can execute x86 programs server-side just using Wasm…
syrusakbary on HN