Need help?
<- Back

Comments (230)

  • semiquaver
    Gary Bernhardt has to be one of the least-well-known “software heros”. I would honestly rank him among Fabrice Bellard and John Carmack in terms of foresight and brilliance. Every thing he has ever produced is solid gold and I believe I owe much of my success to learning and emulating his excellent taste when I was earlier in my career. It’s a shame that he doesn’t really do destroy all software anymore, I would love to see how he works with agents.
  • gbl08ma
    I had been working (read: prompting Claude) on https://waarm64.com for two months and it was slightly heartbreaking to see unkernel get all the attention when I was like two weeks away from a public announcement. It would obviously have been worse if I had actually built more of mine "by hand," but still, even if just doing by orchestration/"asking good questions to the LLM" kind of work, I spent probably over a hundred hours on it. I rushed its release, but now I don't even really feel like working much more on mine anymore, even though it achieves (or achieved) better performance than unkernel and (for now) still has a more complete feature set. Oh well, it is in line with the motivation I had for mine, which was to see if LLMs could help one person build that sort of thing. Turns out that not only can LLMs do the bulk of this kind of work, they can do it so well that numerous projects of the same kind are popping up pretty much simultaneously. They still can't make WebAssembly beat hardware virtualization, though :D
  • glimshe
    Around 5 years into my career, I became a tech lead. Over the following years, I slowly drifted towards roles that had less hands-on technical work and more managerial responsibilities.I've always struggled with leaving hands-on work behind but what made it at first tolerable, and then a blessing, was the rise of Javascript. I think Javascript is so awful, and until recently so prevalent in the roles available to me, that it made me want to not be a Software Engineer anymore. I felt that Javascript was some sort of joke that stayed around long enough until it became a cancer to Software Engineering.I only stayed in the profession, eventually as a manager, because I like dealing with people and still found "human problems" intellectually challenging and rewarding.Every day you read many comments here from people who believe that AI took the fun away from their work and lives. It destroyed the reason that made them want to be Software Engineers. That's exactly how I felt about Javascript.But I feel the complete opposite about AI. In fact, AI brought back the fun that was stolen from my life by Javascript. I'm now retired and spend a good amount of my day working my own programming projects. And I'm absolutely happy to vibecode all the Javascript parts (which isn't a lot in my projects) so I don't ever have to see this damn thing in front of me again.
  • Primer81
    The article is jarring for me - in my 10 years of experience in the software industry, I haven't ever come close to needing javascript for anything. Javascript has certainly not taken over the world - just web dev AFAIK.
  • Kuyawa
    There will come a language for all platforms better than rust, designed by AI. And it will come with a browser, and it will take the world by storm. One language to rule them all, one browser to bind them...If it can be optimized, AI will do it, and when there is no more optimization to do, then it will settle as de facto, for everything, and forever. And that time is not too far in the horizon, a couple of years at most* Prediction before 2030
  • hollowonepl
    Yeah, that's fine, everything can be written in everything.I remember these pitches as early as 2008-10 from various Mozilla evangelists who were pitching that browser will be the OS and javascript will be the platform for all apps.I kind of doubted it and I still do. Of course a lot of stuff is written in Js.. because web is based on Js. a lot of desktop apps are written in Js (+Electron) because people who are not good at native development (and also platform vendors are not helpful to provide consistent approach to GUI and desktop apps) decided that Js+Electron runtime is best way to write portable apps.It works.. but I personally hate each and every desktop app written in Javascript due to the bloat factor measured by its size overhead and performance impact.People write backend/server side applications in Javascript because of NodeJs.. and that's more legit to me, although just one of many fashionable ways to create a web server these days. nothing truly unique outside personal choice and recommendation on per project basis.So web in the browser wins (although if somebody invented better way to create client side application without Javascript I'd bless him.. it's such a horrible language). Server side is ok-ish to consider if one likes it... and for true client side apps which belonged to desktop in the past... well actually rust, crystal, nim and all the renaissance of native development + gui libs and LLM that accelerates the development significantly... I'd assume electron apps should reverse.Web adoption also may be kinda shaky as with all the crawling and surveillance around web+browsers.. I do really hope 2035 will bring alternatives there first... regardless of the programming language of choice.
  • Cu3PO42
    Farid has been on an absolute roll recently. If you enjoyed this, I highly recommend his other blog posts.While I'm not sure about the practical utility of this, I love it as a demonstration of what is possible.
  • UltraSane
    This is a really weird article with its assertion that all software will be written in JavaScript
  • Tepix
    How is the performance of apps running on unkernel compared to wasix?
  • momojo
    I asked on the original unkernel thread[0] but I'll ask again:What do people foresee this being used for? `trynix` is only 1 fork downstream. What's 2 forks away? 3?This interests me the way V8 isolates or pyodide originally but I've since learned to curb my enthusiasm bc it always turns out "oh its not actually realistic to use this in production because..."[0] https://news.ycombinator.com/item?id=50533945#50598791
  • ManuelKiessling
    Does anyone know over which… channel(?) some of the traffic goes? On the Firefox Web Developer „Networking“ tab, I can see apt/deb packages being pulled in, but when e.g. I curl in a large file, the Network tab remains completely silent. Why is that?Also, how can the tab running unkernel pull in any external content at all if it’s not coming from the unkernel domain itself?So yes, in other words, this is at least one “matrioschka puppet” level too many for me, together with my not-perfect understanding of how browser origin/sandboxing works…
  • saagarjha
    Part of the justification in the talk was that people did this not just because it was funny, but because it ended up faster because of the investment in web engines. Well, is it?
  • sheepscreek
    FYI this is a wrapper around https://unkernel.dev which is the OG GOAT.UPDATE: for context, trynix had been around until unkernel showed up and the author switched to it from qemu.
  • schmuhblaster
    I really like how well the nix philosophy works here and I can see this being very useful for all sorts of agentic work. In my own side-project [0] I just use Alpine and run it in TinyEMU compiled to WASM, as it allows for riskv64, which is a bit faster to interpret than x86. (I built it on top of container2wasm, the maintainer of which - I believe - is also behind the qemu WASM that OP uses).Truly marvelous times we live in: I am by no means a system programmer or OS expert, but thanks to various coding agents and models I was able to add networking and overlay FS, a frambeuffer and sound.I wonder what the right approach is though. If the base system is run through an emulator, a lot of things can become unbearably slow for a lot of use cases, but at least as far as my limited understanding goes, a lot more could be achieved if there was more progress on the WASM/WASI standard side. Or maybe syscall emulation is a better way to go here like some comments suggest?[0] https://github.com/deepclause/agentvm (it wasn't mean to run in a browser, but you can let your favorite agent create a Wasi shim for web within maybe an hour or so...)[1] https://github.com/container2wasm/container2wasm
  • daugasauron
    https://slopshare.dev/v0.1.8/wine/https://slopshare.devhttps://github.com/daugasauron/dollySimilar idea but recompiling everything from source against a POSIX like userspace thats WASM native instead of running through emulator.
  • ivanjermakov
    Yesterday I was able to compile and run a game I'm making bit-perfect (physics world snapshot is the same) on linux and windows (via wine) cross compiled from the same machine.I'm happy that it's possible and working, but so confused why this is not something that comes out of the box. A long chain of technical decisions led to the world where a simple game written in C needs to be aware of multiple CPU architectures, OSes, graphics APIs, display servers, sound subsystems to have a chance to work properly on platforms it knows about.Cross platform support is difficult because platforms made it difficult and have no incentive to befriend.I hope one day we get posix v2 with performant standard APIs to not worry about platforms in application's code. Perhaps 2035?
  • MatMercer
    This is a very cool insight, but the "2035 came early" is a stretch, since all web browser engines and web assembly down to your device drivers aren't made in Javascript. If you take the % of what is exactly JS, maybe we arrive at 20%, 30%?
  • pontes
    Interestingly, I am building stuff not in JS because of LLMs.I am a run-of-the-mill web developer who knows only Javascript.I wanted to build an MCP, so asked LLM the best way to do it (with some assumptions that it would scale, etc) and it said to build in Rust. And there is a web component to the thing I am building, and it told to compile to WebAssembly.So I have a large project in Rust+WebAssembly, working as I wanted, without having no clue of those stacks.My impression is that JS will be less dominant, now with LLMs
  • swiftcoder
    I did not expect someone to get the nested browser-in-a-browser running this soon. Bravo!
  • zobzu
    brandon, this one's for ya bud
  • forcedtolinux
    Is there any way you can download files from the filesystem?
  • laozao
    This feels much faster than the last time I tried it. I wonder if further optimizations could make it practical to spin up a project’s development environment in any browser.
  • bartread
    Good grief.I remember thinking sometime a year or two back that I'd built a ridiculous tower of abstraction when I was running 16-bit Amiga games on a Kickstart 1.3 image running inside, IIRC, WinUAE running on Wine running on Rosetta running on macOS running on Apple Silicon but I can see now this that was real amateur league stuff and that I need to get into nesting operating systems inside browsers inside operating systems inside browsers...
  • reacharavindh
    All the obvious amazement aside, I am here wondering what desktop shell is being used at https://unkernel.dev ?It looks clean, minimal, transparency/modern, crisp, a superb dock implementation..I wish I could have _that_ as my regular Linux Desktop...
  • 0xbadcafebee
    Insanity, n.: having perfectly good, fast, stable, well-documented, well-designed, widely-supported programming languages, and throwing them away to instead reinvent the wheel in the form of a toy language created to make pop-ups in a hypertext document viewer
  • specialist
    One step closer to distilling the browser down to just protocol, canvas, local I/O, and runtime.Finally allowing an unhappy humanity to cast off all that HTML, CSS, DOM, event bubble, mime-type, etc. nonsense.Squint a little bit, and you'll see the ghost of JNLP (waving "Hi!").
  • lynguist
    What is the desktop environment used in https://unkernel.dev/ ?
  • singularity2001
    Still waiting for my wasm first language "wasp/warp" to replace jshttps://github.com/pannous/wasp/https://warp.pannous.com/
  • whacked_new
    This is so insane and so awesome in a pre-AI way. Tokens well spent!
  • penguin_booze
    > The proof is in the puddingThe proof is in the eating of the pudding. These days, nobody makes pudding with a proof embedded inside it.
  • zwischenzug
    It could have been tcl. I spent 14 years writing tcl (and Javascript).https://news.ycombinator.com/item?id=43588723
  • rcymerys
    At the same time, we can now use AI to rebuild anything as a native desktop app written in Rust.
  • oddthink
    The JavaScript folks always seem like they're in a bubble. I mean, yes, JavaScript is everywhere on the web. But, no, 95% of my code (and the code of everyone adjacent to me) is Python, with some C++ and Go to fill in the cracks, and I don't see any sign of a mass migration to JavaScript.
  • petterroea
    It's cool but doesn't even run `bb`[1] with decent performance, which is a shame.[1]: https://www.pouet.net/prod.php?which=6176
  • boxed
    Well.. the prediction was about JavaScript. This is WebAssembly. A big part of the reason the timeline accelerated is that the goal post was moved. A lot.
  • tambourine_man
    I hope the nuclear war prediction doesn’t come true as well.
  • logicallee
    Unkernel (mentioned in the article) was recently on HN here:https://news.ycombinator.com/item?id=50533945Doom working in it (my comment):https://news.ycombinator.com/item?id=50602937includes link to a youtube clip of it if you're impatient.
  • F117-DK
    Pooya is the ! Just hope he won’t leave Nitro behind. But what a time to be alive!
  • markasoftware
    LMAO HE'S USING WISP https://github.com/MercuryWorkshop/wisp-protocolWisp is a component of a sketchy but impressive pre-AI project created by high schoolers to develop state of the art html5 based proxies to bypass restrictions on school networks that block game sites, etc. By "HTML5 based", I mean you don't get to run a socks proxy, change your browser settings, etc (many schools just distribute Chromebooks). Instead, you have to be able to navigate to the proxy site, type in the blocked destination URL, and then the Javascript on the website makes it act like the other website. The rough architecture is that it loads a proxied version of the site's homepage, with a pretty fancy rewriter that modifies some asset urls and stuff, uses service workers to intercept ajax requests, and then overrides js functions to even intercept and proxy websockets. This is what it takes for modern SPAs to work. Supposedly their latest proxy Scramjet https://github.com/MercuryWorkshop/scramjet is actually good enough to stream desktop games via the GeForce NOW website. I think this is an instance of it running: https://invisiproxy.com/browsingAnyway, WISP is a bad protocol. Its essentially meant to be a very shitty http2-like protocol that multiplexes tcp streams over a single tcp/websocket stream. This is fundamentally not very hard, all you really need to do is be able to tell which data comes from which stream and do flow control. They fucked up the flow control, though: The CONTINUE message indicates how much buffer space is available / how many more bytes can be accepted on a given stream at the time the CONTINUE message was generated. Every respectable protocol for flow control would instead transmit an absolute offset (eg, the sequence number in TCP). Because of this flaw, you can never be quite sure in WISP how many more bytes the other side is willing to accept on a stream: If you receive a CONTINUE frame while you were in the middle of sending packets on the same stream, you don't know which of your inflight packets should count against the remaining flow control budget transmitted in the CONTINUE frame. They made two different versions of the protocol over time, and both suffer the same issue. I tried to tell them on their Discord but the only one who understood the flaw didn't seem to care that much. https://github.com/MercuryWorkshop/wisp-protocol/blob/v2/pro...Regardless, I'm very proud that high schoolers are still up to the same sorts of shenanigans I was.
  • taf2
    trynix is pretty nice... gcc package installed and 118MB download later... vi and a quick:``` ~ # lshello.c~ # gcc hello.c -o hello~ # ./hellohello world~ #```
  • fragmede
  • panny
    >Any application that can be written in JavaScript, will eventually be written in JavaScript.False. JavaScript is still not written in JavaScript.
  • lifestyleguru
    None of that thing is loading. I don't see anywhere "browser inside a browser". Do I need 2k EUR of RAM for it?
  • throwaway27448
    I know there is some use of webassembly in the browser, but I'm not sure what the last time I actually used it was. I really hate using the browser if I can avoid it and pretty much everything that can be compiled to webassembly works fine natively.Plus, with LLMs, the advantage of having a single mediocre common ground disappears. Anything with actual user interfaces will benefit from native targeting.
  • ravivarmat
    [flagged]
  • Helen7
    [dead]
  • dude250711
    JavaScript, HTML and CSS are an absolute trash and the fact that AI can insulate me from them makes me very happy.