Hacker News new | ask | show | jobs
by pcwalton 3909 days ago
> Rust has a very powerful type system, and combining that with lifetimes

If you don't count lifetimes, Rust's type system isn't really more powerful or complex than, say, that of Swift. There are no dependent types here. There are no type families. There aren't even higher-kinded type parameters.

> The type system grows more powerful (and more complex) every time I revisit Rust, it seems.

What additions are you referring to?

1 comments

I wouldn't say Swift's type system is particularly simple, I rather like it, but it does have a lot of complexities.