• nixcamic@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    1 day ago

    Servo already exists and is independent and written in a modern language and way ahead of this.

    I mean, competition is good but they aren’t the only independent browser engine.

  • katy ✨@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    19
    ·
    1 day ago

    “Ladybird uses a brand new engine based on web standards, without borrowing any code from other browsers.” has the same energy as

    • blind3rdeye@lemm.ee
      link
      fedilink
      English
      arrow-up
      45
      arrow-down
      1
      ·
      1 day ago

      Not really. They aren’t inventing new standards. They are implementing an engine that confirms to existing standards.

    • decivex@yiffit.net
      link
      fedilink
      English
      arrow-up
      16
      ·
      1 day ago

      In this case having more browser engines not under Google’s control is probably a good thing. Although this effort might’ve been better spent working on Servo.

  • vsis@feddit.cl
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    6
    ·
    edit-2
    1 day ago

    The project management may have some obvious problems (jOin dIsc0Rd sErVEr; w0rD “thEy” t0o p0liTicAl). But we really need an alternative to browsers funded by Google (Chrome and Firefox).

    So I’ll do my best to actually build from sources and see what can I help with. Attacking the author is helping nobody.

    And for the folks who are saying “wHy n0t rUst”, you can always show me the (rust) code.

    • barsoap@lemm.ee
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day ago

      And for the folks who are saying “wHy n0t rUst”, you can always show me the (rust) code.

      https://github.com/servo/servo

      I really wish they would publish flatpaks because I can’t be arsed to either build the thing or get a non-standard precompiled binary to run on nixos.

      • vsis@feddit.cl
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        Well, thank you for pointing me to this project. Didn’t know about it. I’ve just built it. So, the part of I’ll do my best to see what can I help with applies here to.

  • miridius@lemmy.world
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    22
    ·
    1 day 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
      11
      arrow-down
      1
      ·
      1 day 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?

    • Diabolo96@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      edit-2
      1 day ago

      The dev has 30 years of experience with c++ and a lot of it was on browsers.

      He tried to incorporate rust with the help of “JT”, one of the original rust designers/devs and according to Andreas it didn’t work that well due to the web being too objet oriented or something like that. They both worked together (well, mostly “JT”) to create a new safe programming language called “yakt” that transpile to c++, but the project is currently pretty much dead because nobody is really working on it anymore.

      • neclimdul@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        4
        ·
        1 day ago

        The web being too object oriented for rust? Assuming that made sense, who wrote the dang language? If that’s true I’m even less confident they know what they’re doing then I was before.

        • Diabolo96@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          1
          ·
          edit-2
          1 day ago

          You’re doubting someone’s ability to create a web browser knowing that they specialize in browser development since the early 2000s?

          If this isn’t enough to have confidence in them then nothing will.

          • neclimdul@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            17 hours ago

            Using my decades of experience in how programming and compilers works and the fact Mozilla has used it to great effect and how it is being used for parts of the Linux kernel… Yeah just a general statement it doesn’t make any sense.

            Maybe they aren’t effective at designing software with the paradigms of the language or they don’t like it but the given explanation doesn’t track.

              • miridius@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                1
                ·
                9 hours ago

                Reading all of that it sounds mostly like a dev who has spent 20 years doing things the C++ way wasn’t comfortable learning something new. Like basically they’ve been using horrible design patterns that Rust bans because they’re horrible, and instead of learning better approaches they just say Rust is bad

                • Diabolo96@lemmy.dbzer0.comOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  edit-2
                  6 hours ago

                  It could be. But then again, he did have the help of a Rust designer/core dev. I believe they even wrote the first iteration of the “Jakt” compiler in Rust before rewriting it in Jakt itself, so Andreas isn’t against using Rust.

      • miridius@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        18 hours ago

        Sure :)

        There are a lot of downsides of C++ compared to more modern languages that make it not a great choice if you’re starting a web browser from scratch

        1. Complexity of the language leading to increased bugs and slower development
        2. Manual memory management is error-prone and leads to issues like memory leaks or segmentation faults. Modern browsers need to handle large amounts of dynamic content, making memory management complicated
        3. C++ lacks some of the built-in safety features of more modern languages, which has led to the majority of security vulnerabilities found in major browsers. It’s so bad that Mozilla invented an entirely new programming language just to deal with this
        4. Compared to higher-level languages, C++ can be slower to develop in, which may impact the ability to quickly implement new web standards or features unless you have a massive team
        5. While C++ is cross-platform, ensuring consistent behavior across different operating systems can be more challenging than with some other languages.
        6. Newer languages often provide built-in support for concurrent programming, garbage collection, and other features useful for browser development, which C++ lacks.

        So tl;dr: a browser but in C++ will take much longer to develop, have fewer features, more bugs, less concurrency and and more security vulnerabilities

        • raspberriesareyummy@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 hours ago

          Thanks for laying out your concerns. As a C++ developer who does not know the other languages you speak of (I assume Rust, Go), I can agree to some of your points, but also some of them I see differently:

          1. C++ can be complex, because it has a lot of features and especially the newer standards have brought some syntax that is hard to understand or read at times. However, those elements are not frequently used, or if they are, the developer will get used to them quickly & they won’t make development slow. As a matter of fact, most development time should be spent on thinking about algorithms, and thinking very well before implementing them - and until implementation, the language does not matter. I do not think that language complexity leads to increased bugs per se. My biggest project is just short of 40k lines of code, and most of the bugs I produced were the classical “off by one” or missing range checks, bugs that you can just as well produce in other languages.

          2. C++ no longer requires you to do manual memory management - that is what smart pointers are for, and RAII-programming.

          3. I can’t make a qualified comment on that, due to lack of expertise - you might be right.

          4. You’re somewhat repeating point 1) here with slow development. But you raise a good point: web standards have become insane in terms of quantity and interface sizes. Everyone and their dog wants to reinvent the wheel. That in itself requires a very large team to support I would say. As stated for point 1), I do not agree development in C++ has to be slower

          5. True, as someone who just suffered from problems introduced on windows (cygwin POSIX message queues implementation got broken by Win10, and inotify does not work on Windows Subsystem for Linux) I can confirm that while the C++ standard library is not much of a problem, the moment you interface with the host OS, you leave the standard realm and it becomes “zombieland”. Also, for some reason, the realtime library implementation on MacOS is different, breaking some very simple time-based functions. So yeah, that’s annoying to circumvent, but can be done by creating platform specific wrapper libraries that create a uniform API. For other languages, it appears this is done by the compilers, which is probably better - meaning the I/O operations got taken into those language’s core features

          6. I am highly doubtful of people relying on garbage collection - a programmer that doesn’t know exactly when his objects come into existence, and when they cease to exist is likely to make much bigger mistakes and produce very inefficient code. The aforementioned smart pointers in C++ solve this issue: object lifetime is the scope of the smart pointer declaration, and for shared pointers, object lifetime expires when the last process using it leaves the scope in which it is declared. For concurrent programming, I do not know if you mean concurrency (threads) or multiple people working on the same project. While multi-threading can be a bit “weird” at first, you have a lot of control over shared variables and memory barriers in C++ that might enable a team to produce a browser that is much faster, which I believe is a core requirement towards modern browsers

          As for your tl;dr: definitely not “less concurrency”, that makes no sense. The other points may or may not be true, keeping in mind the answers I gave above.

      • SorteKanin@feddit.dk
        link
        fedilink
        English
        arrow-up
        13
        arrow-down
        15
        ·
        1 day ago

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

        • raspberriesareyummy@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          8 hours ago

          Taken from the wikipedia page on rust:

          On February 8, 2021, the formation of the Rust Foundation was announced by its five founding companies (AWS, Huawei, Google, Microsoft, and Mozilla).[36][37] In a blog post published on April 6, 2021, Google announced support for Rust within the Android Open Source Project as an alternative to C/C++.[38]

          Four out of five founding companies are evil to the bone, with only Mozilla being somewhat reputable. That does not give me much confidence, sadly.

          On November 22, 2021, the Moderation Team, which was responsible for enforcing community standards and the Code of Conduct, announced their resignation “in protest of the Core Team placing themselves unaccountable to anyone but themselves[39]”

          How am I not surprised?

          In May 2022, the Rust Core Team, other lead programmers, and certain members of the Rust Foundation board implemented governance reforms in response to the incident.[40]

          At least that. However, I don’t care enough for the time being to spend my morning on reading what exactly they implemented.

          • SorteKanin@feddit.dk
            link
            fedilink
            English
            arrow-up
            1
            ·
            7 hours ago

            The Rust Foundation very deliberately does not control the development of Rust. There has been issues with the moderation team in the past but I think they’re actually resolved today. And let me just assure you that Rust is not the only language project with problems and the fact that they have been talked about and discussed in the open and resolved is a sign of maturity and trust, not a bad thing.

            • raspberriesareyummy@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 hours ago

              I suppose there are problems in many teams, yes - the majority of humanity is just not mature enough to treat each other professionally :/

              Still - 4 out of the 5 founding companies being pure evil does not fill me with confidence :/

              • SorteKanin@feddit.dk
                link
                fedilink
                English
                arrow-up
                2
                ·
                32 minutes ago

                The language existed long before the foundation. The foundation is purely there to support the language.

        • hexabs@lemmy.world
          link
          fedilink
          English
          arrow-up
          26
          ·
          1 day 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?

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

            Well, it was more to recognize that there is no inherently better programming languages in theory, they all do the same stuff. And some languages are “better” at some stuff just due to the libraries available and nothing to do with the language itself. But yea I do think Rust is an objectively better language than C++.

        • phlegmy@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          15
          arrow-down
          3
          ·
          1 day 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.

          • miridius@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            2
            ·
            9 hours ago

            If were just a personal project that they’re building entirely on their own then sure, go nuts and do whatever you want. But they’re trying to gain adoption, asking for contribution, and wanting to replace other browsers. At that point it’s no longer just a personal choice if you’re asking the community to invest their time and money into it with you

            • phlegmy@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              9 hours ago

              It originally started as just a fun side project.
              But even if it hadn’t, are you suggesting we should no longer start big/community projects in C++?

              Picking an unsafe language has the added benefit of distancing yourself from the toxic rust-or-die crowd, who can’t seem to mind their own damn business.

          • SorteKanin@feddit.dk
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day 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.

          • Excrubulent@slrpnk.net
            link
            fedilink
            English
            arrow-up
            9
            arrow-down
            7
            ·
            1 day ago

            Not everyone with the knowledge to identify this mistake is in a position to personally correct it. Do you have the time and resources to personally build a browser from scratch? No? Why do you assume a random commenter does?

            It doesn’t change the fact that Rust is similarly performant and much safer and will thus be faster to develop and less bug-prone. It’s not a difficult assessment to make. If you want to explain why they’re wrong you can talk about the issue on its merits, but you didn’t choose to, presumably because you can’t.

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

              I just don’t think it’s fair to tell somebody with over 20 years of experience with C++ that their decision to use C++ in their next project is a ‘fail’.

              Learning a new language will probably not be faster than using one you’re already deeply familiar with.

              I’m not sure why you’re asking me about the merits of C++ over rust, that wasn’t my point. I was simply advocating for personal choice.

              Also, my first sentence was literally praising rust, but I guess I didn’t deepthroat it enough for you to notice? Presumably because you’ve taken the thought of somebody advocating for anything other than rust as a personal attack.

              • Excrubulent@slrpnk.net
                link
                fedilink
                English
                arrow-up
                1
                ·
                14 hours ago

                Criticism doesn’t take away personal choice though. I don’t know why that’s hard for people to grasp.

            • blind3rdeye@lemm.ee
              link
              fedilink
              English
              arrow-up
              8
              arrow-down
              1
              ·
              1 day ago

              Their choice of programming language isn’t a ‘mistake’. It isn’t something that is ‘corrected’. It’s a development choice, nothing more. That’s the point. And if some ‘random commenter’ doesn’t like that choice, that’s their problem to fix - not the developers who are actually making the project.

              • Excrubulent@slrpnk.net
                link
                fedilink
                English
                arrow-up
                3
                arrow-down
                5
                ·
                edit-2
                23 hours ago

                You said they “should have the ability to choose whatever programming language they prefer”. I have good news for you.

                You have correctly identified that the developers are responsible for their own decisions. They are, you will be very relieved to hear, quite free to make as many poor decisions as they will. Nobody is going to force them to stop.

                Other people are more than capable of identifying that those decisions are mistakes. Now, that could be argued with, you could explain how it’s not a mistake.

                But you haven’t. You just said they should be allowed to do it, but nobody was arguing that they needed to be stopped, just that it was a bad decision.

                Edit: this person didn’t actually say that first quote, but the line of argument proceeded from there, and they did nothing to distance themselves from that point.

    • witx@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      4
      ·
      edit-2
      1 day 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++

      • miridius@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        10 hours ago

        there’s a reason

        Oh good that settles it, no further questions your honour

      • miridius@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        18 hours ago

        I wouldn’t go around accusing people of being 10 years old when your English skills are worse than a 10 year old’s. Glass houses and all that.

        • witx@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          17 hours ago

          English is not my first language. I saw the mistake and left it here. You fixated on that simple mistake instead of answering the main point

    • thedeadwalking4242@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Not very many, and many are not featured complete. There’s really just fire fox and chrome. However there’s a couple of wacky ones like mothra on plan9 but it can’t do JavaScript and ignores some modern web practices. Then there are also terminal based browsers.

    • blind3rdeye@lemm.ee
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      1
      ·
      1 day ago

      Hmm. I just read the github thread that this is about. The devs made a mistake on this; but it seems to me that there is a bit of an over-reaction here. The people in the thread seem to be discussing it calmly and politely; and the issue (i.e. use of pronouns in the build instructions) ends up being resolved. By contrast, the reaction outside of the actual thread… is extreme.

      Like I said, this seems like an overreaction to someone making a mistake of ignorance & indifference. It wasn’t an act of malice.

    • interdimensionalmeme@lemmy.ml
      link
      fedilink
      English
      arrow-up
      21
      arrow-down
      30
      ·
      1 day ago

      All this because they won’t change a “he” into “they” ? Who gives a fuck about such rampant whiteknightism ? Why does a browser even need to know your gender ? In what context even is there a pronoun in the user interface ?

      • Excrubulent@slrpnk.net
        link
        fedilink
        English
        arrow-up
        30
        arrow-down
        8
        ·
        1 day ago

        You could find out the context by reading the title of the thread, but then you’d have less to bitch about, so I can understand why you chose ignorance.

    • OsrsNeedsF2P@lemmy.ml
      link
      fedilink
      English
      arrow-up
      19
      arrow-down
      19
      ·
      1 day ago

      Why don’t ya’ll contribute some meaningful code instead of finding ways to deny those who do

      • wholookshere@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        2
        ·
        1 day ago

        Please describe to me how someone who offered up changes to change “he” to “they” for them, and then the contributor getting pissy about “politics” is denying work.

    • quissberry@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      23
      ·
      2 days ago

      Yeah, I saw this, and all my excitement for the project died. If it becomes successful, I might use it anyway though.

  • merthyr1831@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    2 days ago

    It would be nice if people read the post and the project before randomly making assumptions such as implying the project started from scratch yesterday or its run by some amateurs, this is a 4 year old project! It’s founded by a former KHTML/Webkit developer for Apple!

  • laxe@lemmy.world
    link
    fedilink
    English
    arrow-up
    174
    arrow-down
    1
    ·
    3 days ago

    I want to follow updates from this project. They have a Twitter account but not Mastodon sigh

  • unconfirmedsourcesDOTgov@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    110
    arrow-down
    6
    ·
    3 days ago

    The website makes it sound like all of the code being bespoke and “based on standards” is some kind of huge advantage but all I see is a Herculean undertaking with too few engineers and too many standards.

    W3C lists 1138 separate standards currently, so if each of their three engineers implements one discrete standard every day, with no breaks/weekends/holidays, then having an alpha available that adheres to all 2024 web standards should be possible by 2026?

    This is obviously also without testing but these guys are serious, senior engineers, so their code will be perfect on the first try, right?

    Love the passion though, can’t wait to see how this project plays out.

    • Diplomjodler@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      1 day ago

      They’ve been at it for four years and they plan to have an alpha by 2026. Maybe wait how it actually turns out?

    • fine_sandy_bottom@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      39
      arrow-down
      2
      ·
      2 days ago

      a Herculean undertaking with too few engineers and too many standards

      Yeah, as a layperson this is my take. If mozilla is struggling to stay in the game then I just don’t really see how an unfinanced indie team has a shot.

      • merthyr1831@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Mozilla has loads of projects, not just the browser. I doubt more than a 30 work exclusively on the engine nowadays.

      • Scrollone@feddit.it
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        1 day ago

        Let’s not forget that Mozilla (the company) is largely mismanaged, so that doesn’t help.

        • fine_sandy_bottom@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          7
          arrow-down
          2
          ·
          1 day ago

          It might seem that way but it’s a fairly arrogant assertion. They’re a sophisticated organisation with a lot of well experienced people guiding them. As an outsider it’s easy to criticise their seemingly endless series of bad decisions, but I’m still confident that internally all of these decisions seemed like a good idea at the time.

          Besides which, this would be a good reason to fork their codebase rather than starting from scratch.

    • weststadtgesicht@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      49
      ·
      2 days ago

      W3C lists 1138 separate standards currently, so if each of their three engineers implements one discrete standard every day, with no breaks/weekends/holidays, then having an alpha available that adheres to all 2024 web standards should be possible by 2026?

      Yes, that is exactly the plan: “We are targeting Summer 2026 for a first Alpha version”

    • merthyr1831@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 days ago

      Sure, but an individual website may use only a few of those standards. Ladybird devs will pick a website they like to use - Reddit, Twitter, Twinings tea, etc. and improve adherence to X or Y standards to make that one website look better. In turn, thousands of websites suddenly work perfectly, and many others work better than before.

      Ladybird is largely conformant to the majority of HTML standards now. It’s about the edge cases (and where standards aren’t followed by websites) and performance. This isn’t a new project.

      • NaoPb@eviltoast.org
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 day ago

        Lol, mentioning Twinings tea together with Reddit and Twitter sounds so random

        • merthyr1831@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          Andreas Kling, the founder and lead dev, has a massive love for Twinings tea and spent a few Dev logs working on improving their website with the end goal being ordering his tea from them :)

    • Tywele@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      17
      ·
      2 days ago

      You are assuming that they only started now from point 0. They have probably been working on it for a bit before announcing everything.

      • Matriks404@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        2 days ago

        Exactly. They have been working on Ladybird Browser for few years already, before it was announced as standalone product (It was a part of SerenityOS).

        • Blackmist@feddit.uk
          cake
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          2 days ago

          And it passes the Acid3 test, which is more than Firefox does.

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        9
        ·
        2 days ago

        They say they already use it to manage GitHub issues so it’s definitely more than “point 0” right now.

    • 0x0@programming.dev
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      10
      ·
      2 days ago

      Let’s not do zomething because it’s hard pretty much sums up every new generation.

      Imagine if they said that when they had to program everything in assembly…

      • Holzkohlen@feddit.de
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        2
        ·
        2 days ago

        Software nowadays is a lot more complex. You’d get nowhere using assembly. Are you also gonna call me lazy if I say making a smartphone from scratch is complicated? “But the Nokia 1234 only had 4kb of memory” Is what you will probably say.

        • 0x0@programming.dev
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          4
          ·
          2 days ago

          You’d get nowhere using assembly because people wanted to keep improving technology.

          The Nokia was actually build and freakin’ rock solid. Then came smartphones because people wanted to improve. It sure wasn’t easy and they didn’t go Geez, a phone from scratch? Why bother?

  • Avid Amoeba@lemmy.ca
    link
    fedilink
    English
    arrow-up
    55
    arrow-down
    22
    ·
    2 days ago

    I do not understand the urge to start from scratch instead of forking an existing, mature codebase. This is typically a rookie instinct, but they aren’t rookie so there’s perhaps an alternative motive of some sort.

    • merthyr1831@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      ·
      2 days ago

      Ladybird was born from SerenityOS, which is a hobbyist unix-like (or POSIX compliant?) OS that simply aimed to do things “from the ground up”. It just happened that they needed to make a browser, and the response was to make one from scratch.

      From there it seemed to have brought a lot of attention organically to the point where it can stand on its own, but originally it was never intended to be a “third browser engine” from its inception.

    • accideath@lemmy.world
      link
      fedilink
      English
      arrow-up
      97
      ·
      2 days ago

      Because there are only like 3 browser engines: Chrome’s Blink, Firefox’s Gecko and Apple‘s WebKit. And while they are all open source, KHTML, the last independent browser engine got discontinued last year and hasn’t been actively developed since 2016.

      There’s need in the space for an unaffiliated engine. Google’s share is far too high for a healthy market (roughly 75%), WebKit never got big outside of Safari (although there are a few like Gnome Web, there’s no up to date WebKit based browser on Windows) and Gecko has its own problems (like lack of HEVC support).

      So, in my book, this is exciting news. Sure it‘ll take a while to mature and it is up against software giants but it‘s something because Mozilla doesn’t seem to have a working strategy to fight against Google‘s monopoly and Apple doesn’t have to.

      • ikidd@lemmy.world
        link
        fedilink
        English
        arrow-up
        15
        arrow-down
        1
        ·
        2 days ago

        Mozilla doesn’t seem to have a working strategy

        Guess they couldn’t replicate the “own everything that people use to get stuff on the internet and make secret breaking changes to constantly mess up other browsers” strategy.

      • rottingleaf@lemmy.zip
        link
        fedilink
        English
        arrow-up
        20
        ·
        2 days ago

        Also Gecko’s development is led by people thinking that it being usable outside of Firefox\Thunderbird is a bad thing. There was a time when Gnome’s browser was based on Gecko, not WebKit. And in general it’s influenced by bad practices.

        SerenityOS is an amazing project, of course. To do so much work for something completely disconnected from the wider FOSS ecosystem, and with such results.

        So it’s cool that they’ve decided to split off the browser as its own project.

        • accideath@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          2 days ago

          Technically blink is based WebKit but yes. However, they were forked 23 and 11 years ago respectively, so it’s safe to assume they evolved into their own thing. But they probably do still share code, yes.

      • el_abuelo@lemmy.ml
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 days ago

        Could they not add HEVC support? Or is there some technical limitation that meant starting from zero was a good idea?

        • GreatAlbatross@feddit.uk
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 days ago

          HEVC is almost entirely down the the licensing. This section of the wikipedia page details it pretty well.

          The tl;dr is that the LA group wanted to hike the fees significantly, and that combined with a fear of locking in led to the mozilla group not to support HEVC.

          And it’s annoying at times. Some of my security cameras are HEVC only at full resolution, which means I cannot view them in Firefox.

        • accideath@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 days ago

          They could, probably. My guess is, that it’s either a limitation of resources, the issue of licensing fees or Google‘s significant financial influence on Mozilla forcing them to make a worse browser than they potentially could. Similar to how Firefox does not support HDR (although, to my knowledge, there’s no licensing involved there).

          The biggest problem most people have with Mozilla is said influence by Google, making them not truly independent.

          • bitwaba@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            2 days ago

            Google probably is putting pressure on Mozilla, but if the options are licensed HECV or open royalty-free AV1, the choice is pretty clear for a FOSS project.

            • accideath@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 days ago

              Yes but: HEVC is the standard for UHD content for now, until AV1 gets much broader adoption. And judging from how long HEVC took to be as broadly available as h.264, it’ll still take a while for AV1 to be viable for most applications.

              • AProfessional@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 days ago

                The good news is no streaming service even supports UHD in browers (except Netflix on Edge?) because of DRM. So I don’t see the value.

              • Evilcoleslaw@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                2 days ago

                Mozilla had the same problem with h.264 until Cisco allowed them to use openh264 and ate any associated licensing costs. Just from a cursory glance, HEVC licensing seems much more of a clusterfuck.

          • el_abuelo@lemmy.ml
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 days ago

            Yeah I’m curious as to whether there’s not merit in taking the imperfect codebase and improving it.

          • michaelmrose@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            If 50% of firefox users donated 2 dollars per year mozilla could work for people instead of Google or at least people AND google

            • accideath@lemmy.world
              link
              fedilink
              English
              arrow-up
              4
              arrow-down
              1
              ·
              2 days ago

              The problem is, most user don’t want to pay. And every time mozilla tries to monetise differently they get community backlash…

        • accideath@lemmy.world
          link
          fedilink
          English
          arrow-up
          11
          ·
          2 days ago

          Yea, but Webkit was forked from KHTML 23 years ago and Blink was forked from WebKit 11 years ago. In the mean time they all definitely evolved to become their own thing, even though in the beginning they were the same.

        • mnmalst@lemmy.zip
          link
          fedilink
          English
          arrow-up
          17
          ·
          2 days ago

          They get most of their money from google for the “default search engine deal” make of that what you want. For me personally it doesn’t sound fully independent.

        • accideath@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 days ago

          Does anyone know why there are barely any WebKit based browsers? WebKit is open source and at least Safari works really well. Is it hard to work with? Do people just hate Apple that much? Is there some limitation?

          • Scrollone@feddit.it
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            Also, WebKit was based on KHTML, which was open source and platform independent itself.

    • schnurrito@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      34
      ·
      2 days ago

      There is currently no implementation of web standards that is under a more permissive license than LGPL or MPL. I think that is a gap worth filling and if I recall that is what Ladybird is doing.

      • glukoza@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        i’d argue its better for software to max foss license like AGPL, not bsd that can be taken out by companies

      • Avid Amoeba@lemmy.ca
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        I guess Chromium isn’t fully BSD. This could be the reason. Although I’d think reimplementing the non-BSD bits in Chromium would be less work than reimplementing all the bits, including the BSD ones.

      • michaelmrose@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        2 days ago

        Why is that a gap worth filling? There is no benefit to users as long as its free of a EULA they don’t have to care either way. For those wanting to produce open source software based on same they already have all the rights they could need. The only party clamoring for permissively licensed software are companies intending to close off the source and sell other people’s work.

        I understand why they would want to do that I don’t understand why anyone would feel the need to work for free for something someone else closes off.

        • phlegmy@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 hours ago

          There are some cases where it’s just not possible to release the source code, even if you wanted to.

          For example, if you’re developing a Nintendo switch game, you aren’t allowed to release any code that uses Nintendo’s sdk, so that means you also can’t use any copyleft libraries.

          Maybe MPL-licensed libraries would be ok though. Idk, I’m not a lawyer.

    • vanderbilt@lemmy.world
      link
      fedilink
      English
      arrow-up
      57
      arrow-down
      3
      ·
      2 days ago

      Because software monocultures are bad. The vast majority of browsers are Chromium based. Since Google de-facto decides what gets in Chromium, sooner or later the downstream forks are forced to adopt their changes. Manifest V3 is a great example of this. You can only backport for so long, especially when upstream is being adversarial to your changes. We need an unaffiliated engine that corrects the mistakes we made with KHTML/Webkit.

      • Avid Amoeba@lemmy.ca
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        2 days ago

        Why are open source software monocultures bad? The vast majority of non-Windows OSes are Linux based. Teams who don’t like certain decisions of the mainline Linux team maintain their forks with the needed changes.

        Manifest V3 is a great example of this. You can only backport for so long, especially when upstream is being adversarial to your changes. We need an unaffiliated engine that corrects the mistakes we made with KHTML/Webkit.

        And we could get a functional one today by forking Chromium and never accepting a single upstream patch thereafter. I find it really hard to believe that starting a browser engine from scratch would require less labor. This is why I’m looking for an alternative motive. Someone mentioned licensing.

        Perhaps some folks just want to do more work to write a new browser engine. After all Linus did just that, instead of forking the BSD kernel.

      • el_abuelo@lemmy.ml
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        2
        ·
        2 days ago

        I agree mostly, but forks don’t need to keep the upstream. They can go their own way.

    • rdri@lemmy.world
      link
      fedilink
      English
      arrow-up
      23
      ·
      2 days ago

      I can’t understand how people can continue relying on chrome and derivatives like electron, CEF etc. and not see it as a problem.

      • el_abuelo@lemmy.ml
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        6
        ·
        2 days ago

        It’s easy to understand when you think most comments are similar to yours and don’t provide any insight as to why this might be a problem.

        Maybe you could update your post and share your knowledge and experience with others, so that there are less people in the world who don’t see the problem.

        • rdri@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          1
          ·
          2 days ago

          When trying to render a relatively simple page consisting few thousands of text lines in a table, any current browser will cause mouse cursor to lag for some time, then you’ll discover it consumes at least 2 GB ~ 4 GB of RAM. YouTube lags like I have 2 cores instead of 16. Any electron app is either clunky or too clunky, also either hungry or too hungry.

          I’m sorry but I don’t have time to look up other cases.

          • Avid Amoeba@lemmy.ca
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 days ago

            Any intuition on why we’d expect opening the same page on a newly implemented browser engine that implements all equivalent standards and functions will consume less resources?

            • rdri@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 days ago

              That’s not an expectation. The experience is that this became a reality thanks to google, and that it will only get worse in the future. More competition within browsers is the expectation. Better chance for better frameworks to emerge. Eventually it may cause google code to shift into a better overall state too.

  • Logh@lemmy.ml
    link
    fedilink
    English
    arrow-up
    66
    arrow-down
    5
    ·
    3 days ago

    Love the idea! Shopify as the highest tier sponsor? Not so much.

  • asdfasdfasdf@lemmy.world
    link
    fedilink
    English
    arrow-up
    62
    arrow-down
    25
    ·
    3 days ago

    C++

    If they’re starting a browser from scratch, why would they not have chosen Rust? Seems very short sighted to not have learned from Firefox.

    • ProdigalFrog@slrpnk.net
      cake
      link
      fedilink
      English
      arrow-up
      68
      ·
      3 days ago

      They used c++ initially since it was spawned from SerenityOS, which was designed to be a mashup of win2000 and unix.

      now that Ladybird is its own project, it’s not constrained to that goal, and they have said they will incorporate modern languages.

    • Fitik@fedia.io
      link
      fedilink
      arrow-up
      15
      arrow-down
      1
      ·
      3 days ago

      @asdfasdfasdf@lemmy.world There’s Servo ( @servo@floss.social ), it’s a browser engine written in rust

      @Diabolo96@lemmy.dbzer0.com

      • Diabolo96@lemmy.dbzer0.comOP
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        2 days ago

        I know about servo. It was pretty much a dead project until they joined the Linux fondation last year and started getting some sponsorship. Since then, they being doing pretty good on there own with personal donations rising by around 20% each month, reaching more than 2000$ monthly. Wish them all the best!

      • asdfasdfasdf@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        3 days ago

        Yes, that’s what I’m referring to. They could build on that, or they could write something their own in Rust. But I’d think building on Servo would be fantastic.

  • linearchaos@lemmy.world
    link
    fedilink
    English
    arrow-up
    56
    arrow-down
    2
    ·
    3 days ago

    It’ll be interesting to see how this plays out. I’ve had more than a handful of people bitching at me that it’s impossible to make a new, open web browser in this day.

    • schizo@forum.uncomfortable.business
      link
      fedilink
      English
      arrow-up
      92
      ·
      3 days ago

      I think it’s less that it’s “impossible” but rather that it’s expensive.

      Honestly we’ve in general shoved too much shit into the browser that’s not strictly related to just browsing web sites.

      And you “have to” support all the layers and layers and layers of added stuff, or you can’t “compete”.

      But, at the same time, the goals of making a good-enough browser that mostly works and isn’t completely enshittified and captured by corpo big tech interests is a very worthy project and 100% support what they’re doing.

      • linearchaos@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        No, I’d have accepted too expensive as an answer. They were ready to die on the hill that no one could possibly create a new browser from specs.

          • linearchaos@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            My thoughts exactly.

            Also nothing is stopping someone from forking an open browser and throwing money/bodies at keeping it up.

            It’s be a shame to lose free updates, but certainly not undoable.

            • schizo@forum.uncomfortable.business
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 day ago

              Agreed. As much as I understand the urge to build your own shiny new thing, I’d pay real actual human money for someone to take Blink, and put it in a non-lobotomized, non-enshittified, non-garbage UI that has things like a self-hosted sync server, built-in adblock/noscript/etc, and the ability to use extensions for things like password managers.

              But no crypto stuff, no gaming stuff, no VPN services, no browser password managers, no sponsored links, no sponsored default search engines, no email client, blah blah blah.

              Browser, adblock, self-hosted sync, done.

      • bionicjoey@lemmy.ca
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        3 days ago

        I feel like the internet is such a lost cause at this point that it would be better to invest in other efforts like the Gemini protocol.

        • schizo@forum.uncomfortable.business
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          1
          ·
          3 days ago

          Gemini protocol

          IDK, but I don’t think that the problem is that any particular application protocol is bad so much as it is capitalists going to capitalist, and they’ve shit all over everything in the Quest to Make a Buck.

          It’s not like a new protocol, if it becomes as widely adopted, won’t see the same vultures swoop in and strip mine any value they can find there, too.

          • bionicjoey@lemmy.ca
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            1
            ·
            edit-2
            3 days ago

            A more lightweight protocol limits the attack surface for capitalism. The web sucks because basically anything can be wrapped in http, including ads, tracking cookies, data collection JavaScript, etc.

            Gemini protocol only carries markdown

            • rainynight65@feddit.de
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 day ago

              How would you drive the adoption of such a protocol in an environment that is largely hostile towards attempts at demonetising things?

            • schizo@forum.uncomfortable.business
              link
              fedilink
              English
              arrow-up
              2
              ·
              3 days ago

              That’s a fair assessment. I’ll admit to having a severe case of doomerism when it comes to tech lately, and the levels of shit tech bros will go to to monetize shit has me skeptical there’s any sort of protocol or technology that could be made bro-resistant for more than a short period of time.

              EEE is pretty prevalent and has been a very standard practice with these tech companies for a long time. See: Meta and Threads for a recent example.

      • wreckedcarzz@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        9
        ·
        3 days ago

        or you can’t compete

        Nah nah fuck that noise. ‘Jack of all trades but ace of none’ or however the saying goes, is a shitty way to go about things. I don’t have the biggest dick but I know my way around around the block, and I know I’m good at it. More specialized > the catch-all bitches.

        Let the fucks with their special engine requirements eat shit. Standardize or write a fucking proper program (miss me with that “app” bullshit) or fuck right off. “everyone is special… exactly like you” now fuck off web dev. Your shit doesn’t get a permit.

        I may have some… disputes with the way the web is done nowadays.

        • schizo@forum.uncomfortable.business
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          I could have been a little more clear: I don’t think the whole must-compete-or-forget-it mindset makes any damn sense.

          I’m more than happy to use software that does what I want/need (which, more and more, is simply just not fucking spying on, trying to sell things to, or otherwise annoying me) even if it’s not like, the most bestest version of whatever.

    • Diabolo96@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      16
      ·
      edit-2
      3 days ago

      Their rendering engine is already pretty solide (see penultimate video in their channel). Now that their “no third party code” restriction is lifted, they can actually focus on building a browser engine instead of recreating 30 years worth of technologies from scratch.