• quaff@lemmy.ca
    link
    fedilink
    English
    arrow-up
    154
    arrow-down
    2
    ·
    5 months ago

    Neat. But it’s kind of concerning to see yet another OSS project hitch it’s community resourcing to Discord.

    • SavvyWolf@pawb.social
      link
      fedilink
      English
      arrow-up
      57
      arrow-down
      6
      ·
      5 months ago

      Yeah, it’s a bit at odds with their “free from corporate influence” angle. Absolutely no reason to not use Matrix.

      • LeFantome@programming.dev
        link
        fedilink
        arrow-up
        48
        arrow-down
        7
        ·
        5 months ago

        I actually do not like Discord and wish they did not use it. That said “absolutely no reason not to use Matrix” is clearly an objectively untrue statement.

        Andreas has always been very pragmatic. He will choose the tools he likes best.

      • XNX@slrpnk.net
        link
        fedilink
        arrow-up
        13
        arrow-down
        37
        ·
        5 months ago

        How does the make it non free from corporate influence. The hate boner towards discord is getting ridiculous sometimes. Yeah it sucks to use a repo thats not googleable and not open source bur discord is an objectively better user experience than matrix

        • Fonzie!@ttrpg.network
          link
          fedilink
          arrow-up
          14
          ·
          5 months ago

          How does the make it non free from corporate influence.

          Do they require Discord and depend on it? Yes.
          Is Discord corporate? Yes.
          Are they then still free from corporate influence? Nope. H Simply put, if Discord suddenly implemented weird rules the Ladybird devs would have to comply with, they’d simply have to follow suit or break their main communication channel.

          • AndrewZabar@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            5 months ago

            And of course something will likely happen like that. They couldn’t help themselves, so it’s inevitable.

        • youmaynotknow@lemmy.ml
          link
          fedilink
          arrow-up
          16
          arrow-down
          3
          ·
          5 months ago

          We see these things differently. I would argue that Matrix clients are better organized than Discord. That said, not only is Discord a privacy nightmare, but ilthe interface is only pseudo-organized at best.

          • toastal@lemmy.ml
            link
            fedilink
            arrow-up
            7
            arrow-down
            6
            ·
            5 months ago

            All the Matrix clients are buggy using far too many resources & the protocol is slow as balls about joining new rooms while being wasteful about data duplication for throwaway bits of text/multimedia. I don’t think eventual consistency is the right model for chat & following Slack & Discord’s model is the way.

            • OsrsNeedsF2P@lemmy.ml
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              5 months ago

              Slack & Discord both use eventual consistency?

              Btw I agree with you that Discord is better UX than Matrix, but your comment doesn’t make much sense

              • toastal@lemmy.ml
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                5 months ago

                Sorry for clarity. The eventual consistency model is a result of wanting decentralization for Slack/Telegram/Discord’s design of thinking the entire history needs to be saved for chat rather than seen as ephemeral (which allows for better search & resilience, but at a major cost to storage, but also a knock-on effect of folks treating chat as permanent which is why we have huge, cut-off information silos on these chat platforms that the rest of the net can’t index & often trawling the search is difficult so the repeated questions/answers are common since a simple web search doesn’t yield good results). When you take away the concept that all text & attachments need to be seen from origin til the end of time, you would never bother in all the work of cloning the entire history & reassembling it on every server listening to the conversation. …Which is why many chat protocols forgo the more then enough history to keep you up to speed with a conversation & structured forums + feeds used to be the primary way to ask questions & make announcements (where simple programs could parse the data instead of needing gobs of natural language processing for chat soup when it is pulling multiple duties).

        • Fonzie!@ttrpg.network
          link
          fedilink
          arrow-up
          6
          ·
          5 months ago

          How does the make it non free from corporate influence.

          Do they require Discord and depend on it? Yes.
          Is Discord corporate? Yes.
          Are they then still free from corporate influence? Nope.

          Simply put, if Discord suddenly implemented weird rules the Ladybird devs would have to comply with, they’d simply have to follow suit or break their main communication channel.

  • moreeni@lemm.ee
    link
    fedilink
    arrow-up
    131
    arrow-down
    2
    ·
    5 months ago

    TL;DR: The Ladybird browser, which was written from scratch and aims to be an alternative to corporate-backed browser, now has a non-profit organisation behind it. Also, it got additional funding of 1 million dollars. The end.

    • Telorand@reddthat.com
      link
      fedilink
      arrow-up
      49
      arrow-down
      1
      ·
      5 months ago

      Ah, now I can be excited for them and move on with my day. I get that video presentations can be great for feature releases that need visual aids, but I don’t want to sit through a video for details that can be summed up in two sentences.

      • LeFantome@programming.dev
        link
        fedilink
        arrow-up
        4
        arrow-down
        16
        ·
        5 months ago

        Then don’t watch it. I have spent more time now reading this complaint on Lemmy than I have watching videos that were not worth my time.

        The guy that made this video had a few minutes to make a high-engagement video I guess and no time to write a low-engagement press release. That was his choice.

        Your choice is to watch it or not. He does not your views. Videos do better regardless of your opinion.

        I actually agree with you but I am just sick of reading this comment on every video posted. Use tech to transcribe it yourself or just don’t watch. Stop making me read this complaint. Unlike video, I have to waste time reading before I realize what you are saying.

          • LeFantome@programming.dev
            link
            fedilink
            arrow-up
            3
            arrow-down
            2
            ·
            5 months ago

            Well, you clearly did not read mine. At least, not the part where I addressed exactly that. I do love these opportunities to brush with genius.

            • Iapar@feddit.org
              link
              fedilink
              arrow-up
              3
              ·
              5 months ago

              Nope. I read until you did what you criticized, decided it was wasting my time and stopped.

          • LeFantome@programming.dev
            link
            fedilink
            arrow-up
            1
            arrow-down
            1
            ·
            5 months ago

            The reason videos are so inefficient for him is because he has to take so much time on each one to complain about it being a video.

    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      5 months ago

      Thanks, this was hugely helpful. For some reason half the comments here made it about politics.

      Interested to see where this new software actually goes.

  • laxe@lemmy.world
    link
    fedilink
    arrow-up
    75
    arrow-down
    1
    ·
    5 months ago

    It’s great to build a completely open browser from scratch and I want to follow updates from the project. They have a Twitter account but not Mastodon sigh

      • ccdfa@lemm.ee
        link
        fedilink
        arrow-up
        37
        ·
        5 months ago

        The other day I was reading some GitHub issues involving an issue I was also having and the maintainer of the project was directing people to their discord server to talk about and hopefully resolve the issue. On top of that, they came back to the GitHub issue and just posted that after some discussion (on Discord) the issue had been resolved. Totally useless to me and anybody else who might be searching for that thing.

  • xlash123@sh.itjust.works
    link
    fedilink
    arrow-up
    64
    arrow-down
    7
    ·
    5 months ago

    I was wondering why it was written in C++, but the FAQ already beat me to it.

    Why build a new browser in C++ when safer and more modern languages are available?

    Ladybird started as a component of the SerenityOS hobby project, which only allows C++. The choice of language was not so much a technical decision, but more one of personal convenience. Andreas was most comfortable with C++ when creating SerenityOS, and now we have almost half a million lines of modern C++ to maintain.

    However, now that Ladybird has forked and become its own independent project, all constraints previously imposed by SerenityOS are no longer in effect. We are actively evaluating a number of alternatives and will be adding a mature successor language to the project in the near future. This process is already quite far along, and prototypes exist in multiple languages.

    Glad to see they are open to using safer languages. C/C++ was great for its time, but we really need to move on from them.

    • jqubed@lemmy.world
      link
      fedilink
      arrow-up
      16
      arrow-down
      4
      ·
      5 months ago

      As someone who has done no programming since taking C++ in high school more than 20 years ago, what do you mean by safer language?

      • brenticus@lemmy.world
        link
        fedilink
        arrow-up
        39
        arrow-down
        1
        ·
        5 months ago

        C and C++ require more manual management of memory, and their compilers are unable to let you know about a lot of cases where you’re managing memory improperly. This often causes bugs, memory leaks, and security issues.

        Safer languages manage the memory for you, or at least are able to track memory usage to ensure you don’t run into problems. Rust is the poster boy for this lately; if you’re writing code that has potential issues with memory management, the compiler will consider that an error unless you specifically mark that section of code as unsafe.

        • Kajika@lemmy.ml
          link
          fedilink
          arrow-up
          10
          arrow-down
          2
          ·
          5 months ago

          I’m not sure why people keep pushing that myth on C++. It’s been a decade we have smart pointers. There’s no memory management to be done ever.

          Using the old ‘new’ is like typing ‘unsafe’ in rust. Even arrays/vectors have safe accessor.

          Am I missing something?

          • brenticus@lemmy.world
            link
            fedilink
            arrow-up
            7
            ·
            5 months ago

            It’s been almost a decade since I used C++ and had to verify, but after some quick searching around it looks like it hasn’t changed a ton since I last looked at it.

            You can use smart pointers, and certainly you should, but it’s a whole extra thing tacked on to the language and the compiler doesn’t consider it an issue if you don’t use them. Using new in C++ isn’t like using unsafe in rust; in rust your code is almost certainly safe unless marked otherwise, whereas in C++ it may or may not be managed properly unless you explicitly mark a pointer as smart.

            For your own code in new codebases this is probably fine. You can just always make your pointers smart. When you’re relying on code from other people, some of which has been around for many years and has been written by people you’ve never heard of, it becomes harder to be sure everything is being done properly at every point, and that’s where many of these issues come into play.

          • bamboo@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            5 months ago

            The part you’re missing is that while C++ does have newer safer ways of doing memory management, all the old ways are still present, in wide use, and are easier. Basically, C++ makes it easy to do the wrong thing and hard to do the right thing, and most codebases are built around the wrong things. It’s often easier to just rewrite it in rust than it is to refactor an existing code base, so if you’re going to expend that effort why not do it in a language that has stronger safety guarantees, a better dependency and build management system, and a growing community?

    • LeFantome@programming.dev
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      5 months ago

      I wish it was not C++ but their implementation is quite interesting. Not only is it modern but they wrote their own standard library including error handling right down to the main function. It is quite nice for C++.

      All that came from SerenityOS. I hope they do not lose too much of it with the split. I mean, the Ladybird Project Leader authored most of it ( their C++ framework ) so it will probably stick. Harder to do when you start using other libraries though.

    • refalo@programming.dev
      link
      fedilink
      arrow-up
      15
      arrow-down
      15
      ·
      5 months ago

      Hard disagree. Safe C++ code can be written quite easily these days. And better tools are coming out all the time.

      • twei@discuss.tchncs.de
        link
        fedilink
        arrow-up
        16
        arrow-down
        3
        ·
        5 months ago

        Yes, but there’s a difference between “you can write safe code” and “the compiler will come for your family the next time you make a mistake”

        • refalo@programming.dev
          link
          fedilink
          arrow-up
          9
          arrow-down
          5
          ·
          5 months ago

          rust isn’t a magic bullet either, it still doesn’t protect against a whole host of problems, like stack overflows, out of memory/bitflips, logic errors, memory leaks, unrecoverable errors/panics etc., and many projects are full of unsafe context rust code anyways.

            • Kajika@lemmy.ml
              link
              fedilink
              arrow-up
              2
              ·
              5 months ago

              And C++, just checked the wiki and the 2 example of openssh’s heartbleed and sudo, both in C. Not C++. As expected.

              • twei@discuss.tchncs.de
                link
                fedilink
                arrow-up
                2
                ·
                5 months ago

                By that logic scratch would be the safest language out there (or can you tell me the last time a program written/built in scratch had a bug that affected millions of ppl around the world)

  • BB_C@programming.dev
    link
    fedilink
    arrow-up
    41
    arrow-down
    3
    ·
    5 months ago

    A reminder that the Servo project has resumed active development since the start of 2023, and is making good progress every month.

    If you’re looking for a serious in-progress effort to create a new open, safe, performant, independent, and fully-featured web engine, that’s the one you should be keeping an eye on.

    It won’t be easy trying to catch up to continuously evolving and changing web standards, but that’s the only effort with a chance.

    • LeFantome@programming.dev
      link
      fedilink
      arrow-up
      22
      arrow-down
      2
      ·
      5 months ago

      Though I am a big Rust fan, I think Ladybird is evolving fast enough that my money is on Ladybird to become a true daily driver first. The biggest obstacle to that is JavaScript as Ladybird still uses its homegrown engine ( very slow ) and Servo is integrating SpiderMonkey.

      Ladybird just got a million dollar shot in the arm. We will see what becomes of that.

      Despite the Mozilla origins, I do not think you can say Servo is backed by Google. The claim from Ladybird is that it is the only browser not financially supported by Google.

      I would say that Servo is corporate backed at this point and Ladybird still is not ( backed by donations only ) but with large donations by a single donor, we will see if Ladybird is able to stay completely independent over time.

  • cygnus@lemmy.ca
    link
    fedilink
    arrow-up
    29
    ·
    5 months ago

    I wonder what’s in it for Shopify. This seems like an odd thing for them to sponsor, or a very expensive FU to Google.

    • LeFantome@programming.dev
      link
      fedilink
      arrow-up
      22
      ·
      5 months ago

      Well, it could be genuine altruism. But I doubt a web totally controlled by Google sounds good to a company that relies on the semi-open web for its business.

      This is a bit like Valve liking Linux I imagine.

  • Undearius@lemmy.ca
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    5 months ago

    This is the first I’m hearing of Ladybird. Looks really interesting and glad to see there are more options for browsers coming

    • Hominine@lemmy.world
      link
      fedilink
      English
      arrow-up
      34
      arrow-down
      1
      ·
      5 months ago

      How can you be “independent” if you have sponsors? All sponsorships are in the form of unrestricted donations. Board seats and other forms of influence are not for sale.

      …per the FAQ.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 months ago

      Why are we shouting?

      As long as it doesn’t become a way for Shopify to shovel ads and collect data it isn’t a problem. We will watch with great interest

  • alvanrahimli@lemmy.ml
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    8
    ·
    5 months ago

    Ladybird is extremely amazing project. Andreas is a good person, with great community around him. The only thing I didn’t like is the new logo - it is very meta-ish. Looks very corporative, and doesn’t really resemble browser :(

  • LeFantome@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    5 months ago

    I am still trying to decide what I think about the Ladybird / SerenityOS split.

    Short-term, this is going to make it a lot easier for Ladybird to make progress. So good.

    Long-term, I feel like a lot of the values that Andreas used to express about SerenityOS have been compromised.

    I very much liked the, everything from scratch and complete harmony within and complete control over our whole stack idea that came with the mono-repo.

    I also thought that the energy from Ladybird was greatly contributing to SerenityOS. That is lost now, as is their chief architect, technical steward, and community organizer.

    Much of the low-level performance work that went into Ladybird benefited the whole OS. Did SerenityOS even post a monthly update on YouTube this month? The community engagement has already been dampened.

    SerenityOS was certainly benefiting from the networking, codec, and image format work. The biggest impact will obviously be the loss of what was emerging as an amazing native web browser. They cannot even use Ladybird now due to the reliance on so many third-party components. I guess it forks from where it was?

    How is error handling done in Ladybird now? It was beautifully consistent before. What now?

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      I don’t think there really is a need or use case for Serenity OS outside of a hobby project. However, having a new web engine would be great for the open web. I just hope they take privacy seriously.

      • LeFantome@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        Don’t get me wrong, I am very excited by the possibility of having an independent browser engine. Firefox was that. Mozilla as an organization has compromised that. I hope Ladybird can avoid the same issues.

        The rationale for SerenityOS beyond therapy and fun was precisely the “being responsible for everything ourselves” aspect of the project. Andreas has previously described it as a form of accountability. He has also described it as a kind of freedom in contrast to the Linux model with its inevitable politics, bike-shedding, and inefficiency as you try to get dozens of projects to agree on direction and merge code. Ultimately, the mono repo allowed the project to do things right in the right place in the stack ( in the code ). It allowed the project to move quickly, to avoid legacy, and to continuously improve and modernize. It allows harmony across the entire developer AND user experience.

        Linux is famously fragmented. There is no open source desktop OS that provides “whole system” design and user experience harmony. Haiku comes close but it has never gotten much native app momentum. On Haiku, you are going to run the Falkon browser, use GIMP, and run LibreOffice. None of those are developed in concert with the OS.

        SerenityOS held the promise of Ladybird, and Hack Studio, and the userland utilities ( and everything else ) all being developed in concert. The same GUI toolkit was used for everything. The same standard library. The same error handling and code level security measures.

        This was the “need or use case”. Not anymore.

        And it is not just SerenityOS. Ladybird is not as independent as it was. Not just the sponsorships but the code. SerenityOS is no longer a dependency but 8 other projects are. No more mono-repo and goodbye to all the reasons it was considered a good thing.

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          The problem with doing it all under one project is that it leads to labor sprawl and duplicate efforts. I support Ladybird but I think trying to recreate every single existing project is silly from a technical perspective. From a educational perspective it can be very useful.

  • Railison@aussie.zone
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 months ago

    We need more browser engines, especially those that are under NFP ownership. WebKit and Chromium have become too dominant.