• @djsoren19
    link
    fedilink
    93 months ago

    What’s preventing me, a private user, from just creating my own web browser? it’s a program like any other that just needs to be able to access each websites’ server and display its files right? You can’t tell me that nobody else has ever wanted to make their own alternative, so why do we never hear about them?

    • @Eiri@lemmy.world
      link
      fedilink
      233 months ago

      It’s possible. But it’s a huge undertaking. If you just wanted to fully understand all of the specifications for HTTP, JavaScript and CSS, it’d take you days before having written a single line of code.

      Then you need to write all that in a performant way.

      Then you need to keep up with all the new features.

      Then you need to keep up with all the new security threats.

      Browsers nowadays are practically little operating systems. So the question is not that far off from asking what prevents you from writing an alternative to Windows.

      You can. But it’ll cost millions, or maybe billions, to build something good.

    • @Blackmist@feddit.uk
      link
      fedilink
      English
      223 months ago

      Probably the fact that you could work for the rest of your life and never catch up to the current spec. It’s enormous, and they’re adding more things faster than you could ever keep up with.

      Even MS couldn’t be bothered any more, and that’s a $3 trillion business.

      Which is why there’s only three browser engines in any kind of use.

    • @Daxtron2@startrek.website
      link
      fedilink
      183 months ago

      Because they’re giant applications that do a lot under the hood that you don’t see. Of course you can write your own, we did that during my degree but it was extremely basic.

    • @jjjalljs@ttrpg.network
      link
      fedilink
      93 months ago

      a program like any other that just needs to be able to access each websites’ server and display its files right?

      In software engineering “just” is often considered a dirty word.

      Rendering HTML and CSS correctly is not trivial.

      Doing JavaScript to spec also is not trivial.

      Doing all your http verb network request stuff is also not trivial.

      Plus the interface (probably graphical) is a lot of work.

      There’s also probably a thousand other things that would eat up time. Displaying all the different image formats, for example.

    • @SkunkWorkz@lemmy.world
      link
      fedilink
      5
      edit-2
      3 months ago

      Time and knowledge. Browsers are basically almost an OS nowadays in capabilities. Yes you can build a basic HTML renderer quickly. But anything beyond that just takes a enormous amount of effort and time especially if you want to make it performant and secure. Like it’s very easy to accidentally introduce a vulnerability that can be exploited by someone. Like the last few generations of Nintendo consoles were hacked and jailbroken trough the browser. And that’s a browser build with WebKit by a team of engineers. Good luck doing it on your own, especially without Chromium or WebKit.

    • @recapitated@lemmy.world
      link
      fedilink
      53 months ago

      The main thing is technical nuances, and a never ending list of them.

      But you could start with something like lynx or elinks, but at that point you may as well just use lynx or elinks.

    • KillingTimeItself
      link
      fedilink
      English
      43 months ago

      there are a few projects right now working to accomplish this, servo, and ladybug/ladybird cant for the life of me remember it.