Lurker News

Comments (604) 147 threads

Show all comments

Showing thread 1 of 147

freakynit10 replies#
This actually worked amazingly well.

I tested a lot of sites.. a few that were already opened in my firefox, and a few many others.. Every single one of them rendered correctly.
This is truly amazing.. a new browser written from scratch that actually works!
The only minor issue: page scrolling is a bit jerky.. not much.. just a little bit.. it's noticeable.
A huge lots of congratulations to the Ladybird team. What a wonderful accomplishment truly this is.

kamranjon6 replies#
Also mine is sipping on 53mb of memory with multiple tabs open - pretty awesome. I hope it avoids eventually turning into the type of experience I have with chrome and firefox where the browser ends up consuming 20gb of memory and has to be restarted periodically so I don't run out of system memory.
nicoburns2 replies#
According to the Ladybird Discord, you're likely only measuring the root process there. Each tab is a separate process.
kamranjon5 replies#
at least in osx i havent noticed other processes - have you?

Continue this thread — 5 replies

Joe_Cool#
Yeah I get about 500MB for an Instagram tab (don't use it but just tried if that opens and it does) and 200MB for the Hackernews tab. Still pretty impressive.

And the base UI needs 250MB of which 120MB are shared mem.

simscitizen5 replies#
Browsers are runtimes and webpages are apps. They just happen to be apps that are dynamically fetched over the network and are packaged as HTML/CSS/JS instead of as PE/ELF/Mach-O binaries.

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.

zeroq11 replies#
> Browsers are runtimes and webpages are apps. Surprised to see that.

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.

Continue this thread — 11 replies

rileymat26 replies#
I am not following the logic.

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?

Continue this thread — 6 replies

panta11 replies#
The view of web pages as apps and browsers as runtime environments/OSes is reasonable but in my opinion it even reinforces the idea that it should be the browser duty to contain bad behavior from web apps/pages. Browsers are well positioned to do so, as they know exactly which resources are used by each tab , and how those grow over time. Also browsers already treat web content as untrusted (sandboxing, isolation), so it would be a natural next step to extend that approach to resource usage. It would match how Operating Systems work, where it's the OS acting as an "arbiter", not the userland application.

Continue this thread — 11 replies

Jasonsf7373 replies#
Should browsers enforce per-tab memory budgets?

Continue this thread — 3 replies

drnick11 reply#
> Browsers are runtimes and webpages are apps.

The internet was a better place when webpages were not seen as "apps."

Continue this thread — 1 reply

WanderPanda#
IIRC the Ladybird creator said that the Chrome memory footprint is largely a tradeoff of cache-sizes vs. speed. I still hope they will let users control that tradeoff manually in Ladybird
eviks#
There is a simple fix for that in existing browsers - enable unloading of some of those tabs. Does Ladybird have such an option?
sheepscreek#
> Also mine is sipping on 53mb of memory with multiple tabs open

Finally a browser for the Ozempic era. Time to get healthy (message to the incumbents).

d12bb#
RAM is there to be used, unused ram is useless ram. It’s only a problem when the browser fails to react properly to shortages.
thefourthchime2 replies#
Very cool. Someone has been working on bot detection. I was curious if they had to deal with it. It turns out yes, they have. Apparently they have to pretend to be Chrome or some websites will let them in.
snackbroken1 reply#
Every browser will forever be KHTML, like Gecko.
HeckFeck#
And Mozilla 5.0, still waiting for it!
lproven#
> or some websites will let them in.

Will *not -- I presume?

DANmode1 reply#
> The only minor issue: page scrolling is a bit jerky.. not much.. just a little bit.. it's noticeable.

This actually gives me confidence that the important things are being done first.
Sounds like a great alpha!

socalgal21 reply#
Sounds opposite to me. iOS targeted framerate, Android targeted Java. iOS has a butter-smooth rep. Android is still janky AF.
lproven#
I can't tell.

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.

moralestapia3 replies#
>a new browser written from scratch that actually works!

Big Browser wants you to believe that coming up with one is impossibly hard. It's not, even less in the age of AI.

hnlmorg2 replies#
Writing a browser is easy. I wrote one in the 90s that only supported a subset of the standards so I could browse warez sites without having to risk drive-by attacks and pop ups.

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.

jp_sc8 replies#
You mean “until now”, don’t you?

Continue this thread — 8 replies

Continue this thread — 1 more reply

Continue this thread — 2 more replies

Continue this thread — 6 more replies