Ladybird's javascript engine is written in Rust.
Not that Rust absolves all issues, but I'd trust it over any of the legacy C/C++ implementations out there.