Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> There are some real ports of Linux for "limited" architectures, like uClinux

reginaldo (a guy who posted his emulator (jslm32) last time this was on HN) actually uses uClinux on LatticeMico32.

[1]: https://github.com/ubercomp/jslm32

I'm considering trying to get this to compile on Emscripten. It's so self-contained that I think it will be fairly unproblematic. Emscripten's 64-bit math emulation surely won't be needed.

Does anyone know if a ARM emulator in JavaScript exists already?



I started writing one in Dart a couple of days ago, but I know others already exist, including ones that port existing emulators (such as QEMU) using Emscripten.


Will you open source it? :) Found you on Github, it's not there.


Oh, absolutely. It's not like I'll use it for anything other than saying, "Hey, look at RISC OS running (slowly) in a browser!", which is the end goal.


Did you consider using an existing platform like https://github.com/asmblah/jemul8 ? Would be nice with a multiple-CPU emulator in JavaScript.


I think it would be more trouble than it's worth to take an x86 emulator and try to make it do ARM as well, unless it was written with multiple CPU types in mind in the first place.

But more importantly, it's written in JavaScript -- this is an exercise in learning Dart.

I do refer to various C-based implementations from time to time, though.


You can boot Linux in the browser already. Or do you have another interesting use specifically for an ARM emulator


if you can boot Linux in the browser, you can just run arm qemu or even bochs from it. 30 seconds from now you'll have an arm emulator in javascript.

use that i7 or i9 at 3 ghz, I say.


jsLinux is not FOSS.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: