The one where he is writing a browser...
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...
About jaytaph
Codemuser extraordinaire
Joined: | March 24, 2023 |
Following: | 2 |
Followers: | 2 |
Posts: | 48 |
Comments: | 3 |
Upvotes: | 4 |
Previous musings
- (1) September 2024
- (1) July 2024
- (2) February 2024
- (3) January 2024
- (3) December 2023
- (4) November 2023
- (5) October 2023
- (10) September 2023
- (8) August 2023
- (1) June 2023
- (1) May 2023
- (4) April 2023
- (5) March 2023