6 ms·
Fabrice does a great job at building these self-contained pieces of software which often grow to have lives of their own. As a lesser known example, JSLinux's t
by tombl 1y ago
Fabrice does a great job at building these self-contained pieces of software which often grow to have lives of their own. As a lesser known example, JSLinux's terminal emulator was forked a few times and is now known as xterm.js, which has become the predominant web embeddable terminal emulator.
This all comes full circle, because now I'm building a true successor to JSLinux that's way faster because I've natively compiled the kernel/userspace to wasm, and of course I'm using xterm.js for the terminal emulation.
If you like buggy demos that probably shouldn't be shared yet, you should check out https://linux.tombl.dev https://linux.tombl.dev, but note that it's currently just a busybox shell and nothing else, so I hope you're good with `echo *` instead of `ls`.
- fsiefken 1y agoAwesome, I suppose it's more energy efficient then jslinux and can be run on iOS, it might be a good alternative for A-Shell or iSH. I tried it on my a MacBook, but the keyboard input doesn't register.
- agumonkey 1y agois there any command working ? ps, cat, vi, ed .. they all crash (I don't know enough about embedding busybox to know what to do)
- pantalaimon 1y agoThis produces attempted to munmap ------------[ cut here ]------------ WARNING: CPU: 3 PID: 36 at kernel/exit.c:812 0x00000000 CPU: 3 PID: 36 Comm: sh Not tainted 6.1.132 # Stack: at vmlinux.o.__warn (https://linux.tombl.dev/dist/vmlinux-NLTKI6YG.wasm:wasm-function[278]:0x17655) at vmlinux.o.warn_slowpath_fmt (https://linux.tombl.dev/dist/vmlinux-NLTKI6YG.wasm:wasm-function[279]:0x1772b) at vmlinux.o.do_exit (https://linux.tombl.dev/dist/vmlinux-NLTKI6YG.wasm:wasm-function[329]:0x1985e) at vmlinux.o.task_entry_inner (https://linux.tombl.dev/dist/vmlinux-NLTKI6YG.wasm:wasm-function[154]:0x12249) at vmlinux.o.task_entry (https://linux.tombl.dev/dist/vmlinux-NLTKI6YG.wasm:wasm-function[153]:0x12155) at self.onmessage (https://linux.tombl.dev/dist/worker-MHWHWELT.js:151:53) ---[ end trace 0000000000000000 ]--- on any command
- chjj 1y agoThis brings back memories. I haven't looked at it in a while, but I'm glad to see the fork[1] of my fork[2] from 12 years ago is still thriving. Looks like it's been mostly rewritten. Probably for the better. [1] https://github.com/xtermjs/xterm.js https://github.com/xtermjs/xterm.js [2] https://github.com/chjj/term.js https://github.com/chjj/term.js
- apitman 1y agoI like to say Fabrice creates side projects that others spend their entire careers maintaining. I knew about QEMU, ffmpeg, his LTE stuff, and QuickJS. I had no idea xterm.js started with him too.
- simonw 1y agoHe's also been hacking on a (closed source) LLM inference server since the GPT-2 days: https://bellard.org/ts_server/ https://bellard.org/ts_server/