On 8/14/13 7:59 PM, Archos wrote:
I think that Servo is using a binding to a C library to parsing HTML5
(from Nginx).
But now, Google has opened-sources Gumbo, a C Library for Parsing HTML5.
So it could be used until that somebody builds a parser in pure Rust.
https://github.com/google/gumbo-parser
I don't see much of a point in switching. It doesn't buy us any
security, because it's still written in unsafe code. It also probably
doesn't buy us speed, because the project explicitly says it's not
designed to be the fastest HTML parser around.
It would be better to switch to a Rust parser, possibly generated from
validator.nu.
Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev