Hacker GitHub

← All repos

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

Mentions per year 12 mentions · busiest year 2015 (3)
20082026
  1. …some servo browser functionality. EDIT: fastrender also includes the servo HTML parser: html5ever ( https://github.com/servo/html5ever ).
  2. …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
  3. …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
  4. ▲ 2
    Ask HN: A fast, Rust HTML parser that works?
    story by thatxliner · 2023-02-23 · 2 comments
  5. 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
  6. 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…
  7. …represent the state transitions declaratively. It also uses pattern matching to nice effect. [1]: https://github.com/servo/html5ever/blob/master/html5ever/src...
  8. …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
  9. https://github.com/servo/html5ever seems to also have a (not yet complete) C API
  10. > 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
  11. …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
  12. …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