• fatAristocat@piefed.zip
    link
    fedilink
    English
    arrow-up
    43
    arrow-down
    6
    ·
    2 days ago

    This project was always weird. Diversity is cool but when it first launched it got too much hype/money for what it was. One thing that confused me was the language choice.

    Originally they were going to use c++ (because the guy who made it also made an OS in c++). But they didnt end up liking it and wanted a memory safe language to eventually replace it. So they were planning on writing in in swift? Then they started using rust components?? But from the github it seems they went all in on rust instead.

    I feel like they shouldve really thought ahead better and built off of servo instead of just diverging resources like this for no reason. I get that its “his browser”, but Servo deserves more recognition/funding especially compared to ladybird. Why make rust browser 2.0 when servo is right there and has the better architecture?

    • Kissaki@feddit.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      8 hours ago

      Some things you can only explore and discover hands-on. I don’t see two language switches on a big and long running project before stable release as an issue or as indicative of issues.

      Moves from C/C++ to Swift to Rust also make plausible sense to me. Always towards languages considered safer, and from Swift to Rust to something more popular.

      When they started Rust wasn’t where it is today either.

      • fatAristocat@piefed.zip
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        6 hours ago

        It’s indicative of duplicate work for no reason firstly. Servo is the more versatile and open project. It is modular and embeddable. It would be awesome if they worked with servo and made a LibJS type engine that was designed to be modular, but that ship has sailed. They don’t let people make pull requests anymore aside from maintainers. Servo deserves more love, especially over Ladybird.

        But more importantly, less than a year ago there was zero rust in the code. Now its more than half. Browsers are huge. Think about that. Not only that, but it has been in development for 4 years. These design choices should already have been made. That’s why i made my comment. I learned recently they literally ported their entire c++ JS engine via AI to rust. The longevity of this browser is questionable at best. refer to my reply to another comment in the thread on the creator’s opinion abruptly changing.

    • douglasg14b@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      18 hours ago

      I don’t see why Rust is a problem here.

      It solves for many of the problems that a browser needs, and it has a maturing ecosystem.

    • Sasquatch@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      23 hours ago

      The reason they didn’t use servo is because this browser initially started as a part of the main guy’s SerenityOS project, which had the stupulation of using 0 external code. They’ve since replaced most of the bespoke libraries with popular OSS alternatives, but I imagine the core engine has more architectural tie-ins and is much harder/impossible to replace