217 points · by edward · 3w ago · 171 comments
> The web browser is very, very, very powerful software for applications, and the cost of accessing that power is going down seemingly every day.
It's wild how much easier it is to build things that harness web technology these days. I'm building features on top of three.js and offline storage and SSE and WebAudio and WebAssembly multiple times per week these days. I used to tinker with some of those maybe once or twice a year.
would be fun to revisit and see what v2 would look like today, I have a feeling I wouldn't be manually recording voice lines this time around ha
Ask your LLM, "Can we remove three.js so that we can re-architect the graphics system to be more optimized for our specific use case?" and see what it comes back with.
Here's a thing I made in Three.js this morning - a Nudibranch themed Faberge Egg: https://static.simonwillison.net/static/2026/Hidden-Reef-Egg... (77KB)
I just asked Claude (Opus 5.5 Medium running in regular Claude Chat) to port that to Vanilla JS, in the same thread where it had built it, and got this: https://static.simonwillison.net/static/2026/Hidden-Reef-Egg... (98KB)
They aren't identical - you can see what Claude said about that in the transcript (I don't fully understand why it differed): https://claude.ai/share/e56d163e-2793-4677-aa11-191d5058b414
But yeah, it turns out Claude Opus 5.5 is perfectly capable of 3D modeling in Vanilla JS + WebGL without Three.js.
In eyeballing the code I find the Three.js slightly easier to understand myself, but I rarely look at the code for these 3D projects so that isn't a particularly big deal.
Also, comparing, the three.js version downloaded 395k representing 1.6meg of data. The raw version downloaded 109k representing 200k of data. You listed the three.js version is as smaller but it's not smaller, it had to download three.js
Vanilla : 173,4 ko
Vanilla gets way better FPS on my M1.
I checked the repo, and it is written by Claude. Does this count as writing it himself?
"He wrote it himself" doesn't analogize to "give a friend a ride".
Not to mention trying to convince them to use the latest version with all the (mis)features it might have: they have no choice!
Web is very ubiquitors. Works on desktop, works on phone, works on raspberry pi, works via cli, agent can browse it, human can browse it.
All you need is a url. You can pass via word of mouth.
The problem with web, is it got complex and jammed. So native apps still have an edge in performance and what they can access in platform.
Google and Apple make billions from their app store fees. So they're not too interested in web apps being as powerful and efficient as native apps.
The web is phenomenal though.
That AI is making it easier is happenstance, it makes generating UIs in anything easier.
You just placed controls at absolute coordinates and they worked. When you ran the program it always looked exactly the same as in the editor. Later Windowses could scale it up by a constant factor for high-DPI displays.
In hindsight it's an excellent use of the KISS principle. We didn't need layout managers. Yes the window couldn't be maximised, but so be it, this was fine for many windows. If you did want that then you had to recalculate the widget positions yourself.
Exemplary of this style, I think, is the Windows 95-98 display settings window. The one every kid discovered because it was quickly accessible by right clicking the desktop and selecting "properties".
The other side of that coin is training. You can train people on VB in far less time. Most people writing JavaScript for a living have absolutely no idea what they are doing. Most of these people are completely reliable on React to put text on screen and then other languages at absolutely every opportunity. While there is amazing stuff coming out of a select few start ups and many open source projects, those people are not the typical corporate software developer.
Many people (me included) like to complain about how systemd is trying to overtake everything, but browsers are a lot worse than that. Even if I can realistically choose my OS today, I have to run most apps in a browser. And the browser landscape is not that nice in terms of freedom: Google controls it through Chromium, Apple manages to force their users to use Webkit, and Firefox... is marginal.
More than that: I can realistically assemble my own OS, that is actually feasible. The one tricky component that I will need to integrate, though, is the browser. And the browser landscape, again, is totally controlled by BigTech.
Pushing for webapps is pushing to lock us into Chromium, controlled by Google. I don't see what's great in shipping a copy of Chromium embedded in a webapp and calling that a "desktop app".
I want control and diversity. The Web is far from there, and for some reason people love that.
Native apps have their place, but the average everyday user is becoming more and more hostile to the idea of installing an application and just using their existing web browser to accomplish the same task. I know I would rather use my limited SSD space for photos, games, and movies, than 100 different apps. Also supporting hundreds of different pieces of hardware isn't economical for most projects. The web solves both problems in that it gets your app into the hands of users immediately and you can delegate the responsibility of supporting various hardware to the browser vendors.
Google also doesn't own the web contrary to popular belief (Even if they have an outsized amount of influence). The web is an open standard, anyone could hack together their own browser if they wanted to with enough time and effort. That amount prior to the AI era was so large, only a shop like Google, Firefox, or Apple could put in the time and effort required to make one, and the amount of time of effort that requires is falling significantly day-by-day due to LLM generated code.
Do you actually use 100 different apps in the browser? The web is nice for loading websites, obviously you shouldn't have to install one app per website. But anything more complex than a website should be a program you install.
> hostile to the idea of installing an application
When you load a webapp, you download and run it. It's actually pretty similar to "installing and deleting right after use". If I look at mobile phones, people most definitely install apps they care about. Nobody would use whatsapp from the browser on their phone, or Instagram, or TikTok, would they?
> isn't economical
Oh yeah, I agree that the cheap option is to have a webapp. Usually it's not even done well: I often have to run Chrome because the cheap webapp doesn't work on Firefox. Next step to get cheaper: vibe-coded webapps. We're getting there, but it does not make it desirable!
> Google also doesn't own the web contrary to popular belief (Even if they have an outsized amount of influence).
Are you really trying to say that "the web" is not "the property" of Google? I mean, I agree, but... do you actually believe that this is what I meant?
The big distinction is security policy. There is a tremendous amount of things you can do in the browser that you cannot do on the desktop if you do not own the computer.
Yes. My tab count regularly exceeds 100.
> If I look at mobile phones, people most definitely install apps they care about. Nobody would use whatsapp from the browser on their phone, or Instagram, or TikTok, would they?
You're confusing volume of applications with time spent on applications. These users have 2-3 tasks they're willing to download and install an app for, but chances are you will never develop an app billions of users will have open for most of the day, and most users don't want to download an app to do things outside of Instagram, TikTok etc.
> Oh yeah, I agree that the cheap option is to have a webapp. Usually it's not even done well: I often have to run Chrome because the cheap webapp doesn't work on Firefox. Next step to get cheaper: vibe-coded webapps. We're getting there, but it does not make it desirable!
Invisible hand of the free market tends to take care of that. And I say that as someone who leans liberal progressive when it comes to economic policies. I doubt the 1.0 versions of many "hand-crafted" apps would hold up to today's standards either.
I really don't understand how some people think it's possible to craft a "perfect" version 1.0 of anything and then release it out into the wild with 0 problems. This was an issue BEFORE vibe coding. Does anyone here remember the first release of Cyberpunk 2077? Software doesn't magically improve by itself, it has to run into real world friction and feedback from users to get anywhere. Even if that feedback is just "this app is vibe-coded slop".
> Are you really trying to say that "the web" is not "the property" of Google? I mean, I agree, but... do you actually believe that this is what I meant?
Yes. "Chaos is a ladder". Instead of bemoaning the state of the internet, it's more productive to find opportunities in the current chaos.
I would if those apps didn't intentionally make the web version worse than the app. There was a small amount of time where TikTok was under scrutiny from the US government and not available for download. Somehow, during that time the website worked just fine, but once the deals were signed and the app was available for download again, somehow the app became too complex to work on the web. Funny how that works.
Back when a web browser meant parsing tags and deciding where to place floating images, you could reasonably write your own. Now there's just too much of it. Even without JavaScript.
i find it ridiculously uncompelling. it's always felt not like a well formed grounded way to be. it's amazing that we have really good capable platforms that can help us. especially when there are multi-polar orgs like w3c and what and lately wicg that serve as stewarts, that watch over these platforms. when there are often ietf tie ins. when there are projects like interop that help move the platform forward across browsers, agree on the baseline.
what's so viciously deeply libertarian coded to me about this assessment is it's me me me me me. what can i do? what can i make? what software can i build? with some notes of fear to tell you google is bad. beware google. i realize the anti-google sentiment is super strong in the world, but after being around the web for decades i can hardly say what thanks and joy and celebration i have to google for building the ultimate existential hedge against everyone else: a free platform for the free world that runs free on endless devices, that is the only free platform the world has ever seen with any success. that has gotten vastly better.
i think at this point and for half a decade plus on HN the "I know it tends to be an unpopular opinion" is thanks for the web and google. i think i'm in the minority for my thanks. i think the outrage and dismisal and scare words is by far the most popular stance.
but what's on the other hand? native apps, on native platforms? those things that run on 20% of computers, that you have to be a licensed paid up authorized developer to ship to, that have very long queues for submitting your app to to maybe some day have it approved perhaps?
the libertarian view is what you can do. yeah, the super small, the do it yourself. it's a fantasy.
the mature societal view is what we can do. it's having this permissionless platform that anyone can build software for. it's having Project Fugu trying to make that platform competitive, good, capable: giving hte native platform a constant run for the money. so that we all can benefit. so that any dev can make an app. it's "extensible web manifesto", where the web doesn't bake in particular flavors of software development, so we can choose jquery or backbone or react or vue or solid or svelte or lit, so society can iterate and keep refining and re-deciding what surface they want to program to, what models fit them, what they want to program against: you don't see that with native platforms! you get what they are and that's mostly that!
you get such a wide ranging low level platform, such freedom to use it as you please on the web. but much much much more, everyone else can enjoy it too. it's a civilized platform, the only civilized one where we have control, where we the world has say. if you don't like the native platforms, well, you can remake something else, but it'll be you and your couple friends perhaps amid the 7b people who are still using either the web or what big companies gave them.
the libertarian sees what they can do. but i'm really interested in what we can do. and there's nothing like the web for this. as developers, as users, as users in-between user-scripting or writing extensions: for everyone, as the article says:
> and the cost of accessing that power is going down seemingly every day.
First, Google did not give us the web. Google gave us a good search engine, then Gmail, then worked very hard towards becoming the quasi-monopoly it is by killing the competition in a way or another. There are countless examples of monopolistic behaviours by Google in... a lot more than half a decade.
Second, I get that you are into web, and hence you can mention "jquery or backbone or react or vue or solid or svelte or lit", but you should really look into what exists outside of the web. There are tons of ways (and even languages!) to write desktop apps or mobile apps!
> where the web doesn't bake in particular flavors of software development
On the web, you do what the browser allows you to do. Just like on an OS. Turns out that there are many more OSes than browsers, many of which are not maintained by BigTech.
You think the web doesn't bake in particular flavours of software development? How do you do multithreading? How do you open a port and receive network packets? In order to run code in a language other than Javascript, you had to wait years for WebAssembly to become usable, and even then, it's not like it was life-changing: you may be able to compile python to WebAssembly and run it in a browser, but... really?
> native apps, on native platforms? those things that run on 20% of computers, that you have to be a licensed paid up authorized developer to ship to, that have very long queues for submitting your app to to maybe some day have it approved perhaps?
Have you ever written a native app? Like, a program that runs on Windows, or Linux, or macOS, or BSD, or Android? Sure, iOS is annoying as hell, but you have mainstream choice* apart from it. What's my alternative to Chrome? A rebranded Chromium? Or maybe Firefox, but still I need to run Chrome once in a while because your great web perfection routinely fails to run on Firefox.
Really, go have a look at what's out there! If you are grateful for Google in 2026, it suggests that there is actually a lot for you to discover. That's exciting!
Incorrecet
> How do you do multithreading?
Webworkers. Before that, sometimes iframes.
> How do you open a port and receive network packets?
Webrtc, hopefully https://wicg.github.io/local-peer-to-peer/
> In order to run code in a language other than Javascript, you had to wait years for WebAssembly to become usable,
GWT, CoffeeScript, examples go on and on and on. You did have to wait years for wasm. But also, it's fine and in some ways far far better that there are de facti languages for the web, and that's been a huge part of why it's so uniquely rfc8890 compliant, in ways that no mere platform has ever been.
There's more out there alright, but it's still this libertarian what can I do. It's the developer centric view. None of these other platforms improve what can we do. None of them have the ambition to be available on tens of billions of devices. None of them are connected by default, networked, in anywhere near the way the web is. None of them have multi-polar governance & cooperation.
I'm very glad there's other things happening. But also their ambition has been very low. The web remains ridiculously different than every other way to run processes, while everything else (except Erlang/beam) clusters very very tightly around writing single processes that need libraries to build up to http or websocket or grpc or quic. There's been a tragic failure to think anywhere near as big as the web, to develop models where something declarative like the page leads the charge, grounds the programming model in something material, constructible, clear.
Google as far I'm concerned did make the web, added heat and pressure to keep going, to not stop here, to make it fast, gave us examples of use like (via acquisition I believe) Google Maps, and Gmail. We would still have had a web, but the parallel reality if they hadn't been finding browsers, spec writers, dev tools: it's a ghastly impoverished sad world, one where native apps actually look like a good choice for the world.
Complete nonsense. That's not a problem with native apps but a problem with the closed nature of the platform you're using. If you are using products from a user hostile company like Apple then complaining about why everything isn't built for the web is fair enough.
I am developing a game and right now got iOS, macOS, Android, web responsive, Rust for Linux and Rust for Windows versions ready. Six different source folders for the same game. It is exhausting even with the help of modern tools
If we could use just one tech stack providing native parity without drawbacks for all of them that would be the final achievement in software development, but I still think we are decades away from that
I guess a new generation of techno-optimism will be born, but I don't believe in the power of technology by itself being strictly for the better. And with the handful of AI companies that we have today, I have no reason to think that anyone's lives will improve from it, other than, again, the richer getting even richer.
- One browser window (with tabs)
- One terminal window (with tabs)
- Signal (not a web app, for good reason, though frankly I'd be thrilled if it lived in a browser tab anyway as an app being served to localhost)
- The occasional PDF viewer for PDFs I'm working on (anything loaded from the web gets viewed in the in-browser PDF viewer, but when I'm creating presentations or papers or similar, I have a terminal and a PDF viewer both half-maximized)
- Video player for local videos (mpv)
- Music player for local music (quodlibet)
Any application can have a web-GUI, so why not have it, and they do, because that allows more people to use the app, with the standard conventions. Once you learn the basic functionalities of the browser (like back-button etc.) you can benefit from that knowledge with any app.
This starts to look like the good old OSI-model thinking. GUI is one layer, and like other layers it can be standardised.
Any application can have a web-GUI, so why not have it, and they do, because that allows more people to use the app, with the standard conventions. Once you learn the basic functionalities of the browser (like back-button etc.) you can benefit from that knowledge with any app.
Because it's fun, but that's all it is. I had a class at university decades ago where the goal was to transmit data between two computers over audio (and the sound was unpleasant). It's not a novel idea, it's just not something that should be done other than for learning or fun.
The main problem we're struggling with is mobile OSes' will to hide the possibility of installing Web app on our devices, and deactiving things like the vibration API. Not the Web itself.
I don't think I know even a single exception outside the hardware-heavy games or AR/VR.
It gets small things right, like:
- Links open in the default browser
- Smarter about when to open new windows vs overtaking current window
- New windows have access to the same cookies
Those last two were big things when I was using Proton apps as PWAs. For example, I would go to the Proton Docs PWA and it would launch a new Proton Docs window with cookies for the document.
Most of the problems we have with online security, privacy, tracking, etc., are the result of the rapid, irresponsible and sometimes infantile expansion of capabilities of the simple web browser.
Canvas? Resolutions? Sound drivers? web-usb ?!
We’re giving up something very valuable when we “improve” html or “enhance” the browser.
I think I might want to move that forward a tiny bit...to maybe 2000 ~ 2005; but no further...but i get your point, and you're NOT wrong!
> Most of the problems we have with online security, privacy, tracking, etc., are the result of the rapid, irresponsible and sometimes infantile expansion of capabilities of the simple web browser.
While I am so impressed by some functions that modern web browsers can do, and how creative some people can get...I'm with you!
> Canvas? Resolutions? Sound drivers? web-usb ?!
Like 20% of the cool - and i'll add advanced - functions that modern browsers can achieve is really impressive! But, i think they *should* only be used for like 20% (or the minority) use cases...Whereas the rest of 80% functionality should be as basic as hell! A browser started as a document viewer, and we've strayed soooo far from that! And worse, since everybody wants to put apps into the browser, now browsers have to become the "operating system" for everything. If things ran smooth and simple, and every web page was not full of 500MB worth of crap, then maybe a browser as an operating system for most functions might be ok...but, nope. That's not the reality we live in. People keep jamming in all sorts of functions into the browser - because they can - so, things will continue to deteriorate. We can fight to backtrack this reality, or create an alternative (perhaps retro sort of) reality - e.g. Gemini capsules, neuvo BBS, etc., or we can opt out and go offline as much as possible. Lately, I've been dabbling tons more in the latter 2, and I feel much happier.
Yeah there's a ton of llm slop web games out there but anything serious is going to be a desktop application
The only personal app I use that is native is a game.
So my experience is that web is serious and native is frivolous.
Yeah. I'd really love the reverse to be true, but basically everything in my workflow is either a webapp or an electron shell.
It's sad we got such intensification of react as a jQuery++, such massive focus on munging html. But we really have made few gains building actual full stack front end architectures, about understanding deeply how to get work off the main thread, how to run js well. And there so much platform there we could be using!
Hurts a lot that workers have had absolutely pitiful ESM support. Still no import maps, and I'd place very high odds this baked nonsense stays just as shitfest when 2030 rolls around. That massively inhibits doing the right thing, makes it massively shittier to use the platform, alas. But it's doable. Bundle bundle bundle. Blah.
We're probably further away now from "web is enough" than we were 5 years ago.
The web and people developing for it still have a long way to go before it's enough for me.
Also if you read the article, the topic is discussed entirely within the context of software development and distribution.
It will be shutoff. And i wont miss it.
Hadn't really realized this is happening. Is it? Actually my experience right now is the exact opposite.
Several rounds of layoffs in BigTech recently - for example, Microsoft is currently giving "Voluntary Exit Offers" to 60,000+ folks.
That and a general air that management is starting to think that LLMs can do the jobs of expensive engineers...
But I am very certain the correlation is less straightforward as it is being meda out to be. The world still has a nasty hangover from the pandemic years at it probably will take a while to balance out again. Then there are tons of other factors like political turmoil towards populism and the right, vigilante politicians and actual wars going on that are messing with economies and tech. So I wouldn't attribute the "hard times" to ai completely.
Actually, I am even having trouble with the term "hard times". For the people in the war zones sure but for everybody else? More like the world "worlding".