Runtimes can have bugs or inefficiencies that cause them to use more memory than strictly necessary, but by and large most memory problems are the product of the apps (or webpages) themselves.
Regardless, if it improved the experience then it becomes like Firefox was in the beginning, and Chrome in the beginning, a better performing competitor about to eat market share.
I think the Corvette once had a special key for driving with enhanced performance, or maybe the key had to be turned to another position, I don't remember which. That caused so many service calls that later 'Vettes dropped it. And in the case of the Corvette, we're already talking about an enthusiast community that ostensibly actually takes an interest. Not so with people who call their browser "the internet".
Agreed. Nice idea but it's too much.
Say I write a static html page that loads a series of images down the page where one image will fit on your screen at any time. If the browser loads them all into memory at once without releasing the memory or maintains the a fully rendered virtual page out of sight, is that bloat the app or runtime fault?
Runtime can certainly be optimized, but the app can also virtualize or force unloading if it needs to.
If the runtime fails to load the offloaded data back in time there will be visible rendering artifacts so you really have to make sure your strategy is robust
Lazy loading for images was only introduced around 2019, not every website out there will have been updated since (and retroactively become “badly written”).
It is also not on by default, because the platform itself is too conservative and the implementation doesn’t allow zero breakage changes of defaults like that.
The tooling culture around HTML also isn’t such that you’d be prevented from deploying a site if you can use it but don’t, at least you’re not railroaded towards that.
Lazy should have been the implicit default and we should have gotten loading=“eager” instead. Same with having sane calendar controls, dropdown and collapsible controls, video controls so good we wouldn’t need vendor equivalents, light boxes for images and so on.
The internet was a better place when webpages were not seen as "apps."
I've been championing this mind set for nearly 20 years now. The message was more clear in the Flash era, but once you realize that your webpage is an (/a desktop) application that only happen to live in a browser - it makes a lot of reasoning and designing a lot easier.
I don't want to tell you you've wasted your time but it's fairly obvious that webpages are sometimes documents, sometimes apps and sometimes a hybrid between the two. For example, YouTube is clearly an app, but a webpage written predominantly in HTML and CSS is much more of a document than an app.
i'm not trying to be glib, i get what you mean, i just wonder if you have an actual criteria. I've been struggling with this from time to time over the years.
I would say a contained set of words, sometimes accompanied by static visual data (e.g. images), which aimed to convey ideas or information.
For example, a post on a recipe blog website can be seen as a document, even if there are sometimes some interactive elements (like being able to change ingredient amounts based on desired portion sizes), and even if there's usually a CMS behind the scenes helping the website author update their recipes, as the written recipe is at the core of what is being transmitted.
On websites the wide array of interactive elements do blur the lines between documents and apps, but the web was designed as a document sharing medium first and had app functionality bolted onto it afterwards. It's perfectly possible to have a website with zero JavaScript.
I don't know if that fully answers your question, but hopefully it's of some use.
I hope we can move past the movement of everything should be a web app.
Finally a browser for the Ozempic era. Time to get healthy (message to the incumbents).
You have great specs for prompting. You have great test suites that you can use as verification criteria. Literally all meaningful implementations of these specs are open source, baked into the weights to some degree, and have many people writing publicly about their internals. You aren't really designing your own features from scratch; a lot of your work is of the "this site doesn't work, please fix site" kind, and that, given decent enough tooling which browsers do have, is also relatively easy for AI to do.
This is very different from game dev for example, where you're working with an engine which hasn't been designed for headless operation from the outset, and your actual goal is max(fun), not max(correctness), which is a lot harder to quantify and requires taste, human testing and many shots on goal.
Sure, you still need human devs in charge to take care of the architecture, tech debt, code quality and such, you can't vibe code a truly great web browser, but those humans can be significantly accelerated by AI.
I know the Ladybird folks realize this and this certainly isn't news to them; Andreas seems plenty AI-pilled to me.
I think AI is what's finally going to break the web browser monopoly.
First thing that came to mind is the age-old advice to never roll your own crypto, it likely still holds but I wonder if the risks of that have changed, I guess it did but because it is adversarial and both sides have AI it evens out.
Maybe we start to see more completely new Operating Systems?
Very solid work.
Will *not -- I presume?
> The focus of the Ladybird project is to build a new browser engine from the ground up. We don't use code from Blink, WebKit, Gecko, or any other browser engine.
And I was unable to locate any chrome library references in their github repo.
They do of course use third party libraries like ffmpeg for video parsing and skia for image parsing so its not entirely "from scratch" but afaik the actual browser part, html, javascript, css, is entirely from scratch. As their FAQ page continues:
> we make use of 3rd party libraries for common functionality (e.g. image/audio/video formats, encryption, graphics, etc.), including some of the same libraries used by other browsers.
This actually gives me confidence that the important things are being done first.
Sounds like a great alpha!
I use Linux (mainly on X.org) and macOS (on Intel) and Android. I support others' iOS devices though. I can't see all the smoothness stuff people talk about. I am old, not a gamer, and with my glasses on, I have good vision, but it's all literally invisible.
I dismiss all talk of framerates and smoothness and all that as hype mingled with audiophile-style self-deception. I cannot sense it myself so I don't care and don't really believe in it.
You do you. I merely want to say that for all the talk about "buttery smoothness" etc. there is a contingent of us who can't see it and don't care.
Big Browser wants you to believe that coming up with one is impossibly hard. It's not, even less in the age of AI.
The hard part is writing a modern browser that’s feature-capable while being performant and which renders all those broken sites “correctly”
People have already tried throwing tokens at this problem and yet nothing usable has emerged from the effort.
I am aware Ladybird is not an AI-driven project, but I'm quite sure you can get a very decent browser these days just "throwing tokens" at it, and at a much lower cost than the billions spent on Chrome etc.
False. I tested Ladybird on Serenity OS and wrote about it in March 2022, before ChatGPT was released (Nov '22 from memory):
https://www.theregister.com/software/2022/03/31/serenityos-a...
Andreas called me out of the “first Ladybird use in the wild” I think two years ago. I was using it to post read and post to Hacker News even then.
They definitely use AI. But this day certainly would have come even without it.
I wouldn't touch a vibe-coded web browser even in disposable VM. It would be absolute swiss cheese in terms of security.
I'd say enjoy it while it lasts, the trends I've seen do not seem to favor your skills, and I've heard it's quite hard to pivot late in life.
I hope you're lucky enough to have a cushion to fall into (inheritance or wealthy in-laws, etc).
The trends you see aren’t trends.