The one where he is writing a browser...

Created at 2023-08-09 14:18:13 (8 months ago)

So, I've decided to start a project that I wanted to do for a long time: write a browser. There are a few TINY issues with this:

  • First, I don't know how to write a browser.
  • Secondly, I'll be using Rust, which is a language I never used.

So, all in all, we're bound for success already!

The idea is basically to see how far we can get into writing something that downloads a HTML page from a site, parses it and displays as good as it can on screen. There are a lot (A LOT) of moving parts in between, so I decided to spend a lot of time on reading up on both the browser business and how to write stuff in Rust.

We could start from the end (trying to write something on a screen), or from the beginning (trying to download HTML from a site), but I'd rather start in the middle: the parsing of HTML code into something that could be converted into a DOM (document object model: I hear lots of browsers use this).. So instead of dealing with all the things at once, let's see if we can parse the HTML.. If that works, we could think of trying to convert it into a DOM tree, and from that point.. who knows...

rust browser

About jaytaph

Codemuser extraordinaire

avatar Loves building crazy and insane stuff. Happiest when left alone. All I wanted was a Pepsi, just a Pepsi.
Joined:March 24, 2023
Following:2
Followers:2
Posts:46
Comments:3
Upvotes:4
RSS feed