• miridius@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    builds a new browser from scratch without borrowing existing code

    still chooses to do it in C++

    Epic fail

    • ticho@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      The language choice was because Ladybird started as a component of SerenityOS, which is also written in C++. With this separation, they are free to gradually introduce other language(s) into the codebase, and maybe eventually replace C++ entirely, piece by piece.

      In Hackernews thread about this, the head maintainer mentioned that they have been evaluating several languages already, so we’ll see what the future brings.

      In the meantime, let’s try to be mature about it, what do you say?

      • SorteKanin@feddit.dk
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        C++ is a very old, extremely complex language. There are arguably objectively better modern alternatives, such as Rust.

        • hexabs@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          I agree that Rust is the way to go, but calling something “arguably” & “objectively” in the same breath is a bit of a paradox innit?

        • phlegmy@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          Rust is great, but anybody developing something should have the ability to choose whatever programming language they prefer. If you want it made with rust, make it yourself.

          • SorteKanin@feddit.dk
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 months ago

            Of course, but it still makes sense to think carefully about the advantages of disadvantages of the tools you use when starting any project.

    • witx@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      edit-2
      2 months ago

      I’m not sure 10 years old are allowed on the internet. Isn’t it time for Coco and bed?

      I agree that Rust would be an interesting choice for this project but there’s a reason why this particular project is done in C++