Hacker News
Run Pebble OS in Browser via WASM
ezulabs
|next
[-]
Please watch out some qemu targets for Cortex m0 or m3, increasing ram from linker out of supported ranges will cause random crashes. Would love to contribute if you are looking for people to crash some issues.
Awesome effort btw.
KetoManx64
|next
|previous
[-]
bossyTeacher
|root
|parent
|previous
[-]
idle_zealot
|root
|parent
[-]
Isn't it basically the opposite? The hard parts of the browser are layout, styling, and multimedia stuff that goes into rendering markup compliantly. Then there's the infinite sink of optimization work for a JS engine, the high-level scripting language for that markup. The low level access that something like this emulator use is comparatively easy; a WASM runtime and Canvas blitting pixels from some shared buffer.
Or am I mistaken that a WASM engine is much easier to build than a performant JS engine?
nomel
|root
|parent
[-]
Absolutely. It's very limited, and designed for purpose, rather than somewhat by mistake (like JS): https://github.com/sunfishcode/wasm-reference-manual/blob/ma...
mischief6
|next
|previous
[-]
found an assertion just by clicking up/down. doesn't seem too stable.
donohoe
|next
|previous
[-]
zb3
|previous
[-]
- using native exception handling
- getting rid of asyncify (but it would require JSPI)
See my experiments with TempleOS here: https://zb3.me/qemu-wasm-test/