|
|
|
|
|
by EliRivers
2869 days ago
|
|
As an aside, on the subject of writing a browser from scratch, I once had a meeting with my technical director (many jobs past) in which the proposed solution to some oddities in the Qt web browser widget of the day (this would have been around early 2010s, using Qt 4.8.x, I think) was for us to write our own. Apparently this was a basic, simple task that was commonly set in introductory programming textbooks, and should take me a half-day or so to get something basic running. I pointed out that when Netscape decided to rewrite their browser, with all the knowledge they had of how browsers work, they spent three years doing it, and that was a decade and a half previously when the web was orders of magnitude more simple. I sometimes wonder how out of context he was. Or I was? What did he think a browser was? Were we speaking at massive cross-purposes? Did he mean we should grab some other web engine and find a way to use that? Even so, a half-day to get something going? And just what introductory programming textbooks was he reading? Where was I going with this? Somewhere along the lines of how "write a browser" clearly can mean massively different things to different people, or maybe that there can be an enormous gulf of context and understanding there somewhere. To this day, I still don't know. Never will. |
|
Getting a first cut of really basic HTML rendering--essentially saying, here's a string that's X color and Y font, display it--is probably doable in a day if you have robust implementations of everything else. I have to imagine your director thought that doing HTML rendering was "all" you'd have to do. Of course, what makes building browsers especially hard is there is very tight integration between all of these different components, so that you have to maintain all of these pieces.