2 ms·
> Writing an HTML5 parser requires FAANG resources. No it doesn't. The HTML5 parsing algorithm is well-defined, and parsing it according to the spec is not an
by cxr 5y ago
> Writing an HTML5 parser requires FAANG resources.
No it doesn't. The HTML5 parsing algorithm is well-defined, and parsing it according to the spec is not an order of magnitude more difficult than properly handling XML according to its spec. What makes browsers difficult does not come from the part that involves ingesting the initial response payload and building it into a tree in a spec-compliant way—what makes things difficult is all the other stuff involved with creating and maintaining a browser.