Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Following my curiosity, I found:

The Story of Stylo: Replacing Firefox's CSS engine with Rust

https://www.youtube.com/watch?v=Y6SSTRr2mFU

Woo, 9M lines of C/C++ to 85K lines of Rust..

Author's slides: https://www.joshmatthews.net/rbr17/



No, for the style system is 160K lines of C++ down to 85K lines of Rust. Still a great win!


Those numbers sound much more realistic, ~53% reduction in code size - and you're right, it's a great testament to Rust's conciseness!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: