128
submitted 3 months ago by nebulaone@lemmy.world to c/asklemmy@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] z3rOR0ne@lemmy.ml 47 points 3 months ago* (last edited 3 months ago)

Browsers are literally the best attempt at the everything app.

There's already been a lot of good answers on this. But a goody oldie article on making a browser is covered in Matt Brubeck's 2014 article, Let's Build A Browser Engine.

If you want to see one of the most minimal source code for a terminal based browser that is still in use today, I recommend downloading the source code for the Links Browser. Note that this site is very old and doesn't even use https. But the source code can still be had here.

Browser software is super interesting, but there's a lot even for a bare minimum setup like Links, so that's more or less why most people don't develop new ones from scratch anymore. Though there are a few exceptions like Servo, and Surf but they are pretty buggy tbh. Hope that helps and sparks your interest.

EDIT: Also of interest is Tali Garsiel's article, How Browsers Work. This is probably one of the best in depth articles on the subject.

[-] barinzaya@lemm.ee 3 points 3 months ago* (last edited 3 months ago)

Surf is just a wrapper around WebKit, which is developed by Apple and used in Safari. Surf isn't a from-scratch browser implementation.

[-] z3rOR0ne@lemmy.ml 1 points 3 months ago

Oh, I honestly didn't remember that, and just put that in as an afterthought. Should have double checked myself. Thanks for the clarification.

Well anyways. I love this subject enough to admit when I'm wrong. And also, in researching the subject more, I found that there is the Ladybird Browser which is apparently not based on Chromium nor Firefox. I have not played around with it, but it's nice to see people still putting in effort to make a new browser engine.

I also found this article where the author makes a browser based off of Matt Brubeck's aforementioned article. Very interesting stuff.

this post was submitted on 13 Aug 2024
128 points (97.8% liked)

Ask Lemmy

26875 readers
1901 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS