• stochastictrebuchet
    link
    fedilink
    arrow-up
    26
    arrow-down
    2
    ·
    edit-2
    5 hours ago

    I’m OOTL. Are these actual issues people have with the project?

    C++ might not be as memory-safe as Rust, but let’s not pretend a Rust code base wouldn’t be riddled with raw pointers.

    BSD tells me the team probably wants Ladybird to become not just a standalone browser but also a new competing base for others to build a browser on top of – a Chromium competitor. Even though BSD wouldn’t force downstream projects to contribute back upstream, they probably would, since that’s far less resource-intensive than maintaining a fork. (Source: me, who works on proprietary software, can’t use GPL stuff, but contributes back to my open-source dependencies.)

    • Zacryon@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      47 minutes ago

      I don’t like that “C++ isn’t memory safe”. It is. Users of that language are usually just not experienced or educated enough and therefore more mistakes happen.

      I agree though, that other languages like Rust or Java can make it easier to prevent such mistakes.

      In my experience, using smart pointers alone already solves 90% of memory issues I have to deal with. C++ improved a lot in that regard over the decades.

      • dreugeworst@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        37 minutes ago

        I agree that experienced users can write code that leaks less than in C, leaving aside the bottomless pit of despair that is undefined behaviour. But the the language isn’t memory safe, it doesn’t even prevent you from returning a reference to a local or helpnwitg iterator invalidation. you don’t have to jump through any hoops to enable making that mistake.

    • dreugeworst@lemmy.ml
      link
      fedilink
      arrow-up
      17
      ·
      edit-2
      4 hours ago

      well, its possible to check if a rust equivalent would be riddled with raw pointers: just check the Servo code base.

      personally I think its a good thing to have another browser implementation, regardless of specific choices they make about language or license