It looks like you need to enable JavaScript JIT. To do that, go to the website, then tap the three dots in the top right corner, then "Site controls", permissions, then allow JS JIT.
Thank God for sane defaults. JIT is powerful but letting a stranger run unvetted code on your machine is already insane enough without throwing JIT into the mix.
Huh. This was, more or less, wholly predicted by Gary Bernhardt's 2014 Pycon talk: "The Birth and Death of JavaScript" (which is, if you haven't seen it, hilarious)
Once upon a time we had mostly mainframes running various bytecode formats, with interpreters running on microded CPUs, Burroughs and BESYS are two well known examples for how far back it goes.
That was exactly the talk that popped into my mind when I saw this. I specifically remember the interesting points about how you could potentially make it more efficient by removing some of the separations between userland and kernel.
This is great. Towards the last quarter it even pushes the same idea containers supposedly solve (bundling all the dependencies together into one thing you can push to a server) but framed in stupider JavaScript terms.
It is kind of hilarious to see containers folks, embracing WebAssembly, and then selling Kubernetes WebAssembly pods concept, to do exactly the same thing Java and .NET application servers were doing 25 years ago.
It is kind of hilarious to see car enthusiasts embracing modern cars - they do exactly the same thing cars were already doing more than 100 years ago! I mean, they both have spinning wheels after all!
Better for servicing it yourself. Definitely not because modern cars have all kinds of vendor lock-ins.
More reliable digital components? Nope. There’s a lot more that can go wrong in modern cars.
More reliable mechanical parts? Depends entirely on the car.
Fewer distractions when driving? Older cars with tactile controls will always be better than modern cars with touch screens
Don’t get me wrong, I do think there is a false economy in keeping older cars on the road. But generalisations like “better” don’t really work when it comes to a topic as broad as cars.
> You are blinded by nostalgia and bathtub curves.
I never said I preferred older cars. I said “better” is a meaningless generalisation.
And I would advice you against making assumptions. They usually end up being wrong. ;)
> Car warranties were 90d/4000mi in the 50s, 2y/30k in the 60s, chaos in the 70s-90s, 7y/70k in 00s, and stabilizing around 5y/60k now.
Which has exactly nothing to do with anything i posted.
> Cars these days also don't require much maintenance beyond oil and tire changes are are generally expected to last 200k.
That’s blatantly untrue. There are a plethora of consumables in a car that aren’t expected to last 200k such as lights, cam belt, clutch, breaks, engine coolant, land so on.
There are several countries (eg the UK) where the car wouldn’t be road legal if all you’ve changed after 200 thousand kilometres (or miles) is tyres and oil.
Edit: Unless you mean 200 kilometres, which would be a very dumb statement because you’re now in the realm of distance that humans walk over a few months.
Education platforms are going to have a field day with this. Every student gets their own Linux environment right in the browser, with virtually zero server infrastructure costs. That's a game changer.
While education platforms is one thing, I wish schools just used Linux in their school computers. Imagine how much better the average digital literacy would be if that had been the default since 2005 or something.
Besides the VM approach, already in 1993 we had our UNIX environment right there on a Windows for Workgroup terminal session into the school server, where each student would get their own $HOME with enough quota for the assignments, and playing around, without messing stuff up.
But Virtualbox et. al. are a nightmare to get approved by school IT departments, ask me how I know. I used to teach an after school coding club and this would have been an absolute godsend, we were limited to code.org and such so we were never really able to do anything ambitious.
if @fzakaria // pooya are taking requests - a good usecase would be to enable windows programs in the browser (connect webUSB are we're golden for a long tail of various devices software).
So essentially open browser - drop installer exe, and it saved on the local disk. and next time you open the tab, you continue the program with it's data.
(Last time I made a request, it was vibed in a day!)
It was posted recently and is similar in idea to unkernel but it goes further in virtualizing the hardware (and thus can run unmodified Linux kernels). Raw CPU performance is better but it uses more resources.
For a very rough comparison I like to think of it as unkernel is more like docker (kernel doesn't matter, you just want to run an app) while waarm64 is more like a real VM.
It's just so cool seeing the different approaches made possible using wasm and LLMs.
+1 for this if it can effectively work but I'd recommend 2 different things.
1.) Whether its through wine emulation where although there is some parity, one can say that there can be software which can detect that it's running in a wine.
2.) Somehow emulating it on a more deeper level. Like, my use case for this (especially with what you mention of webusb) is sort of that I had a redmi phone which I wanted to root but I genuinely couldn't because it required me to have windows and I tried so many things but it really really failed to work as within the vm's it didn't detect my phone for some reason.
I just didn't want to install windows on my main pc which btw is so time consuming to download and then setup only for this use case. I am far away from windows and I tried almost everything in some sense to make it work but I just straight up couldn't make it work.
All I wanted was a place where I can just root the phone because it was a bloated piece of software and I wanted something faster in my daily life.
And I imagine that something similar might be happening for printers and other devices where windows are still used as well.
Fzakaria has been on a grind lately, so lets hope he builds something which can fix this issue as well! Browser is also just the perfect target for sort of this ephemeral sandbox type of thing imo.
Pardon my ignorance but what is the difference from the user’s perspective? Is emulating the hardware vs compiling to wasm just an implementation detail?
I think the WASM kernel is likely to have better performance, maybe more edge cases in compat. It's genuinely wild to me how responsive UI is on unkernel
Had some fun testing the concurrency. Was able to execute 4 concurrent md5sums with the same wall clock duration as a single process. Then tested installing Chromium and trying to run a nested Unkernel within that, which didn't work.
You could try running one of the other ones people posted. You can also try it in Firefox. Since Unkernel provides a Linux kernel and supports aarch64, one of the browsers should be able to run one of those, maybe one of the simpler ones. Here is the other comment in this thread: https://news.ycombinator.com/item?id=50674542
Not saying that a modern browser is simpler than Doom, but still, I think you might be able to get one of those to load. Someone successfully ran Postgres, which is very large and complicated.
Edit: nested, I was able to get as far as starting the smallest package I could find on trynix.dev, I just put in nano and then loaded the earliest version I could find. Here are the steps:
1. on your own computer open a tab in Chrome or Firefox and go to unkernel.dev and wait for it to load.
2. in the shell inside unkernel type:
chromium
This downloads and starts it within the Linux environment your tab is running! It is very fast.
3. In the nested Chromium tab (inside unkernel.dev), go to trynix.dev and look for a very small package, for example nano and scroll down to an early version, select it and click boot.
It will then boot, so now you're running unkernel within unkernel. I got this working on a 2026 Mac mini. (24 GB of RAM).
installed firefox, browsed to some random page only to see the clouflare gate for 3 minutes. good reminder how much worse the modern web must be for people with low-power "old" devices.
You already have WebAssembly obviousy but also WebMIDI, WebGL, WebXR, WebCrypto, etc and some things like WebUSB or WebGPU only in some browsers. So many mobile and desktop "applications" are actually WebApps running in a hidden browser like Electron.
So... yeah, basically only few things aren't actually run in the browser nowadays, AAA video games and large distributed compute.
There are plenty of OS that runs inside a web browser. But are there any known hobby project where the entire OS from metal is just basically a web browser?
> On iPhone and iPad every browser (Safari, Chrome, Firefox, …) uses the system WebKit, so JSPI depends on the iOS version: update to iOS/iPadOS 27 or later. This is Safari 18.
I was a little bit on the fence about iOS 27, and the whole Liquid Glass thing. But these days there are so many vulnerabilities and exploits found all the time by LLMs, it’s even more important now to stay up to date with security updates and quickly even though I was always taking it seriously and regularly installing security updates.
At the moment, iOS 18 is still also receiving security updates, so you don’t have to go iOS 27 quite yet. But I’m not sure for how long that will continue so I think it’s better to just install iOS 27 if your device supports it. Instead of suddenly being still on iOS 18 and not realizing that the security updates have stopped coming.
Liquid Glass isn’t all that bad. I don’t think it was much point in adding it, but I don’t think it’s doing any harm either really.
I think this is huge, because it simplifies so many things. You can now distribute virtual machines running on the client seamlessly. E.g., one click on a link and you have your complete development setup running in a browser on someone else's machine.
> Why bother with a hypervisor when you can just compile to Wasm and boot the identical binaries on anything
I’m not convinced hypervisors are going away because they present a far smaller attack surface than a JIT Wasm runtime.
One thing that’s unclear to me is what advantage compiling the Linux Kernel to Wasm provides when user land is still emulated over running the Linux kernel itself in the emulator.
> I’m not convinced hypervisors are going away because they present a far smaller attack surface than a JIT Wasm runtime.
The attack surface for VMs in the kernel is quite large - the whole KVM system and related qemu/other VMM functionality (user space drivers of all sorts etc).
Yes a JIT Wasm runtime is not ideal but wasm in general is very robust and safe. Before a module is added to the rest of the wasm/javascript code, it is validated by a wasm checker. If is is malformed in any way it will be rejected
KVM plus a minimal hypervisor is still an order of magnitude smaller than something like wasmtime though. The risk is not so much malformed Wasm/javascript code but the risk of exploiting miscompilation by the JIT. Wasm interpreters are much smaller and safer but much, much slower.
I'm trying to run an app I've been building targeting Linux, wondering if I could embed a preview of the actual app. I got it running, but I need v4l2/webcam support.
I hope you did not mean "Browser is the new OS" as that does not make any sense anyway.
> Everything that can be written on top of JS/WASM will be written in browser, that includes OS, and the browsers themselves.
But should it?
Why do we assume that there is some "guarantee" of running something like the Linux Kernel in the browser means that it is "isolated" or even "sandboxed" (which we know it isn't) when we are a couple of Pwn2Own CTFs + frontier AI agents away from finding that out?
We are not in the era of humans finding / writing exploits for bugs, which this might have been a high bar for humans, but it is certainly not for swarms of frontier agents.
JS is bad enough to being abused by attackers against the (memory unsafe) browser engines running it. So I cringe from a security standpoint at this when everyone is believing that the next shiny object (WASM) is going to give some guarantee of isolation when it is untested against abliterated AI agents.
I don't actually know how the kernel boots but isn't a lot of time dedicate to actually probe the actually physical hardware, so actual IO, and thus here the comparison in time is pretty much pointless?
This is pretty amazing. I really like the AI integrations with fx and smaller models -- not necessarily useful but fun.
Note that the Qwen-3.5-0.8b model has issues with fx sending multiple messages a round to llama.cpp (which is behind Ollama), but you can substitute Pi agent quite easily and it works well.
There is an increase in upvote rings on HN posts these days, to game the algorithm and then post the same thing repeatedly with bots until it reaches the front page.
haha good point. i mean finding a way to do this with very few clicks and wait time. instead of something that needs a credit card, password manager, and bunch of time.
I tried turning this into a practical tool but it just doesn’t work, the emulation is so slow that it struggles to do anything meaningful.
The desktop isn’t a real desktop, it’s a JavaScript webapp. The “smooth desktop” is just a website pretending to be an operating system. That’s why it “loads” so quickly on mobile. Behind it is the web assembly kernel that’s capped at 4GB and runs at least 20x slower than the hardware in my benchmarks.
maybe i‘m getting old, but what is a use case for this? I mean it looks cool and is amazing that it is possible…
Not trolling I seriously try to understand it.
Other than continuously mentioning "birth and death of javascript" and running toys in the browser, there isn't really a serious economic use case to this.
I both love it but I wish we'd seem more investment in actually bridging the web and "native" apps with wasm too. Emscripten has done wonders, but I feel like there's so much userland we could build out of wasm, that doesn't need a whole Linux kernel running under it.
The wland wayland compositor this project uses is a great example of exactly that sort of interop, that kind of glue. It's enriching the web without quite such a "Towards a Modern Web Stack" rip and replace of the web. Even if it is just a huge massive canvas.
The UI is a bit clunky though. It seems as if
these ideas, as great as they are, often begin
to fall down quickly after the demo-init stage.
Would be cool if someone could extend this and
put down all interactive shells in it. Many years
ago, _why (in ruby) put down the first irb on the
web. I think we need this for all programming
languages. Kind of make a universal terminal via
the browser.
Machine Room is a browser based emulator with a Korz based JIT. To celebrate the PDP-10's 60th birthday here's a PDP-10 running ITS with ZORK, MACSYMA, MACLISP, and lots of other software. Here's a demo of the PDP-10 emulator running ZORK on ITS, Apple ][ emulator running Little Computer People, and PDP-7 emulator running Unix.
Video demo of Zork on PDP-10 and Apple ][, including free Korz 6502 and PDP-7 JIT demos:
CRAZY! What is this sorcery? I'm just baffled at how buttery smooth this is.
You know what it tells me? macOS is so fucking bloated that a Linux on WebAssembly in a fucking browser with 2GB RAM runs better than the host macOS where the browser is running.
I really want to see the day where you can run WASM on the web and have complete access to the viewpoint and gpu, so no JS and dom and layout engine and html and css in front of you. Then the world could be amazing. I really really want to code in a sane environment that works everywhere. I hate the broken buggy web with all of its CSS nightmare, page not getting loaded completely, things breaking, everything being a hack... I want a clean boring language with little to no contradiction like Dart and Go where things almost always have around one way to be done. A simple system like Flutter, and the solidity of the normal UI kit where things don't fly, 1px means 1px, components are isolated by default... man I hate web...
You'll loose any accessibility support that way (at least today). There's already js frameworks that do that via canvas and they have major problems with text. Even copy paste is a hack to support there.
nothing is stopping you from drawing everything onto a canvas in your favorite language compiled to WASM today. but i think you underestimate how difficult cross-platform, accessible, responsive GUI is to implement.
honestly its hard to beat web technologies for making GUIs nowadays. there is a reason why they're so popular, even outside of web browsers. sure its not for everyone, but CSS is getting really good nowadays. and there is a ridiculous number of frameworks available, you're sure to find one that fits what you want
HTML/CSS is an environment that works everywhere. your comment really feels like you're talking about the web circa 2015, things are much better nowadays
i dont know what you're referring to by "broken buggy web"? anyone can make buggy apps in any environment. remember the web has no review process, anyone can publish anything, unlike apps on app stores for example, which get thoroughly reviewed before being published
its okay to "hate the web", though, to each their own :3
From first contact in the README, the LLM-speak is strong with this one. 25 uses of the cool kid "X, so Y" assertive idiom.
Obviously lots of other great things to say about this project, but I feel this kind of introduction is seriously off putting. It's a general problem but I hope that it can change in the future (or more realistically that I manage to get used to it...)
I was going to cite only the worst offenders but almost all of them are terrible so here's the almost full list (slightly edited to make the idiom stand out):
"The kernel is compiled code, so programs get Linux's behavior"
"unmodified aarch64 Linux binaries, so packages run as they are."
"ARMv8.0-A with FP, so distribution binaries run unchanged"
"aarch64 is a first-class port, so their package archives are available."
"The SDK is MIT-licensed, so you can ship it."
"The wallpaper is a random photo, so the page fetches one on every load" (in my mind this one is the worst)
"Browsers can't open raw TCP sockets, so the page reaches the internet through a Wisp proxy."
"kwemu walks the kernel's own page tables, so memory management is done by the real Linux code."
"Task switches use JSPI, so the kernel gets real stacks."
"Any object can carry the guest's TCP and DNS, so you can write your own backend."
"vm.connect(port) reaches a TCP server, so it needs no network"
"the host name only goes into the Host header, so vm.fetch("http://localhost/") reaches a dev server."
"/dev/shm exists once the guest's init has mounted it, so wait for the guest before create()"
"Node has no WebGL, so gl is ignored with a log line."
"Node has no WebGPU, so vk is ignored with a log line"
"There is no guest agent, so you drive the guest"
"stop() doesn't shut the guest down cleanly, so prefer poweroff"
"Types ship as .d.mts, so a Node-only TypeScript project needs skipLibCheck"
"The JavaScript SDK and page are MIT, so you can embed them anywhere."
"The npm package ships a Linux kernel (GPL-2.0) with a small base system, so it is MIT AND GPL-2.0-only"
Projects speak like this, so readers get annoyed. This generates a lot of frustration, so even good projects are rejected. Worst of all, the day to day experience is terrible, so people stop being curious and reading the explanations.
You are annoyed that developers of a free (here GPL+MIT) software, despite whipping up a great project, didn't generate a pleasantly readable documentation. I find your sentiment totally understandable, and wish it was otherwise, too. On the other hand, posting such an elaborate complaint here, with a list of cites strikes me as entitled critique. With it, you place the burden on the developer.
Meanwhile - if you are actually curious - you could use an LLM yourself, to rewrite it to whatever style you like without effort (except prompting it to use the style you want to have) to greatly reduce 95% of what you are complaining about.
Because sharing a project is about sharing the idea of how it’s done. And when you want to learn that and you encounter the sloppiness, it felt like the dev is not interested in sharing knowledge and just want to show what has been built.
Also for me, great thing is shared in both form and information. If not, it’s merely a curiosity.
They're both valid. And the latter one is usually how art pieces showcase are usually done and tech exposition. But if you go and share the code as well, be ready for critiques, especially when it's not fit for human consumption.
You can be a great painter, but you can't expect people to refrain commenting is your workplace (which you made open to visitors) is a wreck.
> You can be a great painter, but you can't expect people to refrain commenting is your workplace (which you made open to visitors) is a wreck
Fair enough, but if someone went into Jackson Pollocks workplace, because it's open house day, and loudly complains that they don't like how he generates the titles for his work, or that he doesn't provide explanations, I think "so what" is a fitting reaction from other visitors.
I didn't mean to sound entitled sorry. Maybe the next generation of llms trained from scraping the internet will incorporate a part of my comment to improve their style ?
However solving an llm problem by using more llms doesn't sound right.
If you have an issue with the parent comment, perhaps you'd consider expanding on what exactly it is, rather than just dumping a sarcastic dismissive?
They're obviously saying it is unnecessary and distracting. This is a widely cited contemporary sentiment. If you're bored at hearing so, that's the point.
and
https://michidk.github.io/sidebyside/
And today: https://github.com/fzakaria/tabernetes