RetroFed Forum
Your home away from modern life.
Ladybird Browser adopts Rust, with help from AI
Post Reply
AuthorMessage
buddascrayon lemmy.world buddascrayon@lemmy.world
Joined: 2023-08-28
#52 · Quote Reply

[deleted]

Hive mind would imply that people are simply following along and not making decisions on their own. I read the article and was thinking that the way they went about it was a fairly good use of AI to actually implement code.

Then I read the article posted by someone in this comment section about how the author and creator of ladybird is not only a homophobic asshole but an out and out racist. If you support him and use this then you are, by association, a homophobe and a racist.

So fuck you šŸ–• as well.

9
statelesz slrpnk.net statelesz@slrpnk.net
Joined: 2026-01-03
#53 · Quote Reply

[deleted]

Came here to say this.

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

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

Sigh of course it's a Nordic thing. I should have guessed. White nationalists also love other Heathen/Norse symbolism.

Good to be careful, so thanks for educating me.

11
0x0 infosec.pub 0x0@infosec.pub
Joined: 2024-05-20
#55 · Quote Reply

[deleted]

If any creator can separate work from personal and the product is good I really couldn't care less with what they use their own time for.

I'm pretty sure you could find people with other unsavoury opinions in the devteams for both chrome and firefox, what then?

-14
0x0 infosec.pub 0x0@infosec.pub
Joined: 2024-05-20
#56 · Quote Reply

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

If any creator can separate work from personal and the product is good I really couldn't care less with what they use their own time for.

I'm pretty sure you could find people with other unsavoury opinions in the devteams for both chrome and firefox, what then? Lynx?

-19
CameronDev programming.dev CameronDev@programming.dev
Joined: 2023-06-18
#57 · 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.

https://github.com/DioxusLabs/blitz - This kinda covers the "engine without JS" part, it's a bit more limited, but also in alpha. It's part of the dioxus project, they use it for rendering UI on desktop.

2
CameronDev programming.dev CameronDev@programming.dev
Joined: 2023-06-18
#58 · 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 haven't looked at the code, but the mem safety may be out if the translation just slapped unsafe and transmute everywhere.

And "working code" is often very hard to replace, it can be hard to justify code changes when the original "works just the same". So, I would expect the weird ported code to live on unless there is a major effort to rewrite it.

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

I haven't looked at the code, but the mem safety may be out if the translation just slapped unsafe and transmute everywhere. And "working code" is often very hard to replace, it can be hard to justify code changes when the original "works just the same". So, I would expect the weird ported code to live on unless there is a major effort to rewrite it.

There's no reason to believe it's mostly unsafe. And even if that's the case, changing from unsafe rust to safe is less of a leap than cpp to rust.

2
Sharkticon lemmy.zip Sharkticon@lemmy.zip
Joined: 2025-12-21
#60 · Quote Reply

Gross

8
CameronDev programming.dev CameronDev@programming.dev
Joined: 2023-06-18
#61 · (edited) Quote Reply

There's no reason to believe it's mostly unsafe. And even if that's the case, changing from unsafe rust to safe is less of a leap than cpp to rust.

Having done some C to rust auto-translation some time ago, it definitely was wildly unsafe. Maybe it's better now, but there is no reason to assume it's mostly safe now either. Even recently I did some regular vibe coding to test it out, and it generated some very questionable code.

Even if there is zero "unsafe", there could be loads of unchecked array accesses, or unwraps causing panics, which while "safe", will cause crashes.

Fixing unsafe can be a mixed bag, some will be easy, some will require much deeper changes. And without looking at the code, impossible to say which it will be.

2
fdnomad programming.dev fdnomad@programming.dev
Joined: 2024-06-10
#62 · Quote Reply

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

God that screenshot is giving me severe second hand embarrassment

5
blankwire lemmy.world blankwire@lemmy.world
Joined: 2025-08-17
#63 · Quote Reply

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

The author explains why he chose the name on his site. I don’t think this is a neo-nazi / white nationalist thing despite the irony.

5
Kilgore Trout feddit.it kilgore_trout@feddit.it
Joined: 2022-06-21
#64 · Quote Reply

[deleted]

Google's monopoly is a bigger problem than one guy having confused ideas, to me.

-1
Fizz lemmy.nz Fizz@lemmy.nz
Joined: 2023-06-12
#65 · Quote Reply

The author explains why he chose the name on his site. I don’t think this is a neo-nazi / white nationalist thing despite the irony.

Yeah he picked it back in 2000s and its aged badly. Not his fault

4
ZILtoid1991 lemmy.world ZILtoid1991@lemmy.world
Joined: 2024-03-16
#66 · Quote Reply

Google's monopoly is a bigger problem than one guy having confused ideas, to me.

One could just hard-fork Chromium...

0
INeedMana piefed.zip INeedMana@piefed.zip
Joined: 2025-07-03
#67 · 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...

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...

To me the hope lies in Firefox forks

1
chunes lemmy.world chunes@lemmy.world
Joined: 2025-04-08
#68 · Quote Reply

The things people criticize are so fucking brainless these days. AI this, slop that.

Not a single one of you made fun of "let's rewrite it in Rust." You can't even elevate to the level of mildly funny parroting.

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

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... To me the hope lies in Firefox forks

@INeedMana@piefed.zip @technology@lemmy.worldYeah, me too. Unfortunately, the forks can only get so far in removing upstream AI garbage and other proprietary/corporate-oriented whistles-and-bells. If, say, some AI feature becomes so ingrained inside Firefox upstream, so deeply it ends up becoming some hard dependency for fundamental functioning of the browser (i.e. a feature that, if removed at the code-level, would render Firefox simply unable to function), no WaterFox, IronFox, Fennec or LibreWolf would be able to keep up with the latest versions: they'd either need to do a hard fork trying to independently maintain an entire codebase for a browser, or they'd need to use downgraded versions. Not even to say about licensing shenanigans. We've seen many open-source projects suddenly changing their licensing to include legalese thin letters. We've seen open-source projects requiring developers to sign up some kind of NDA before being allowed to contribute with code. Seems like initially-open licenses aren't written on stone when it comes to big projects, and Firefox is a big project.The universe of open-source software is being slowly hijacked by corporate interests. This is not different with Firefox, which (as I said in another reply to someone in this thread a few minutes ago) is Mozilla's main product (if not the main product, it's certainly among their main projects). The same Mozilla which has been pivoting to AI (e.g. acquisition of Anonym; subtle phrasing changes from "About Firefox" page which used to state how "Firefox will never sell your data", now this phrase is gone).I use WaterFox on a daily basis. It's by far the best browser I've been using. I tried LibreWolf but it doesn't really likes my Portuguese ABNT2 keyboard (which has accents I use often), even after disabling ResistFingerprint, so I ended up sticking with WaterFox. On mobile, I use Fennec on a daily basis, and I'm worried about the end of "sideloading" on Android which will likely mess with its installation. But I'm aware of how both browsers rely on upstream code from Mozilla Firefox, whose enshittification is already an ongoing phenomenon. And that's really depressing when it comes to the future of browser landscape, because we're hoping for a true alternative. Servo is the last bastion of said hope (until it gets EEE'd by corporate interests, given how Linux Foundation itself is increasingly surrounded by corpos.I'm more of a GNU/Stallman person who values autonomy and ness as non-negotiable principles. I'm only using Android because I'm stuck with it due to certain societal impositions (banks and gov apps), otherwise I'd be long using a custom phone, which wouldn't even be Linux, but something way more "unorthodox" for a phone such as FreeBSD or Illumos/OpenIndianna, systems of which I already used on a PC environment and got quite fond of.

2
baggachipz sh.itjust.works baggachipz@sh.itjust.works
Joined: 2023-06-19
#70 · Quote Reply

The things people criticize are so fucking brainless these days. AI this, slop that. Not a single one of you made fun of "let's rewrite it in Rust." You can't even elevate to the level of mildly funny parroting.

ā€œLet’s stop halfway through our multi-year project to rewrite it in another languageā€ is peak nerd shiny distraction. I say this as one who resists the urge every day. Way to delay your project by several more years, clown.

7
fuzzywombat lemmy.world fuzzywombat@lemmy.world
Joined: 2023-06-11
#71 · Quote Reply

I've suddenly lost all interest in this browser's development. From what I've heard, LLMs are pretty bad at generating Rust code for some reason. If they used LLM to bulk convert C++ code to Rust, the quality of the code is questionable at best.

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

https://github.com/DioxusLabs/blitz - This kinda covers the "engine without JS" part, it's a bit more limited, but also in alpha. It's part of the dioxus project, they use it for rendering UI on desktop.

Oh now that's interesting. I've always wondered (not knowing much about how they're made) if it would be possible to make a desktop compositor for Linux that simply uses HTML and CSS. One could even natively embed local pages in it.

2
CameronDev programming.dev CameronDev@programming.dev
Joined: 2023-06-18
#73 · Quote Reply

Oh now that's interesting. I've always wondered (not knowing much about how they're made) if it would be possible to make a desktop compositor for Linux that simply uses HTML and CSS. One could even natively embed local pages in it.

Gnome shell uses JS and CSS (i beleive anyway), and the w11 start menu is supposedly react native, so I think the answer is definitely yes.

1
Kilgore Trout feddit.it kilgore_trout@feddit.it
Joined: 2022-06-21
#74 · Quote Reply

One could just hard-fork Chromium...

Go on, do it.

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

Gnome shell uses JS and CSS (i beleive anyway), and the w11 start menu is supposedly react native, so I think the answer is definitely yes.

Gnome shell uses JS

I knew there was a reason why it sucked so much!

1
greyfrog sh.itjust.works greyfrog@sh.itjust.works
Joined: 2026-02-20
#76 · Quote Reply

I've suddenly lost all interest in this browser's development. From what I've heard, LLMs are pretty bad at generating Rust code for some reason. If they used LLM to bulk convert C++ code to Rust, the quality of the code is questionable at best.

Surely you read the article?

"The requirement from the start was byte-for-byte identical output from both pipelines. "

The bytecode from C++ is identical to the Rust output.

1
greyfrog sh.itjust.works greyfrog@sh.itjust.works
Joined: 2026-02-20
#77 · (edited) Quote Reply

[deleted]

I don't think you should be able to make claims like this without hard proof.

Do you have any information about this?

Edit: So I found out where you read that, and that article is wayyy over thinking that comment.

I think the Twitter comment could be taken multiple ways and it would be fair to give them the benefit of the doubt.

4
Zangoose lemmy.world Zangoose@lemmy.world
Joined: 2023-06-12
#78 · Quote Reply

ā€œLet’s stop halfway through our multi-year project to rewrite it in another languageā€ is peak nerd shiny distraction. I say this as one who resists the urge every day. Way to delay your project by several more years, clown.

All things considered the way they're approaching the migration is fine enough - they're only moving specific portions at a time, they're not stopping C++ development, and they're making sure it doesn't introduce regressions. Adopting a memory-safe language for something like a browser makes sense because it completely eliminates that class of vulnerabilities.

The problem is the way they're approaching the code itself. From their wording, it sounds like they're relying on AI heavily for both writing and reviewing the code. Rust has a steeper learning curve than most languages and is very different from C++. They even mention in the blog that their current Rust code looks like C++ code ported over. If they don't take the time to actually learn Rust before adopting it, it'll just lead to security logic issues that their AI couldn't catch because C++ and Rust don't always behave the same way. And that's completely ignoring all of the other ethical/technical issues with AI

3
baggachipz sh.itjust.works baggachipz@sh.itjust.works
Joined: 2023-06-19
#79 · Quote Reply

All things considered the way they're approaching the migration is fine enough - they're only moving specific portions at a time, they're not stopping C++ development, and they're making sure it doesn't introduce regressions. Adopting a memory-safe language for something like a browser makes sense because it completely eliminates that class of vulnerabilities. The problem is the way they're app...

Be that as it may, the time to choose Rust was at the beginning. It existed then, but they made their technology choice. Continuing to develop in C++ while doing the migration just means more throwaway code and duplicated effort. This decision is truly the worst of both worlds.

4
😈MedicPig🐷BabySaver😈 lemmy.world MedicPigBabySaver@lemmy.world
Joined: 2023-07-04
#80 · Quote Reply

If any creator can separate work from personal and the product is good I really couldn't care less with what they use their own time for. I'm pretty sure you could find people with other unsavoury opinions in the devteams for both chrome and firefox, what then?

No one can separate their creative idea from the rest of the brain. Any fool that thinks that's possible is straight up stupid.

6
Zangoose lemmy.world Zangoose@lemmy.world
Joined: 2023-06-12
#81 · Quote Reply

I don't think you should be able to make claims like this without hard proof. Do you have any information about this? Edit: So I found out where you read that, and that article is wayyy over thinking that comment. I think the Twitter comment could be taken multiple ways and it would be fair to give them the benefit of the doubt.

How many times do I have to give him the benefit of the doubt though?

First it was the "using they in documentation is political ideology" Github issue, then he publicly defended DHH when people called him out for being a white supremacist, he implied tech companies are discriminating against white people with diversity policies, and he tweeted that he hopes young people will carry on Charlie Kirk's legacy.

If one or two of these things happened in isolation, I could maybe understand giving him the benefit of the doubt as a non-American (for that last one) non-native English speaker. But all of these things taken together? I personally don't think I can look past that.

13
greyfrog sh.itjust.works greyfrog@sh.itjust.works
Joined: 2026-02-20
#82 · (edited) Quote Reply

How many times do I have to give him the benefit of the doubt though? First it was the "using they in documentation is political ideology" Github issue, then he publicly defended DHH when people called him out for being a white supremacist, he implied tech companies are discriminating against white people with diversity policies, and he tweeted that he hopes young people will carry on Charlie K...

To be fair I hadn't heard of some of these, so I think you're right. I wouldn't go so far as as to say he's a white supremacist but it definitely seems like he has an "ideology"

Edit: The more I read about it the more it's pissing me off. Especially defending DHH who wrote that trash article about London (I'm not a Londoner but I'm a Brit who's there enough with work to know he's talking absolute shit).

4
WhyJiffie sh.itjust.works WhyJiffie@sh.itjust.works
Joined: 2023-07-11
#83 · (edited) Quote Reply

Surely you read the article? "The requirement from the start was byte-for-byte identical output from both pipelines. " The bytecode from C++ is identical to the Rust output.

I don't think it's possible to write rust code that compiles to the exact same binary as c++. compilers make different optimizations, and make overall a different structure, especially across languages.

I think they meant the rust library produces the same output from the same input as the c++ library.

if llms indeed generate worse rust code than for other languages, that's not that big of a problem because the compiler will catch a lot of mistakes. if it compiles, it will run, and no memory safety bugs unless unsafe is also used. the llm could pick the wrong functions for some uses, but that should be caught relatively easily with testing, which can be automated partly

edit: I was wrong, they indeed say that. this is weird.

1
Zangoose lemmy.world Zangoose@lemmy.world
Joined: 2023-06-12
#84 · Quote Reply

To be fair I hadn't heard of some of these, so I think you're right. I wouldn't go so far as as to say he's a white supremacist but it definitely seems like he has an "ideology" Edit: The more I read about it the more it's pissing me off. Especially defending DHH who wrote that trash article about London (I'm not a Londoner but I'm a Brit who's there enough with work to know he's talking absolu...

That's fair, I assume most people probably aren't following ladybird that closely so it's easy to miss. It just bothers me because shrugging off small individual problems and ignoring a bigger trend is arguably what let people like DHH get a platform in the first place.

4
WhyJiffie sh.itjust.works WhyJiffie@sh.itjust.works
Joined: 2023-07-11
#85 · 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!"

artisan AI prompts. we are supposed to be paying extra!

4
WhyJiffie sh.itjust.works WhyJiffie@sh.itjust.works
Joined: 2023-07-11
#86 · Quote Reply

@INeedMana@piefed.zip @technology@lemmy.worldYeah, me too. Unfortunately, the forks can only get so far in removing upstream AI garbage and other proprietary/corporate-oriented whistles-and-bells. If, say, some AI feature becomes so ingrained inside Firefox upstream, so deeply it ends up becoming some hard dependency for fundamental functioning of the browser (i.e. a feature that, if removed at...

We've seen open-source projects requiring developers to sign up some kind of NDA before being allowed to contribute with code.

you mean the DCOs? those are nothing like NDAs. if not, which ones you mean?

1
katy ✨ piefed.blahaj.zone cupcakezealot@piefed.blahaj.zone
Joined: 2025-06-06
#87 · Quote Reply

common ladybird l

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

We've seen open-source projects requiring developers to sign up some kind of NDA before being allowed to contribute with code. you mean the DCOs? those are nothing like NDAs. if not, which ones you mean?

@WhyJiffie@sh.itjust.works @technology@lemmy.worldPossibly. I don't know the specific acronym they use, but regardless of the acronym: to me, it smells and looks like NDAs insofar it's some kind of analogous version of a "secretive initiation ritual" for a developer who's just trying to help an open-source community. It's an agreement where the developer accepts that anything they contribute free-of-charge is going to be used for enterprise (paid) purposes and any contribution is subject to be altered or removed as the management pleases, sometimes it also involves NDA if private (often "enterprise/premium edition") repos are intertwined with the open-source ("community edition") repos. The ideal open-source, at least to me, would require a developer, developer no matter who they are or how long their experience is, whenever they wanted to contribute with their coding skills, to simply do a PR or fork a repo, with no bureaucratic or "selling the soul to the Great Corporate" requirements for doing so. Developing is already mentally demanding for a developer, and adding licensing shenanigans to the equation only complicates things, because now the developer, who's used to talk the language of computers, would need to become knowledgeable about ambiguous social cues, corporate legalese and the differences between a "MIT" and a "GPL" (that's one of the main reasons why I'm quite fond of WTFNMFPL licensing: no legalese).

1
Post Reply Page 2 of 2   Goto page « First 1, 2
Back to top