this post was submitted on 28 Aug 2024
882 points (97.2% liked)

memes

10181 readers
2085 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 2 months ago (10 children)

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?

[–] [email protected] 23 points 2 months ago (2 children)

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.

[–] [email protected] 5 points 2 months ago (1 children)

Reject modernity, embrace Gopher.

[–] [email protected] 2 points 2 months ago (1 children)
[–] [email protected] 1 points 2 months ago

Or, if you'd prefer, here's a video overview

[–] [email protected] 3 points 2 months ago (2 children)

I mean, we did it with Linux and it didn't cost billions...

[–] [email protected] 9 points 2 months ago

Just the combined efforts of thousands of people. Mostly in their spare time.

[–] [email protected] 6 points 2 months ago (1 children)

If you count the hours spent and developer pay, I'm sure it would. It's just all donated by the contributors.

[–] [email protected] 2 points 2 months ago

Many developers get paid, of course.

[–] [email protected] 22 points 2 months ago (1 children)

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.

[–] [email protected] 1 points 2 months ago

Well ladybird might be somewhat usable in many years...

[–] [email protected] 18 points 2 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.

[–] [email protected] 9 points 2 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.

[–] [email protected] 5 points 2 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.

[–] [email protected] 5 points 2 months ago* (last edited 2 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.

[–] [email protected] 4 points 2 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.

[–] [email protected] 2 points 2 months ago

That's what Ladybird is trying to do.

[–] [email protected] 1 points 2 months ago

Plenty of alternative to Chromium already exist, not all good.

[–] [email protected] 1 points 2 months ago

The only ones I know of are Ladybird and Verso, and they're still far from being usable