Remix.run Logo
▲ siwatanejo a day ago

Anyone knows how their Rust port progress is going?

Just wondering because I'd like to get involved in browser development at some point, and I'm not sure if I would dive into a Servo-based browser or this one.

▲quux a day ago | parent | next [-]

You can read their past blog posts for more details, but the quick version is that the codebase is about 60% rust and 40% C++. Over time more and more of the C++ code will be replaced by Rust but doing that over any specific timeline is not a goal.

▲jboss10 a day ago | parent | prev | next [-]

Looking at their github repos, there's LadybirdBrowser/acient-history which is 91% cpp. LadybirdBrowser/ladybird is 32% Rust and 26% cpp.

▲nicoburns a day ago | parent | prev | next [-]

They're now at ~50% Rust (only counting C/C++/Rust code - and excluding things like tests and UI code written i HTML/CSS/JavaScript). Which you can see from their Github repo's language stats.

If you're looking at getting involved, Ladybird's not really an option however. As they no longer accept outside contributions.

▲annex-winged-cr a day ago | parent | prev | next [-]

Well there's now more Rust code than C++, judging from their GitHub page.

▲dt3ft a day ago | parent | prev [-]

If you're into that sort of thing, snowlark.org is 99% rust.

▲nicoburns a day ago | parent | next [-]

Interesting. Did you consider building this on upon (and/or contributing to) https://github.com/dioxuslabs/blitz ? I see you use Taffy, but we have a whole DOM, inline layout implementation, etc too.

▲dt3ft a day ago | parent [-]

Thanks, was not aware of Blitz. Will check it out. Contributing - if I start using it and discover something of value, of course, why not.

▲siwatanejo a day ago | parent | prev [-]

Ah, you got me excited for a second there, but it says that browser is "for Windows"? o_O

I'm a Linux guy

▲senko a day ago | parent [-]

If you want to tinker around, and looking for "Linux, Rust, and not Servo " combo, I got you covered: https://github.com/senko/swb

(just experimenting tho, no plans on turning it into a serious dependable project)

▲siwatanejo a day ago | parent [-]

interesting... but if you don't use Servo, what engine are you running?

▲senko a day ago | parent [-]

Custom, written from scratch (as is the js engine) - it's an experiment.

▲knocte 8 hours ago | parent [-]

how about you experiment on integrating Servo? sounds like an experiment with less risk :D

▲senko 6 hours ago | parent [-]

But where's the fun with that? :)

That would be yet another slopped product that just glues together existing tech (eg. Servo and V8). I have neither the web browser dev experience nor full focus on the product like Andreas and the team have.