3 ms·
> 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
by eridius 9y ago
> 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.
- shepmaster 9y agoExponential 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 https://github.com/rust-lang/rust/issues/22204