|
|
|
|
|
by xorvoid
105 days ago
|
|
I'm pretty conflicted on this comment section. A lot of people are expressing a lot of fear of C++ bloat. I get that. I'm not sure what the right answer for Rust is, but I'm fairly convinced that these type system ideas are the future of programming languages. Perhaps it can be added to rust in a reasonable and consistent way that doesn't ultimately feel like a kludgy language post-hoc bolt on. Time will tell. There is a serious risk to getting it wrong and making the language simply more complicated for no gain. But, these ideas are really not obscure academic stuff. This is where programming language design is at. This moment is like talking about sum-types in the 2010s. These days that concept is normalized and expected in modern programming languages. But, that's a fairly recent development. I suspect that Linear types, refinement types, etc will follow a similar trajectory. Whether new ideas like this can be reasonably added to existing languages in a good way is the age old question. Hopefully Rust makes good choices on that road. |
|
I think the Rust team/community is well-aware of this. Which is why Rust has such a well-defined RFC life-cycle.
At the other end, one of the biggest complaints about Rust is that many features seem eternally locked behind nightly feature gates.