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

> Since rust and swift are similar languages, there is probably a similar issue.

Swift's type checker works quite differently than Rust's. I'm not aware of any exponential time complexity issues in type-checking Rust code.



Exponential performance cliff compiling associated types with equality constraints[1]. It was first opened in 2015 and was only recently addressed. Rust certainly has the potential for exponential times when performing large inference.

[1]: https://github.com/rust-lang/rust/issues/22204




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

Search: