← All projects
Project record01 mention
Originally shared on Hacker News

sup-xml

A Rust-based XML parser that can be used on its own or as a drop-in replacement for libxml2 at the C ABI level. It is roughly 2x faster than libxml2, and being written in Rust eliminates the class of memory-safety bugs that drive a large share of CVEs.

Last shared
01 / The problem

What it addresses

Memory-safety bugs cause roughly 70% of CVEs; implementing the parser in Rust rules out that entire class of vulnerabilities at compile time while also outperforming libxml2.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. sup-xml

    A Rust-based XML parser that can be used on its own or as a drop-in replacement for libxml2 at the C ABI level. It is roughly 2x faster than libxml2, and being written in Rust eliminates the class of memory-safety bugs that drive a large share of CVEs.

    Problem: Memory-safety bugs cause roughly 70% of CVEs; implementing the parser in Rust rules out that entire class of vulnerabilities at compile time while also outperforming libxml2.

    Posted by @jrpt · Original comment ↗

    “I've been making a Rust-based XML parser that can be used on its own, or as a drop-in replacement for libxml2 at the C ABI level. Basically, it's not only 2x faster than libxml2, but being written in Rust eliminates a lot of cybersecurity risk.”