Simon Willison 12/19/2025

swift-justhtml

Read Original

The article announces swift-justhtml, a new dependency-free HTML5 parser for Swift, following similar projects in Python, JavaScript, and OCaml. It details that the parser uses the same coding tricks and passes the html5lib-tests suite. The post includes benchmark results comparing parse times for Rust (html5ever), Swift, JavaScript, and Python implementations, showing Swift's performance relative to the others.

swift-justhtml

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes