Re:Speed up your Python using Rust
by rochacbruno on Friday November 17, 2017 @03:28PM
(#15725713)
How does it compare with https://github.com/servo/html5ever (someone with free time do run some benchmarks)
That's a great question, and fits nicely in the context of the current discussion.
I think the primary claim to fame for this C-based https://github.com/kovidgoyal/html5-parser is serving as a drop-in performance boost for lxml (at the API level; it parses invalid HTML differently/more consistently).
I too would be interested in a performance comparison to help decide which project makes more sense for new projects. The existing Python layer in html5-parser might give it a leg up if the language of choice is Python - is there a similar project for the Rust-based html5ever?
>Python: interactive glue language between high performance C libraries.
Appreciate this walkthrough for Rust!