RetroFed Forum
Your home away from modern life.
Ladybird Browser adopts Rust, with help from AI
Post Reply
AuthorMessage
Beep lemmus.org Beep@lemmus.org
Joined: 2026-01-15
(edited) Quote

Lobsters.

We’ve been searching for a memory-safe programming language to replace C++ in Ladybird for a while now. We previously explored Swift, but the C++ interop never quite got there, and platform support outside the Apple ecosystem was limited. Rust is a different story. The ecosystem is far more mature for systems programming, and many of our contributors already know the language. Going forward, we are rewriting parts of Ladybird in Rust.

124   Original
db2 lemmy.world db2@lemmy.world
Joined: 2023-07-29
#2 · Quote Reply

Sloppybird

61
TheOneCurly feddit.online TheOneCurly@feddit.online
Joined: 2024-10-03
#3 · Quote Reply

Yeah seems about right for this project. I really wanted this to be a serious browser, but nothing about this dude is serious.

Also I know he backed this statement up with much better testing but these AI brainrot things people say kill me: "I ran multiple passes of adversarial review, asking different models to analyze the code for mistakes and bad patterns."

138
Imgonnatrythis sh.itjust.works Imgonnatrythis@sh.itjust.works
Joined: 2023-09-23
#4 · Quote Reply

Birdpoop browser you say? Never heard of of it.

15
XLE piefed.social XLE@piefed.social
Joined: 2025-06-23
Banned
#5 · Quote Reply

Is it a good sign for Rust code when it's described as having "a strong 'translated from C++' vibe"? Or when the developer says too much Rust might be something they "can't merge"?

6
warm kbin.earth warm@kbin.earth
Joined: 2024-03-03
#6 · Quote Reply

Rest in peace to this browser.

44
mushroommunk lemmy.today mushroommunk@lemmy.today
Joined: 2025-08-18
#7 · Quote Reply

Guess I got excited about this browser for nothing.

28
tocano piefed.social tocano@piefed.social
Joined: 2025-06-18
#8 · Quote Reply

I was enthusiastic about this project. But I am afraid these recent tangents will only reduce momentum.

15
Goodlucksil lemmy.dbzer0.com Goodlucksil@lemmy.dbzer0.com
Joined: 2025-08-15
#9 · Quote Reply

Someone could theoretically fork ladybird and strip out the AI, but it would be a lot of work.

0
Dæmon S. calckey.world dsilverz@calckey.world
Joined: 2026-02-16
#10 · Quote Reply

@Beep@lemmus.org @technology@lemmy.worldAh, the smell of irony by the morning! Adopting a programming language often praised by its "safety", while the entire pretension of "safety" is alchemically transmuted into a sewage and deliberately flushed up (not down) by a clanker who drinks from the cesspool with the same determination and thirst that of a Chevy Opala gurgling down entire Olympic pools worth of gasoline.Being serious now, the foreseeable future for Web browsing is definitely depressing: Chromium needs no introduction (used to be an interesting browser until Google's mask "don't be evil" fell and straightforwardly revealed their corporate face and farce), Firefox have been "welcoming the new AI overlords" for a while, text browsers (such as Lynx) are far from feasible for a CAPTCHA(and Anubis)-driven web... now, one of the latest and fewest glimmers of hope, an alternative Web browser engine, is becoming the very monster the fight against which was promised to be the launchpad purpose ("They who fights with monsters should be careful lest they thereby become a monster"). I wouldn't be surprised if Servo were to enshittify, too. Being able to choose among the sameness is such a wonderful thing, isn't it? I mean, I'm not the average Lemmy user who got this (understandably) deep hatred against AI, I am able to hold a nuanced view and finding quite interesting uses (especially when it comes to linguistics) for the clankers (especially the "open-weighted" ones). However, this, to shoving AI everywhere and using AI to "code for you", it's a whole different story. A software should be programmed in the way programming (as posited by Ada Lovelace) was intended to, not "vibe coded" by a fancy auto-completer who can't (yet) deal with Turing completeness, especially when it comes to a whole miniature operational system that browsers became nowadays. When coding a whole OS, AI shouldn't even be touched by a two million light-years pole, let alone by a two-feet pole.

6
thenose lemmy.world thenose@lemmy.world
Joined: 2025-06-01
#11 · Quote Reply

Yeah seems about right for this project. I really wanted this to be a serious browser, but nothing about this dude is serious. Also I know he backed this statement up with much better testing but these AI brainrot things people say kill me: "I ran multiple passes of adversarial review, asking different models to analyze the code for mistakes and bad patterns."

You’re not the first I hear saying his bad news/not serious. Afaik I didn’t hear a thing about him until ladybird. What did I missed?

12
cabbage piefed.social cabbage@piefed.social
Joined: 2024-01-08
#12 · Quote Reply

I would of course love to see ladybird succeed, but it has seemed problematic from the start in my opinion. Servo seems much more serious.

I also like that Servo is developing an engine, not a browser as such. Seems like a good idea to keep the two separated.

39
unpossum sh.itjust.works unpossum@sh.itjust.works
Joined: 2025-02-08
#13 · Quote Reply

Good grief, the irrational ai kneejerk hate in this community is insane. This seems like a perfect use case - a code base with good test coverage and well defined output expectations, where a human has guided the translation and checked the results. The human in question has saved a lot of time. And still all the comments are “hurr durr slop amirite”. SMH fucking head.

-10
gwl [he/him] lemmy.blahaj.zone gwl@lemmy.blahaj.zone
Joined: 2025-10-16
#14 · (edited) Quote Reply

Someone could theoretically fork ladybird and strip out the AI, but it would be a lot of work.

Not that much, there's a git log, just find when they started doing AI and fork from just before then

2
SkaveRat discuss.tchncs.de SkaveRat@discuss.tchncs.de
Joined: 2023-07-09
#15 · Quote Reply

Someone could theoretically fork ladybird and strip out the AI, but it would be a lot of work.

it's not that they are adding AI to the browser. it's that they are letting an AI develop the browser

11
brianpeiris lemmy.ca brianpeiris@lemmy.ca
Joined: 2023-06-30
#16 · Quote Reply

You’re not the first I hear saying his bad news/not serious. Afaik I didn’t hear a thing about him until ladybird. What did I missed?

https://hyperborea.org/reviews/software/ladybird-inclusivity/
https://mastodon.social/@alatiera/115272605624599561

30
prole lemmy.blahaj.zone prole@lemmy.blahaj.zone
Joined: 2024-06-11
#17 · Quote Reply

Good grief, the irrational ai kneejerk hate in this community is insane. This seems like a perfect use case - a code base with good test coverage and well defined output expectations, where a human has guided the translation and checked the results. The human in question has saved a lot of time. And still all the comments are “hurr durr slop amirite”. SMH fucking head.

Nah.

12
unpossum sh.itjust.works unpossum@sh.itjust.works
Joined: 2025-02-08
#18 · Quote Reply

Nah.

no u

-2
XLE piefed.social XLE@piefed.social
Joined: 2025-06-23
Banned
#19 · (edited) Quote Reply

Yeah seems about right for this project. I really wanted this to be a serious browser, but nothing about this dude is serious. Also I know he backed this statement up with much better testing but these AI brainrot things people say kill me: "I ran multiple passes of adversarial review, asking different models to analyze the code for mistakes and bad patterns."

"I coded this with hundreds of handcrafted AI prompts."

"That sounds hazardous, but did you test it?"

"I had multiple AIs test it!"

61
lambalicious lemmy.sdf.org lambalicious@lemmy.sdf.org
Joined: 2023-07-26
#20 · Quote Reply

"I coded this with hundreds of handcrafted AI prompts." "That sounds hazardous, but did you test it?" "I had multiple AIs test it!"

Let us all hope Servo does not go down the same path.

24
Venia Silente lemmy.dbzer0.com veniasilente@lemmy.dbzer0.com
Joined: 2025-06-09
#21 · Quote Reply

Every minute that passes, Gemini (not the Google one!) looks more viable, which is already a shame because as I described in lemm.ee before it went down, that itself feels like "Gopher but in the format of a brutalist buttplug".

What we need is some sort of return to HTML + CSS 1.0, or a web engine that simply ditches JS, so that development can be tackled by Individuals again.

4
Eager Eagle lemmy.world eager_eagle@lemmy.world
Joined: 2023-07-07
#22 · Quote Reply

Good grief, the irrational ai kneejerk hate in this community is insane. This seems like a perfect use case - a code base with good test coverage and well defined output expectations, where a human has guided the translation and checked the results. The human in question has saved a lot of time. And still all the comments are “hurr durr slop amirite”. SMH fucking head.

yeah, this part of the community is as insufferable as the overly enthusiastic vibe coders

0
paraphrand lemmy.world paraphrand@lemmy.world
Joined: 2023-07-12
#23 · Quote Reply

@Beep@lemmus.org @technology@lemmy.worldAh, the smell of irony by the morning! Adopting a programming language often praised by its "safety", while the entire pretension of "safety" is alchemically transmuted into a sewage and deliberately flushed up (not down) by a clanker who drinks from the cesspool with the same determination and thirst that of a Chevy Opala gurgling down entire Olympic poo...

Why leave WebKit out?

1
tinsukE lemmy.world tinsuke@lemmy.world
Joined: 2023-06-18
#24 · (edited) Quote Reply

Andreas Kling's ladybird? Don't wanna touch that with a 10ft pole.

https://hyperborea.org/reviews/software/ladybird-inclusivity/

43
Eager Eagle lemmy.world eager_eagle@lemmy.world
Joined: 2023-07-07
#25 · (edited) Quote Reply

Is it a good sign for Rust code when it's described as having "a strong 'translated from C++' vibe"? Or when the developer says too much Rust might be something they "can't merge"?

out of context?

Please coordinate with us before starting any porting work so nobody wastes their time on something we can’t merge.

If you look at the code, you’ll notice it has a strong “translated from C++” vibe. That’s because it is translated from C++. The top priority for this first pass is compatibility with our C++ pipeline. The Rust code intentionally mimics things like the C++ register allocation patterns so that the two compilers produce identical bytecode.

that seems reasonable to me

3
XLE piefed.social XLE@piefed.social
Joined: 2025-06-23
Banned
#26 · (edited) Quote Reply

out of context? Please coordinate with us before starting any porting work so nobody wastes their time on something we can’t merge. If you look at the code, you’ll notice it has a strong “translated from C++” vibe. That’s because it is translated from C++. The top priority for this first pass is compatibility with our C++ pipeline. The Rust code intentionally mimics things like the C++ register...

I think my statement came across as more alarmist than I meant it. E.g.

Is it a good idea to just translate something from C++ like that? It seems technically feasible but there's something "off" about the whole thing. Apparently you can translate C++ directly to Rust, but anecdotal statements claim that while Rust supports C++ conventions, you wouldn't typically build a Rust app using them.

Looking back previously, the developer originally talked about switching to Swift, then decided not to switch to Swift.

And in the past, "Ladybird devs have been very vocal about being 'anti-rust' (I guess more anti-hype, where Rust was the hype)."

It all just suggests rudderlessness from the developers right now. Must Rust be a priority? Did Swift need to be?

2
BryyM lemmy.world BryyM@lemmy.world
Joined: 2025-03-07
#27 · Quote Reply

https://hyperborea.org/reviews/software/ladybird-inclusivity/ https://mastodon.social/@alatiera/115272605624599561

Those were some disappointing reads

12
Reygle lemmy.world Reygle@lemmy.world
Joined: 2023-06-20
#28 · Quote Reply

Oh. Welp, if it's going to be vibe coded I'm out.

31
Eager Eagle lemmy.world eager_eagle@lemmy.world
Joined: 2023-07-07
#29 · Quote Reply

I think my statement came across as more alarmist than I meant it. E.g. Is it a good idea to just translate something from C++ like that? It seems technically feasible but there's something "off" about the whole thing. Apparently you can translate C++ directly to Rust, but anecdotal statements claim that while Rust supports C++ conventions, you wouldn't typically build a Rust app using them. Lo...

Why it wouldn't be? Surely not having idiomatic rust doesn't eliminate other benefits of switching to the language, like better tooling, memory safety, and perhaps more people willing to contribute. Over time the codebase can be improved but the main goal in the transition seems to not break existing functionality, which they seem to have accomplished for LibJS.

2
Telorand reddthat.com Telorand@reddthat.com
Joined: 2023-07-09
#30 · Quote Reply

Andreas Kling's ladybird? Don't wanna touch that with a 10ft pole. https://hyperborea.org/reviews/software/ladybird-inclusivity/

Thanks for the reference!

3
favoredponcho lemmy.zip favoredponcho@lemmy.zip
Joined: 2025-06-08
#31 · (edited) Quote Reply

[deleted]
-17
vacuumflower lemmy.sdf.org vacuumflower@lemmy.sdf.org
Joined: 2023-07-09
#32 · Quote Reply

Every minute that passes, Gemini (not the Google one!) looks more viable, which is already a shame because as I described in lemm.ee before it went down, that itself feels like "Gopher but in the format of a brutalist buttplug". What we need is some sort of return to HTML + CSS 1.0, or a web engine that simply ditches JS, so that development can be tackled by Individuals again.

Separation of server styles, server markup and client styles is definitely something Gemini lacks, not having server styles at all.

But it's not as much a problem of browsers as it is of the environment in which information is shared and propagated. While we still connect to websites using a browser, those websites will behave however their owners wish, inflating web standards and requiring complex browsers.

I was dreaming of something like "hypertext Usenet", and making descriptions of another system I was interested in trying to make, I am still not even close to that, and I'm not sure I'm still interested, because it appears NOSTR now has much of what I wanted in its standards.

Basically if you imagine a system for propagating posts addressable by ids and with markup inside, referring to styles and containing hyperlinks by ids to other posts, you can throw away the idea of a website, and still have the hypertext web. That markup can be anything, while the URLs in the links leading to images and such (and other pages) are using those ids or are at least Blossom-compliant.

I think NOSTR of new protocols is the one most likely to eventually attain such functionality. People here wouldn't like it, I suppose, because of huge intersection with Bitcoin community and because most clients and client libraries are for the web. But there's now a C client library, functional enough, and architecturally NOSTR is worlds above the thinking of designers of Lemmy, for example.

2
Trilogy3452 lemmy.world Trilogy3452@lemmy.world
Joined: 2023-07-08
#33 · (edited) Quote Reply

Good grief, the irrational ai kneejerk hate in this community is insane. This seems like a perfect use case - a code base with good test coverage and well defined output expectations, where a human has guided the translation and checked the results. The human in question has saved a lot of time. And still all the comments are “hurr durr slop amirite”. SMH fucking head.

I think it's important to note that human review is not = quality always, it's case by case and a lot of times the nuance and potential problems don't appear until the code has been fiddled with manually in my experience.

Basically saying that it depends on how it was used, but my hunch is using AI for new languages for production use without an expert to help is a bad use case since the new comer has no idea what nuances exist. Unless that's not the case here

2
Nalivai lemmy.world Nalivai@lemmy.world
Joined: 2023-06-30
#34 · Quote Reply

[deleted]

Your deep insecurity is too on the nose

13
favoredponcho lemmy.zip favoredponcho@lemmy.zip
Joined: 2025-06-08
#35 · Quote Reply

Your deep insecurity is too on the nose
[deleted]
-12
arcine jlai.lu arcine@jlai.lu
Joined: 2026-02-15
#36 · (edited) Quote Reply

[deleted]
67
woelkchen lemmy.world woelkchen@lemmy.world
Joined: 2023-06-12
#37 · (edited) Quote Reply

it's not that they are adding AI to the browser. it's that they are letting an AI develop the browser

they are letting an AI develop the browser

The port from C++ to Rust was assisted by an LLM. That's different from "ChatGPT, write me a web browser".

I cannot speak for the quality of that code, nor advocating for it, I merely want to make that distinction.

3
Fizz lemmy.nz Fizz@lemmy.nz
Joined: 2023-06-12
#38 · Quote Reply

Andreas Kling's ladybird? Don't wanna touch that with a 10ft pole. https://hyperborea.org/reviews/software/ladybird-inclusivity/

Hyperborea.org is that owned by a racist or is the domain ment to be making fun of it?

2
Fizz lemmy.nz Fizz@lemmy.nz
Joined: 2023-06-12
#39 · (edited) Quote Reply

Good grief, the irrational ai kneejerk hate in this community is insane. This seems like a perfect use case - a code base with good test coverage and well defined output expectations, where a human has guided the translation and checked the results. The human in question has saved a lot of time. And still all the comments are “hurr durr slop amirite”. SMH fucking head.

Hes not even using the rust part either. Its still using c++. It's just being developed on the side.

3
XLE piefed.social XLE@piefed.social
Joined: 2025-06-23
Banned
#40 · Quote Reply

Why it wouldn't be? Surely not having idiomatic rust doesn't eliminate other benefits of switching to the language, like better tooling, memory safety, and perhaps more people willing to contribute. Over time the codebase can be improved but the main goal in the transition seems to not break existing functionality, which they seem to have accomplished for LibJS.

I don't think "why not" is a great response in general - especially when the same developer also invested time in Swift that was ultimately wasted.

2
XLE piefed.social XLE@piefed.social
Joined: 2025-06-23
Banned
#41 · Quote Reply

yeah, this part of the community is as insufferable as the overly enthusiastic vibe coders

And the people complaining about "insufferable" critics of AI, and assuming all criticism is "knee-jerk", are themselves contributing to the cycle of negativity.

2
Eager Eagle lemmy.world eager_eagle@lemmy.world
Joined: 2023-07-07
#42 · Quote Reply

I don't think "why not" is a great response in general - especially when the same developer also invested time in Swift that was ultimately wasted.

It's not a why not response. I'm asking back why do you think it wouldn't be worth it even as a literal translation from C++, because in my view, that would be a first step towards a proper Rust port, and it still brings benefits to the table.

2
XLE piefed.social XLE@piefed.social
Joined: 2025-06-23
Banned
#43 · (edited) Quote Reply

Hyperborea.org is that owned by a racist or is the domain ment to be making fun of it?

Based on the content of that article alone (especially near the bottom), I don't think it's run by a racist at all. Can confirm via their social media presence.

9
Eager Eagle lemmy.world eager_eagle@lemmy.world
Joined: 2023-07-07
#44 · (edited) Quote Reply

And the people complaining about "insufferable" critics of AI, and assuming all criticism is "knee-jerk", are themselves contributing to the cycle of negativity.

no shit, pick any post that mentions AI here and see who are the first ones to comment every single time.

If you don't want a "cycle of negativity", maybe let's not throw rocks at anything for just bringing up the topic?

how's acknowledging this herd behavior contributing to it. Some of us are also tired of reading the same crap in the comments.

-4
Matty_r programming.dev Matty_r@programming.dev
Joined: 2023-09-23
#45 · Quote Reply

The worst part is they are doing themselves a disservice by not rewriting it by hand - have they really learnt enough Rust to know how to effectively rewrite the other parts of the engine as they say? Doubtful - they'll probably just do everything through AI stuff going forward.

15
Fitik fedia.io Fitik@fedia.io
Joined: 2023-10-18
#46 · Quote Reply

Good riddance on ai, even if people there dislike it, ai-assisted code is already a norm in a lot of places. However, the decision seems confusing to me, there's already a Rust based web engine (Servo), I'm confused about what's the distinction between them now?

-9
zr0 lemmy.dbzer0.com zr0@lemmy.dbzer0.com
Joined: 2025-03-15
#47 · Quote Reply

Yeah seems about right for this project. I really wanted this to be a serious browser, but nothing about this dude is serious. Also I know he backed this statement up with much better testing but these AI brainrot things people say kill me: "I ran multiple passes of adversarial review, asking different models to analyze the code for mistakes and bad patterns."

It is one thing to use coding agents to produce code. It is another to trust it on reviewing it.

This reminds me of the C compiler written by Claude Code, which was compiling everything, except printf("Hello from CCC!\n");

6
Fizz lemmy.nz Fizz@lemmy.nz
Joined: 2023-06-12
#48 · Quote Reply

Based on the content of that article alone (especially near the bottom), I don't think it's run by a racist at all. Can confirm via their social media presence.

Weird. I would not feel comfortable using that domain. I thought i was reading a neo Nazis blog on the issue.

0
Telorand reddthat.com Telorand@reddthat.com
Joined: 2023-07-09
#49 · Quote Reply

[deleted]

Join an instance without downvotes, and you'll never have to care about them again.

5
Telorand reddthat.com Telorand@reddthat.com
Joined: 2023-07-09
#50 · Quote Reply

Weird. I would not feel comfortable using that domain. I thought i was reading a neo Nazis blog on the issue.

Can you explain why you feel that way? "Hyperborea" is not a term I'm familiar with vis a vis Nazism.

7
Fizz lemmy.nz Fizz@lemmy.nz
Joined: 2023-06-12
#51 · (edited) Quote Reply

Can you explain why you feel that way? "Hyperborea" is not a term I'm familiar with vis a vis Nazism.

Its a very common meme with neo Nazis and white nationalists. They are the only ones I see mention hyperborea. This explains the usage if you skip over the explanation of what hyperborea is https://knowyourmeme.com/sensitive/memes/hyperborea

8
Post Reply Page 1 of 2   Goto page 1, 2 Last »
Back to top