Hacker News new | ask | show | jobs
by solyin 13 days ago
Fabrice Bellard beat you to it, with jslinux in 2011.

http://bellard.org/jslinux

4 comments

The README mentions this and discusses differences from other approaches. JSLinux is fully emulated, the kernel is not compiled to WASM.

https://github.com/pithings/unkernel#-how-it-works

It’s hard to know which one came first really…
My test workload today was 40% slower on jslinux than unkernel, which surprised me tbh, and then some microbenchmarks were 4-40x slower - but on the plus side, all the workloads indeed worked unmodified.
We don't really count that, if it's technically possible, fbellard has done it already. We care about what mere mortals do.
I know you jest but pithings used LLMs in this project
The word “real” in the title gave that away immediately. LLMs love calling things real when there’s no reason to.
fbellard is the neil cicierega of technology
fbellard has been silently updating things (if I were an LLM, I’d say “quietly”). For example:

https://bellard.org/ffasn1/

ASM.1 parser compiler, updated 10 days ago, including a Cosmopolitan build.

If I remember correctly his day-to-day involves working on cellphone infrastructure, which heavily uses ASN encoding.
He is a mortal. You didn't write jslinux because you don't want to, didn't try, or weren't born yet. If you actually want to write jslinux, go and do it.
Do you take everything literally, or is that kleptomaniacs?
My point remains valid no matter whether it offends you. The biggest barrier to doing something like that is inside your own head.
You really do then. I see.