Lurker News

Comments (604) 147 threads

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

drnick15 replies#
I really do hope that, down the road, Ladybird will take the fingerprinting problem seriously. What a modern browser truly needs IMO is a non-compliant JS mode that returns spoofed or randomized values across the entire userbase to effectively make identifying unique users far harder. Permissions should also be far more granular, and a website should not be allowed to know if the window or tab is active, and things like disabling selection or paste should not be allowed by default. In short, the browser should assume that all websites are hostile and present a very minimal and uniform surface by default.
mzhaase#
Vanadium does this. However it only works if a significantly part of the userbase does the same thing, otherwise it just use identifies you.
alentred3 replies#
Agree on the fingerprint issue. I suppose that the cohort of people interested in an alternative browser overlaps significantly with the cohort of people concerned about their privacy. It can be deal breaker for many.

According too the EFF tool [1] my instance of Ladybird is uniquely identifiable. I got:
> Your browser fingerprint appears to be unique among the 358355 tested in the past 45 days.
[1] https://coveryourtracks.eff.org/

viscousviolin1 reply#
I'm wondering if there would be a way to have all privacy conscious browsers output the same fingerprint, if that would even be helpful.
drnick1#
Tor does this to some extent, and some other projects like Arkenfox reuse its default values. But I don't think any browsers go far enough in limiting what JS can do or access.
asphodele#
It's necessary to test twice to see if the value is persisted across requests. A new unique value every time would not be 'unique' in the fingerprinting sense.
IggleSniggle#
Unique is good as long as you are significantly differently unique on every visit (ie, non-identifiable by pattern).
fanwood#
This would be revolutionary
redloon#
Love this thought, the idea of a "safer by default" browser that I could recommend to friends and family who don't have an interest in tinkering with extensions/setttings/etc.
Buttons840#
Render all webpages to a standard "virtual browser", and then have AI rerender the page to your actual browser environment.

I suppose AI is a bit heavy to use on every web interaction, but maybe the community can maintain a set of rules for rerendering popular pages (AI would probably help with that, but not necessarily).

v17#
Installed an alpha version on my cachyOS PC and seeing 6.6GB RAM usage for 4 tabs (Claude, YouTube, Reddit and Google) which is a bit concerning. Brave is consuming 1.5GB with similar usage. Could be some memory leak related to youtube video being played?
kvuj5 replies#
Ladybird ditching a bunch of self developed libraries for production grade ones (like sqlite or skia) helped them immensely improve their browser.

But I can't help but feel nostalgic at the original hacker spirit of LB+SerenityOS.

lofaszvanitt2 replies#
I'm not sure about sqlite.... the way chrome handles it, well, it sucks and slow.
ByteOfWood1 reply#
Could you elaborate? I can't find any info about this and I've never had issues with how chrome uses SQLite.
lofaszvanitt7 replies#
Because you don't have multiyear history, a slow book and tons of bookmarks :D.

Continue this thread — 7 replies

Continue this thread — 1 more reply

Continue this thread — 4 more replies

Load more comments