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

memes

10665 readers
2240 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 !politicalmemes@lemmy.world

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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] djsoren19@yiffit.net 9 points 3 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?

[–] Eiri@lemmy.world 23 points 3 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.

[–] Hupf@feddit.org 5 points 3 months ago (1 children)

Reject modernity, embrace Gopher.

[–] madjo@feddit.nl 2 points 3 months ago (1 children)
[–] Hupf@feddit.org 1 points 3 months ago

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

[–] 0ddysseus@lemmy.world 3 points 3 months ago (2 children)

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

[–] Zorque@lemmy.world 9 points 3 months ago

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

[–] JohnDClay@sh.itjust.works 6 points 3 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.

[–] orcrist@lemm.ee 2 points 3 months ago

Many developers get paid, of course.

[–] Blackmist@feddit.uk 22 points 3 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.

[–] PlexSheep@infosec.pub 1 points 3 months ago

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

[–] Daxtron2@startrek.website 18 points 3 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 9 points 3 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.

[–] recapitated@lemmy.world 5 points 3 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.

[–] SkunkWorkz@lemmy.world 5 points 3 months ago* (last edited 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.

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

[–] gedaliyah@lemmy.world 2 points 3 months ago

That's what Ladybird is trying to do.

[–] PanArab@lemm.ee 1 points 3 months ago

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

[–] Tixanou@lemm.ee 1 points 3 months ago

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