• hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    128
    ·
    edit-2
    9 months ago

    Because it’s super complicated and a thousand moving parts are involved. You have to parse HTML, draw everything correctly, do JavaScript, Canvases, WASM, Websockets, HTTP 1.0, 1.1, 2.0, SPDY, support 10 different image formats, 5 audio, 5 video formats, allow videoconferencing, write a plug-in system. Handle Bookmarks, History, File downloads, uploads, … … …

    The standards alone are thousands of pages. You gotta read them all, understand them and program everything. Which takes years for a team of developers. And you also want it secure or your users get in all sorts of trouble. A browser is the number 1 way to get malware on your computer. And all these experts take a decent salary. Multiply that (hourly) wage with multiple people and several years and you’ll end up with an expensive product.

    • jeffhykin@lemm.ee
      link
      fedilink
      arrow-up
      63
      ·
      edit-2
      9 months ago

      Don’t forget the fully fledged remote desktop thats built in, WebVR (which is being replaced with Web XR), Web Bluetooth, Web USB (aka Web Serial), the API’s for notifications, ambient light sensors, an entire transactional database (indexed DB), the language translation API, the Gamepad API (videogame controllers), hardware passkeys (yubikey), speech to text, text-to-speech, webGL, webGPU, webworkers, service workers, an entire suite of cryptography tools, GPS location, battery, vibration, FileSystem API, picture-in-picture API, WebRTC, WebSensors, etc.

      And then, on top of all that, building a miniture OS-kernel so that tasks can be sandboxed scheduled/executed and prevent 1 tab from crashing everything or hogging resources.

    • Max-P@lemmy.max-p.me
      link
      fedilink
      arrow-up
      21
      ·
      9 months ago

      And despite all that, if you don’t bend over to emulate Chrome’s quirks a ton of sites still won’t work properly and users won’t use your browser because the other one is more “compatible”. And you might still have to fake your user agent to be Chrome or Firefox so sites will even give you the fancy HTML instead of giving you the mobile or “limited” version meant for IE and older browsers.

      • nebulaone@lemmy.worldOP
        link
        fedilink
        arrow-up
        27
        ·
        9 months ago

        I hate the fact that the only viable choice is between Chromium, Chromium, Chromium, Chromium, Chromium or Firefox.

        • stinerman@midwest.social
          link
          fedilink
          English
          arrow-up
          11
          arrow-down
          1
          ·
          9 months ago

          There is Safari, which uses a different rendering engine, but yeah, there’s basically 3 browsers. Chromium, Safari, and Firefox.

          I don’t use Safari and never have, so I can’t speak to its compatibility or quirks for the user or for developers.

            • Max-P@lemmy.max-p.me
              link
              fedilink
              arrow-up
              3
              ·
              edit-2
              9 months ago

              It’s known as the new Internet Explorer in web development circles. And just like IE, it’s exclusive to an operating system so you have to figure out a way to get macOS to even test it out. On iOS it’s the only browser engine even available, and when the EU stuff finally comes through, it’s still an IE situation because defaults and OS integration. You can’t ignore iOS for any serious web jobs.

              I’ve been out of web development for a little while now, but the bugs were very IE-esque.

              At least they finally just implemented WebPush, at long last.

              • DaPorkchop_@lemmy.ml
                link
                fedilink
                arrow-up
                1
                ·
                9 months ago

                Wasn’t Safari available for Windows at some point? I swear I remember it being installed on my school laptop like 10 years ago.

                • Teils13@lemmy.eco.br
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  9 months ago

                  According to the Safari (web browser) wikipedia article: «Between 2007 and 2012, Apple maintained a Windows version, but abandoned it due to low market share», so yes.

          • carl_dungeon@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            9 months ago

            Safari still has the best power management and speed in most cases. I mainly use safari but swap back and forth with Vivaldi on a daily basis.

        • Teils13@lemmy.eco.br
          link
          fedilink
          English
          arrow-up
          3
          ·
          9 months ago

          There is also Gnome Web (ex Epyphany), a browser that also uses the Webkit engine (as far as i know it’s the only ‘clone’ of Safari cause of this). It’s made for Linux (and Unix in general), though i heard somewhere they will make a windows version too. So we can broaden the choice to Chromium, Firefox or Safari.

        • linearchaos@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          It does suck ass that every browser is Chrome. But on the upside almost every website works in almost every browser.

      • hendrik@palaver.p3x.de
        link
        fedilink
        arrow-up
        9
        ·
        9 months ago

        Heheh, we’re in the same situation as 15 years ago when I learned webdevelopment and had to handle lots of Internet Explorer quirks. And there were many. And IE was the dominant browser. Now it’s a different one but a similar situation. I think it got substantially better, though.

        • Fubarberry@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          5
          ·
          9 months ago

          Yeah, every browser being chrome sucks, but it’s also so much better than being forced to focus any website development around IE compatibility.

      • hendrik@palaver.p3x.de
        link
        fedilink
        arrow-up
        18
        ·
        9 months ago

        You’re welcome. I think people underestimate what’s inside of a browser. I mean that piece of software does lots of things. And you can pretty much do most things with just some online services inside of the browser. Do office work, watch TV, do image editing, play games… Sure it needs some web application but also lots of interfaces that need to be provided by the browser.