News for hackers. Stuff that matters.
Re:Ladybird Browser adopts Rust by ramon156 on Monday February 23, 2026 @07:19AM (#47121350)
I'm a long-time Rust fan and have no idea how to respond. I think I need a lot more info about this migration, especially since Ladybird devs have been very vocal about being "anti-rust" (I guess more anti-hype, where Rust was the hype).

I don't know if it's a good fit. Not because they're writing a browser engine in Rust (good), but because Ladybird praises CPP/Swift currently and have no idea what the contributor's stance is.

At least contributing will be a lot nicer from my end, because my PR's to Ladybird have been bad due to having no CPP experience. I had no idea what I was doing.

Re:Ladybird Browser adopts Rust by smartmic on Monday February 23, 2026 @07:51AM (#47121672)
I am somewhat concerned about the volatility. All three languages have their merits and each has a stable foundation that has been developed and established over many years. The fact that the programming language has been “changed” within a short period of time, or rather that the direction has been altered, does not inspire confidence in the overall continuity of Ladybird's design decisions.
Re:Ladybird Browser adopts Rust by 0x00cl on Monday February 23, 2026 @08:35AM (#47122124)
Ladybird as a project is not that old, and it's still in pre-alpha, if they are going to make important changes then it's better now than later.
Re:Ladybird Browser adopts Rust by boxed on Monday February 23, 2026 @09:38AM (#47122912)
There's been some fun volatility with the author over the years. I told him once that he might want to consider another language to which he replied slightly insultingly. Then he tried to write another language. Then he tried to switch from C++ to Swift, and now to Rust :P
Re:Ladybird Browser adopts Rust by oblio on Monday February 23, 2026 @09:56AM (#47123102)
Upside: he's learning?
Re:Ladybird Browser adopts Rust by jacquesm on Monday February 23, 2026 @03:59PM (#47128716)
Indeed, and as a school those 18 months are well worth it, but it is in many ways also 18 months wasted. There is a strong sense of NIH with the Ladybird dev(s), and I wonder if that isn't their whole reason for doing this.

I've seen another team doing something similar, they went through endless rewrite cycles of a major package but never shipped, and eventually the project was axed when they proposed to do it all over again, but this time even better.

Re:Ladybird Browser adopts Rust by rjh29 on Monday February 23, 2026 @05:47PM (#47130103)
The sense of NIH is from Serenity, and that was probably the reason for Jakt's existence too. Now it's spun off into its own project there is a lot more pragmatism.
Re:Ladybird Browser adopts Rust by jacquesm on Monday February 23, 2026 @06:02PM (#47130291)
Well, here's to hoping because we really need a stand-in for FF. I realize the irony here in terms of that being the ultimate 'NIH' project but that one I can get behind because the browser landscape is much too fragile. Of course they might end up taking users away from FF rather than from Chrome, Edge or Safari.
Re:Ladybird Browser adopts Rust by rjh29 on Monday February 23, 2026 @06:20PM (#47130480)
In case you didn't know they're using a lot of third-party libraries now for pretty major things: libcurl for http, Skia/Harfbuzz for rendering, libxml, OpenSSL, ffmpeg, etc:

https://github.com/LadybirdBrowser/ladybird/tree/8017f8a7ed3...

The core browser engine, JS/CSS/layout etc will always be original.

Re:Ladybird Browser adopts Rust by andrekandre on Thursday February 26, 2026 @01:15PM (#47169805)

  > Indeed, and as a school those 18 months are well worth it, but it is in many ways also 18 months wasted.
the thing for me is (and maybe i've missed something?) but if after 18 months of struggle i'd really like to get a more insightful blog post* that goes into detail about what exactly failed and the process that lead to it... as a language enthusiast i think getting valuable lessons/reflections would be cool (was the cause swift c++ iterop progressing too slow? or some other technical hurdle? was there politics involved? etc etc)

* of course i'm just an internet person, i don't deserve anything from anybody ^^

Re:Ladybird Browser adopts Rust by jsheard on Monday February 23, 2026 @10:45AM (#47123838)
> I am somewhat concerned about the volatility.

Not just volatility but also flip-flopping. Rust was explicitly a contender when they decided to go with Swift 18 months ago, and they've already done a 180 on it despite the language being more or less the same as it was.

Re:Ladybird Browser adopts Rust by fmajid on Monday February 23, 2026 @10:50AM (#47123935)
It's not that they are loving Rust, but they realized going all-in on Swift means becoming sharecroppers on massa Tim Apple's plantation.
Re:Ladybird Browser adopts Rust by zem on Monday February 23, 2026 @01:04PM (#47126119)
they tried swift, it didn't work, and they figured rust was the best remaining option. that's not "flip-flopping" (by which I assume you mean random indecisiveness that leads to them changing their mind for no reason)
Re:Ladybird Browser adopts Rust by lioeters on Monday February 23, 2026 @02:04PM (#47127084)
Yup, this was not flip-flopping, it was willingness to be open to options, even if it means going back on a decision branch made earlier in the process.

For the Ladybird project, now is the best time to be making a big decision like this, and it's commendable that the project lead was honest to recognize when an earlier attempt was not working, to be able to re-think and come to a better decision. I'm no fan of Rust, but for this project I think most of us would agree it's a better language than Swift for their purpose.

Re:Ladybird Browser adopts Rust by qingcharles on Monday February 23, 2026 @01:52PM (#47126889)
They made a very pragmatic and sensible decision after reviewing Swift that it wouldn't be suitable for their purposes, so they shifted to the next best alternative. I think they reasoned it very well and made a great decision.
Re:Ladybird Browser adopts Rust by 0x457 on Monday February 23, 2026 @03:00PM (#47127906)
I guess they bet on Swift being more than Apple's blessed way of writing UI software.
Re:Ladybird Browser adopts Rust by latexr on Monday February 23, 2026 @07:42AM (#47121590)
> Ladybird praises CPP/Swift currently

Not anymore.

https://news.ycombinator.com/item?id=47067678

Re:Ladybird Browser adopts Rust by ramon156 on Monday February 23, 2026 @07:51AM (#47121667)
I guess I missed this, thanks!
Re:Ladybird Browser adopts Rust by shevy-java on Monday February 23, 2026 @02:52PM (#47127797)
They are moving fast.

Next month it will be yet-another-language.

Eventually they come full circle and settle for either C or C++.

Re:Ladybird Browser adopts Rust by Perz1val on Monday February 23, 2026 @04:13PM (#47128937)
They've been stuck with swift adoption for a long time, abandoning that was the reasonable decision. That only leaves Rust as the second language to C++
Re:Ladybird Browser adopts Rust by ursuscamp on Monday February 23, 2026 @07:31AM (#47121480)
They abandoned Swift recently.
Re:Ladybird Browser adopts Rust by Cyphase on Monday February 23, 2026 @09:07AM (#47122533)
The public announcement was less then a week ago. Meanwhile in TFA:

> ... the entire port took about two weeks.

So he was ~halfway in when he made the Swift announcement.

Re:Ladybird Browser adopts Rust by hackpelican on Monday February 23, 2026 @10:32AM (#47123602)
Doesn’t sound like a bad thing to evaluate the most obvious alternative to build confidence before officially pulling the plug.
Re:Ladybird Browser adopts Rust by fmajid on Monday February 23, 2026 @10:51AM (#47123958)
The most obvious alternative would be Zig. I don't see any Swift adoption outside the Apple ecosystem.
Re:Ladybird Browser adopts Rust by Perz1val on Monday February 23, 2026 @04:17PM (#47128985)
Last time I checked, Zig was breaking it's stdlib, so it's not an alternative imo
Re:Ladybird Browser adopts Rust by robryan on Monday February 23, 2026 @06:50PM (#47130779)
The key requirement is memory safety, which would rule out Zig.
Re:Ladybird Browser adopts Rust by hypeatei on Monday February 23, 2026 @11:19AM (#47124403)
Swift adoption had been dead long before the actual announcement. It's likely Rust was being considered long before this two week experiment with LLMs.
Re:Ladybird Browser adopts Rust by dougiejones on Monday February 23, 2026 @07:38AM (#47121538)
TFA mentions "the contributor's" stance on Swift.
Re:Ladybird Browser adopts Rust by ramon156 on Monday February 23, 2026 @07:52AM (#47121682)
But not the stance on Rust, which is something I'm wondering. I understand there's a core team assigned, but are the ~200 contributors okay with this migration?
Re:Ladybird Browser adopts Rust by the_mitsuhiko on Monday February 23, 2026 @09:03AM (#47122467)
Why would 200 contributors have to be okay with this migration? The project has a leader, the leader makes decisions.
Re:Ladybird Browser adopts Rust by gostsamo on Monday February 23, 2026 @09:47AM (#47123012)
because let's say 150 contributors might not be okay with the decision and leave. hard to lead from the front if there is nobody behind to be lead.
Re:Ladybird Browser adopts Rust by swiftcoder on Monday February 23, 2026 @02:09PM (#47127157)
To be fair, any of them who didn't leave in the last few controversies probably won't leave over this.
Re:Ladybird Browser adopts Rust by 0x457 on Monday February 23, 2026 @03:11PM (#47128075)
"I can excuse foaming over pronouns and master branch, but I draw a line at using rust" Would not be surprised by that opinion.
Re:Ladybird Browser adopts Rust by thrdbndndn on Monday February 23, 2026 @08:19AM (#47121965)
I'd argue Ladybird itself is a "hype" project.
Re:Ladybird Browser adopts Rust by Fervicus on Monday February 23, 2026 @10:01AM (#47123174)
Anything trying to break the browser monopolies in a meaningful way deserves the hype, IMO.
Re:Ladybird Browser adopts Rust by andrekandre on Thursday February 26, 2026 @01:02PM (#47169626)

  > monopolies
sorry to be pedantic but, do you mean perhaps oligopolies? and by that do you mean marketshare or technology share? i'm just curious what people are looking for in ladybird (just better tech or better or governance?)
Re:Ladybird Browser adopts Rust by throwaway2037 on Monday February 23, 2026 @08:28AM (#47122050)
Fair point. What does Ladybird need to achieve in your opinion to shake the "hype" label? Honestly, I, myself, don't have a good answer!
Re:Ladybird Browser adopts Rust by thrdbndndn on Monday February 23, 2026 @09:55AM (#47123087)
To me, a project's "hype-ness" is the ratio of how much attention it gets over how useful it actually is to users.

As a browser, Ladybird usefulness is currently quite limited for obvious reasons. This is not meant to dismiss its achievements, nor to overlook the fact that building a truly useful browser for everyday users is something few open source teams can accomplish without the backing of a billion dollar company. Still, in its present state, its practical utility remains limited.

Re:Ladybird Browser adopts Rust by shevy-java on Monday February 23, 2026 @02:54PM (#47127831)
Good verdict. I agree.

Ladybird will have to deliver eventually - on this part I think many people agree with.

Re:Ladybird Browser adopts Rust by JumpCrisscross on Tuesday February 24, 2026 @03:01AM (#47134219)
> As a browser, Ladybird usefulness is currently quite limited for obvious reasons

By this definition all basic research is hype.

Re:Ladybird Browser adopts Rust by smartmic on Tuesday February 24, 2026 @03:45AM (#47134549)
No, not necessarily. It's the ratio and for most basic research the numerator of the fraction is also approaching zero.
Re:Ladybird Browser adopts Rust by JumpCrisscross on Tuesday February 24, 2026 @06:22AM (#47135730)
Yes, necessarily. Basic research is currently useless in the same way building something that hasn’t been built is currently useless.
Re:Ladybird Browser adopts Rust by pelagicAustral on Monday February 23, 2026 @08:37AM (#47122150)
> What does Ladybird need to achieve in your opinion to shake the "hype" label?

A release (?)

Re:Ladybird Browser adopts Rust by gkbrk on Monday February 23, 2026 @12:00PM (#47125031)
Somehow people manage to run it without this magical release
Re:Ladybird Browser adopts Rust by drnick1 on Monday February 23, 2026 @09:56PM (#47132297)
I mean you can build and try Ladybird for yourself. I posted on HN from it a while back.
Re:Ladybird Browser adopts Rust by cardanome on Monday February 23, 2026 @09:44AM (#47122990)
> I guess more anti-hype, where Rust was the hype

Yeah that is the thing I struggle with. I am really happy for people falling in love with Rust. It is a amazing language when used for the right use case.

The problem is that had my Rust adventures a few years ago and I am over the hype cycle and able to see both the advantages and disadvantages. Plus being generally older and hopefully wiser I don't tie my identity towards any specific programming language that much.

So sometimes when some Junior dev discovers Rust and they get really obnoxious with their evangelicalism it can be very off putting. Really not sure how to solve it. It is good when people get excited about a language. It just can be very annoying for everyone else sometimes.

Re:Ladybird Browser adopts Rust by Onavo on Monday February 23, 2026 @11:54AM (#47124922)
> So sometimes when some Junior dev discovers Rust and they get really obnoxious with their evangelicalism it can be very off putting.

And experience doesn't equal correct decision making. People just get traumatized in different ways.

Re:Ladybird Browser adopts Rust by geertj on Monday February 23, 2026 @12:37PM (#47125652)
> So sometimes when some Junior dev discovers Rust and they get really obnoxious with their evangelicalism it can be very off putting. Really not sure how to solve it. It is good when people get excited about a language. It just can be very annoying for everyone else sometimes.

This rings very true, and I've actually disadvantaged myself somewhat here. I was involved in projects that made very dubious decisions to rewrite large systems in Rust. This caused me to actively stay away from the language, and stick to C++, investing lots of time in overcoming its shortcomings.

Now years later, I started with Rust in a new project. And I must say, I like the language, I really like the tools, and I like the ecosystem. On some dimension I wish I would have done this sooner (but on the other hand, I think I have a better justification of "why Rust" now).

Re:Ladybird Browser adopts Rust by virgil_disgr4ce on Monday February 23, 2026 @12:48PM (#47125831)
I'm contemplating diving into Rust for a smallish project, a daemon with super-basic UI intended for Linux, MacOS and Windows. Do you mind expanding on what disadvantages you encountered? Or use-cases that aren't appropriate for Rust?
Re:Ladybird Browser adopts Rust by pkulak on Monday February 23, 2026 @02:16PM (#47127290)
It's all the stuff that people always mention; they are not wrong. You spend a decent amount of time... conversing with the compiler about lifetimes and, in my experience, even more so about the type system, which is _extremely_ complicated. But you also have to keep in mind that Rust got very popular, very fast, and the tail end of something like that is always a negative reaction. The language is the same, despite the hype roller coaster.
Re:Ladybird Browser adopts Rust by LoganDark on Monday February 23, 2026 @03:53PM (#47128624)
I find Rust's complexity freeing, in that there are often at least a few ways to express what I want, and I can choose the one I feel best fits the use-case and my desired ergonomics. (I also like that there are often ways to express exactly a very precise want, owing well to the Rust principle of "zero-cost abstractions.") However of course, that very same complexity can make it unclear which approach may best serve a given objective, and lead to false starts, wacky implementations, or even giving up entirely.
Re:Ladybird Browser adopts Rust by cmrdporcupine on Monday February 23, 2026 @01:37PM (#47126676)
I'm not OP but here's my disadvantages. Rust is the way I earn my living, and also my open source tool of choice. And my background is 25 years of SWE career:

1. build / compile times can be atrocious

2. crates.io inherits the npm philosophy, which means fairly unmoderated space of third party deps and because the Rust stdlib doesn't have a lot in it, extensive third party crate (lib) usage is strong in Rust. As a result most Rust projects have rather sprawling dependency trees, often with duplicated functionality (multiple Base64, rand, sha256, etc crates). I personally have a problem with this (auditability, accountability, security, complexity etc). Others don't.

3. Despite being nominally runtime agnostic, Rust async basically is tokio and it's almost impossible to use another runtime once you factor in third party deps. In many ways Rust is the language that tokio ate. In fact even if you opt out of async entirely, you often end up with tokio as a dependency simply because the community just seems to expect it.

4. Despite advertising itself as a "systems" language, some basic systems programming facilities I expect from my C++ background are still fundamentally not there. In particular, per-container/struct pluggable allocators still isn't a thing and the feature to add it (allocator-api) has sat unmerged in nightly for almost ten years at this point and it doesn't look good for it landing any time soon.

5. If you're working in the embedded space, there's still plenty of devices that will not have a workable Rust toolchain option yet.

I still choose it for new projects instead of its competitors C++ or Zig. But I think it's important to recognize there are compromises like any other tool.

As much as people might insist otherwise, there will in fact come a day when there are "multiple Rusts" by which I mean multiple styles and ways of doing things -- just like C++. For myself, for example... if it were my repository and my team and my hiring, and I was starting from scratch... I'd be extremely careful about third party crate adoption and have an extremely minimalistic approach there. And I don't use tokio. Though my paying jobs do.

Re:Ladybird Browser adopts Rust by jacquesm on Monday February 23, 2026 @03:55PM (#47128652)
So many great and balanced comments in this thread.
Re:Ladybird Browser adopts Rust by cmrdporcupine on Monday February 23, 2026 @03:56PM (#47128668)
Sure, and I'm available to provide balance commentary for hire, too ;-)
Re:Ladybird Browser adopts Rust by jacquesm on Monday February 23, 2026 @04:03PM (#47128785)
I'm pretty sure you wouldn't like to work on what I'm working on right now though!
Re:Ladybird Browser adopts Rust by metaltyphoon on Monday February 23, 2026 @06:21PM (#47130496)
> often with duplicated functionality (multiple Base64, rand, sha256, etc crates)

I don’t think this is true unless they differ in major versions no? Cargo will apply semantic versioning and pick the best available given the cargo.toml version constraints.

Re:Ladybird Browser adopts Rust by nicoburns on Monday February 23, 2026 @06:44PM (#47130722)
I don't think they mean multiple versions of the same crate (although can certainly happen too), but rather multiple different crates that cover the same functionality.
Re:Ladybird Browser adopts Rust by cmrdporcupine on Monday February 23, 2026 @09:25PM (#47132090)
this

tho duplicated crates with different major versions through transitive deps is also i believe possible

Re:Ladybird Browser adopts Rust by staticassertion on Monday February 23, 2026 @11:16PM (#47132797)
First 2 are very legit, as a rust dev myself. I wish Rust had a larger stdlib and every argument against it leaves me pretty unconvinced/ feeling like the arguments could just as easily leave us to believe that "HashMap" should not be included (some people believe this), or even "time" should not be, etc.

The compile times are easily the worst part though. They couple poorly with (2).

I feel fine personally without (3), and (4)/(5) don't come up for me.

> For myself, for example... if it were my repository and my team and my hiring, and I was starting from scratch... I'd be extremely careful about third party crate adoption and have an extremely minimalistic approach there.

Same. I basically stick to a minimal `cargo-vet` and avoid new crates. I review new ones. I've chosen to take on a new crate when it's something like "the author literally wrote the spec for this format", but otherwise I'm reluctant.

Re:Ladybird Browser adopts Rust by renewiltord on Monday February 23, 2026 @01:15PM (#47126317)
It’s a pretty good language and ecosystem. Downside was always the community which every ten seconds someone will start asking to tax everyone to fund Rust Software Foundation or constantly argue that you have to donate a percentage of income to it. Now with LLM I don’t have to talk to community. Huge improvement.

Problem with community is it has experts and groupies mixed in. Ideally experts can talk somewhere and groupies can go somewhere else and talk about funding RSF etc. but now is unnecessary. Expert is available on demand via chatbot.

Re:Ladybird Browser adopts Rust by staticassertion on Monday February 23, 2026 @11:19PM (#47132813)
I've been writing rust for over a decade and I've been quite active in the community at times. I've barely even heard of the rust foundation, let alone seen suggestions to donate.
Re:Ladybird Browser adopts Rust by swiftcoder on Tuesday February 24, 2026 @04:56AM (#47135083)
> every ten seconds someone will start asking to tax everyone to fund Rust Software Foundation or constantly argue that you have to donate a percentage of income to it

I have literally never heard this, in ~decade of working with Rust. I think you may be taking some random mailing list discussions a little too seriously

Re:Ladybird Browser adopts Rust by bjackman on Monday February 23, 2026 @07:26PM (#47131106)
I find the attitude of the Ladybird devs refreshing though, and it kinda aligns with my opinions about Rust.

I never fell in love with Rust or got particularly excited about adopting it. But, I just don't see a serious alternative (maybe Swift is fine for some cases but not in my field).

I believe Google's Rust journey was even more closely aligned with Ladybird: "we want memory safety, but with low impedance mismatch from C++". After like 5 years of trying to figure something like that out they seemed to go "OK actually fuck that we just have to use Rust and deal with the challenges it brings for a C++ shop".

Re:Ladybird Browser adopts Rust by akst on Monday February 23, 2026 @08:47PM (#47131827)
The whole obnoxious dogmatic evangelicalism thing is definitely a wider human phenomenon outside software and junior devs picking up new languages.

Definitely isn’t one of those things that can be solved, but it’s helpful to be aware of and process on that basis. I think some personalities are likely disproportionately vulnerable to this behaviour, but I think it largely has a positive core of enthusiasm. It’s probably more a matter of those individuals growing in self awareness.

Perhaps we saw a big wave of that with rust because it meant a lot of things to a lot of different people, some more equip to express their enthusiasm with some self control than others.

Re:Ladybird Browser adopts Rust by muyuu on Monday February 23, 2026 @11:32AM (#47124608)
it's very odd that someone with no experience would take a big project like this and just jump to another language because he trusts the AI generated code of current models

if it works it works i guess, but it seems mad to me on the surface

Re:Ladybird Browser adopts Rust by fmbb on Monday February 23, 2026 @12:27PM (#47125478)
Why do you think the creator behind SerenityOS has no experience? I mean it’s not the most popular OS out there but he seems like a capable individual.
Re:Ladybird Browser adopts Rust by muyuu on Monday February 23, 2026 @02:15PM (#47127283)
in case it's not glaringly obvious from the comment, he has plenty of cpp experience and little rust experience, and that's according to his own comments

the relevant bit here is that he's porting from a language in which he has plenty of experience into another one in which he doesn't, in a large project

that in itself sounds like putting a lot of faith in LLMs but maybe there are factors not mentioned here, which is why i said "on the surface"

Re:Ladybird Browser adopts Rust by jacquesm on Monday February 23, 2026 @04:00PM (#47128741)
Indeed, the hard part won't the port, but the maintenance of that which got ported. To be fair though, he's probably going to be able to use the same techniques for that.
Re:Ladybird Browser adopts Rust by simonask on Monday February 23, 2026 @12:32PM (#47125573)
It's hard to articulate, but as someone who knows first hand, I just want to say that manic productivity is not the same as solid engineering.
Re:Ladybird Browser adopts Rust by jibal on Monday February 23, 2026 @12:43PM (#47125742)
Did you read the OP? No trust, only thorough verification.
Re:Ladybird Browser adopts Rust by muyuu on Monday February 23, 2026 @02:19PM (#47127325)
I did, and the point stands because reading someone else's code is not the same as writing it, esp. when you're not able to do so to the same standard
Re:Ladybird Browser adopts Rust by jibal on Monday February 23, 2026 @02:30PM (#47127498)
Non sequitur. Again, no trust was involved, only verification through extreme testing.

Also, as others have pointed out, "someone with no experience" simply isn't true.

Re:Ladybird Browser adopts Rust by muyuu on Monday February 23, 2026 @03:28PM (#47128301)
the trust element to me is jumping into a port, not specific code although code you didn't write in a language you're not an expert with, will ALWAYS introduce an added risk of falling into pitfalls you can only avoid with experience, the more the merrier

you're banking in the LLMs quite strongly when you do that, which may just work but i would be very worried about myself if i were in his boots

Re:Ladybird Browser adopts Rust by jibal on Monday February 23, 2026 @04:46PM (#47129388)
> code you didn't write

He did write it.

> you're banking in the LLMs quite strongly when you do that, which may just work but i would be very worried about myself if i were in his boots

I too would worry if it were you doing it.

Re:Ladybird Browser adopts Rust by muyuu on Tuesday February 24, 2026 @08:02AM (#47136573)
> He did write it.

he did not, the LLM did it

> I too would worry if it were you doing it.

i would not worry about anything you do, because it's obvious you would never get to that point

Re:Ladybird Browser adopts Rust by jibal on Tuesday February 24, 2026 @02:28PM (#47141535)
"It" was the C++ code ... you don't even understand what you yourself wrote.

> i would not worry about anything you do, because it's obvious you would never get to that point

Childish whatabouting and projection. I will never respond to you again.

Re:Ladybird Browser adopts Rust by swiftcoder on Monday February 23, 2026 @02:04PM (#47127079)
> especially since Ladybird devs have been very vocal about being "anti-rust" (I guess more anti-hype, where Rust was the hype).

I mean, they seem mostly to be against anything that isn't C++'s peculiar brand of Object Oriented Programming?

(also against women and immigrants, but that's a different story)

Re:Ladybird Browser adopts Rust by pkulak on Monday February 23, 2026 @02:04PM (#47127087)
> I think I need a lot more info about this migration

Doesn't sound like it's some Fish-style, full migration to Rust of everything. Seems like they are just moving a couple parts over for evaluation, and then, going forward, making it an official project language that folks are free to use. They note that basically every browser already does that, so this isn't a huge shakeup.

Re:Ladybird Browser adopts Rust by tvshtr on Monday February 23, 2026 @05:31PM (#47129929)
This makes sense because GUI wise Rust isn't really here yet (but it's close).
Re:Ladybird Browser adopts Rust by accelbred on Monday February 23, 2026 @02:39PM (#47127631)
Its possible to dislike Rust but pragmatically use it. Personally, I do not like Rust, but it is the best available choice for some work and personal stuff.
Re:Ladybird Browser adopts Rust by shevy-java on Monday February 23, 2026 @02:54PM (#47127819)
I think this is a good, realistic point of view.

Personally I think most programming languages have really ... huge problems. And the languages that are more fun to use, ruby or python, are slow. I wonder if we could have a great, effective, elegant language that is also slow. All that try end up with e. g. with a C++ like language.

Re:Ladybird Browser adopts Rust by zarzavat on Monday February 23, 2026 @04:59PM (#47129571)
Honestly I find writing Rust more fun than writing Python. Python just doesn't scale, any non-trivial quantity of it has a habit of turning into spaghetti however hard I try to be disciplined.

Rust, although annoying at a micro scale, does at least enforce some structure on your code, although like Kling I miss OO.

AI has made Rust approachable to a new audience of programmers who didn't want to dedicate their life to learning the ins and outs of the language. Especially for C++ developers who already learned the ins and outs of a hyper complex programming language and don't want to go through that a second time.

Before AI, writing Rust was frustrating experience that involved spending 90% of your time reading documentation and grumbling that "I could do this in 5 minutes in C++"

Now I can write Rust in a way that makes sense to my C++ addled brain and let the AI do the important job of turning it into an idiomatic Rust program that compiles.

Re:Ladybird Browser adopts Rust by Levitating on Monday February 23, 2026 @02:45PM (#47127689)
So what don't you like about it?
Re:Ladybird Browser adopts Rust by accelbred on Monday February 23, 2026 @03:26PM (#47128278)
Its for the time being is stuck with LLVM, so I can't currently LTO with GCC objects. Its got a lot higher complexity than I perfer in a language. A lot of features I find important seem perma-unstable. Pin is unnessesarily confusing. No easy way to define multiple compilation units for use with linker object selection and attribute constructor. The easy path is downloading binary toolchains with rustup and not using your disto package manager. You can't use unstable features without the bootstrap env var on distro rust toolchains. Cargo leads to dependency bloat. The std/core crates are prebuilt binaries and bloat binary sizes. Bindgen doesn't translate static inline code. The language has a ton of stuff it exposes just to std and not user code. Unsafe code is unergonomic. No easy way to model a cleanup function that needs more args. No support for returns_twice. No ability to use newer stuff like preserve_none. Can't go-to-definition from a bindgen binding to original header file. Macros pollute global namespace. Can't account for platforms where size_t and uintptr_t are different. Traits can only be relied on if marked unsafe. Can't implement something like defer since it holds a borrow. no_std code still can pull in core::fmt. Can't enforce dependencies are also no_std. Panics are considered safe. No way to add non-function fields to dyn vtables. No way to declare code separately from definition. No way to have duplicate type definitions that merge, making interop between different bindgen generated modules annoying.
Re:Ladybird Browser adopts Rust by voxelghost on Monday February 23, 2026 @09:08PM (#47131987)
Definetly, thats how I have felt about and used C++ for most of my career. ( well except I dont select C++ for personal projects).

I wouldnt go as far as to say, I dont like Rust, but it doesnt come natural to me like many other languages do after several decades of experience.