this post was submitted on 23 Mar 2025
150 points (94.1% liked)

Technology

67422 readers
4297 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
 

I believe that Ladybird has more funding and better support for the web, but Servo wins in performance. Though, they're hard to compare directly!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 60 points 2 days ago* (last edited 2 days ago) (4 children)

I don't think Ladybird can compete with the other browsers with that speed.

Oh and I still wonder why they chose Swift over all the other compiled languages to this day. Was OOP really that crucial?

I'm waiting for Servo tbh.

[–] [email protected] 28 points 2 days ago (1 children)

Primeagen interviewed the creator, who basically said they chose swift because it was fun. Other languages they tried were less fun.

[–] [email protected] 7 points 17 hours ago

As a professional dev (okay, okay, forgot where I was, aren’t we all) I approve of this reasoning

[–] [email protected] 15 points 2 days ago* (last edited 2 days ago)

Swift is great! The guy who made Rust worked on Swift for 3-ish years, so there's a fair amount of overlap in interest between the two. Those were the two main contenders, and I guess OOP was the deciding factor.

I'm waiting for whichever is ready first.

[–] [email protected] 5 points 2 days ago (1 children)

The GitHub project seems to be mostly C++ and the Qt comment in the article would support that.

[–] [email protected] 19 points 2 days ago (2 children)

HN crowd told me they're porting to swift. When I asked "why not Rust", they said the C++ code was very OOP, so it was easier to port to swift.

[–] [email protected] 23 points 2 days ago (1 children)

Which probably means it uses deep inheritance hierarchies since that is the one thing that does not exist in Rust (and for a good reason).

[–] [email protected] 1 points 1 day ago (1 children)

You can do deep hierarchies in Rust, the thing Rust doesn't have is implementation inheritance. Or more precisely said implementation inheritance that relies on anything but the interface (traits can have default methods but they're part of the trait definition, not any implementation).

[–] [email protected] 1 points 1 day ago

Yes, most likely they use it for implementation inheritance which is sloppy anyway since it usually violates the Liskov substitution principle and also most OOP languages that have that concept tend to have issues around co- and contra-variance in either function parameter and return types or containers or both.

[–] [email protected] 6 points 2 days ago (1 children)

I'm not a dev but does Swift will restrict it to Apple platforms since it is Apple language?