2 ms·
> While these were initially relatively simple protocols, today, they are enormously complex, to the point that a web browser like Google Chrome has upwards of
by irrational 5y ago
> While these were initially relatively simple protocols, today, they are enormously complex, to the point that a web browser like Google Chrome has upwards of 5 million lines of code.
How many of those lines of code are dedicated to HTTP and HTML vs all the other things browsers do? How many of those lines of code are for CSS, JS, UI, Extensions, security, local storage, etc?
- RodgerTheGreat 5y agoI just downloaded a copy of the 1-page version of the latest W3C HTML standard document. This document is 11.65 megabytes and over 80,000 lines long. It is safe to say that HTML alone comprises a daunting level of complexity.
- Matthias247 5y agoGemini mostly seems to be comparable to HTTP, since the markup/formatting part seems to be extremely minimal. For HTTP, if we narrow things down to HTTP/1.1 GET without keepalive (connection-reuse) and for fixed content-length documents only, then I don't think it's vastly more complicated than Gemini. A client are not required to implement to implement more if they don't need it. Browsers implement more (HTTP/[23], other request types, caching, etc) because it improves the user experience - but it wouldn't even be required for showing most web pages.