servo/html5ever
View on GitHub ↗ ★ 2,655 Rust
High-performance browser-grade HTML5 parser
12 mentions on Hacker News by 12 people: 1 story, 11 comments · first 2015-01-20 · latest 2026-01-26
20082026
-
…some servo browser functionality. EDIT: fastrender also includes the servo HTML parser: html5ever ( https://github.com/servo/html5ever ).
comment by cfreksen · 2026-01-26 · in When AI 'builds a browser,' check the repo before believing the hype -
…2. https://friendlybit.com/python/writing-justhtml-with-coding-... 3. https://github.com/servo/html5ever 4. https://simonwillison.net/2025/Dec/15/porting-justhtml/ 5. https://github.com/mitsuhiko/minijinja 6. https://lucumr.poco
comment by gorkaerana · 2026-01-16 · in Cursor's latest “browser experiment” implied success without evidence -
…seems to use html5ever[0], which is a "proper" HTML browser also used by the Servo browser. [0]: https://github.com/servo/html5ever
comment by Nullabillity · 2024-03-20 · in Htmlq: Like Jq, but for HTML -
▲ 2
Ask HN: A fast, Rust HTML parser that works?story by thatxliner · 2023-02-23 · 2 comments
-
How does it compare with https://github.com/servo/html5ever (someone with free time do run some benchmarks)
comment by rochacbruno · 2017-11-17 · in Speed up your Python using Rust -
Perhaps a better comparisson is this: https://github.com/servo/html5ever/blob/master/html5ever/src... https://html.spec.whatwg.org/multipage/parsing.html#data-sta... Where spec: U+0000 NULL -> This is an unexpected-null-character parse…
comment by Ygg2 · 2017-06-20 · in Show HN: Python bindings to the Servo HTML5 parser, html5ever -
…represent the state transitions declaratively. It also uses pattern matching to nice effect. [1]: https://github.com/servo/html5ever/blob/master/html5ever/src...
comment by pcwalton · 2017-06-20 · in Show HN: Python bindings to the Servo HTML5 parser, html5ever -
…https://github.com/hyperium/hyper https://github.com/rusoto/rusoto https://github.com/servo/html5ever (largely on the performance front; on a recent test of GZip + WARC reading + HTML parsing, Kotlin (on the JVM) + WebArchive
comment by nostrademons · 2016-05-17 · in Ask HN: Requested Rust libraries and/or interesting projects -
https://github.com/servo/html5ever seems to also have a (not yet complete) C API
comment by legulere · 2016-03-12 · in MyHTML – HTML Parser on Pure C with POSIX Threads Support -
> https://github.com/servo/html5ever is the largest parsing library we use in Servo, and there are a bunch of Rust tricks done there. HTML parsing is hard (the spec is insanely complex), and this library does it well with much less code.…
comment by general_failure · 2015-05-15 · in A Taste of Rust -
…much better than C-style state machines, with lots of matching (switching) on character literals. https://github.com/servo/html5ever is the largest parsing library we use in Servo, and there are a bunch of Rust tricks done there. HTML…
comment by Manishearth · 2015-05-14 · in A Taste of Rust -
…unsafe, most exists in an alternate DOM implementation, or in the C interface the library exposes): https://github.com/servo/html5ever That said, Rust is definitely not perfect in this regard, three of the major failings with Rust that…
comment by dbaupp · 2015-01-20 · in Explore the ownership system in Rust