4 ms·
Ask HN: What is the worst thing about Rust?
I'm asking specifically about language features you don't like.
- WhereIsTheTruth 4y agoRust is a great language, i think the worst thing about rust, actually i have 2 issues with rust: - very slow to compile - very noisy syntax Both are relatively easy to fix - just keep improve the compiler - just come up with new language evolution proposals So nothing deal breaker
- owenpalmer 4y agoIs there a specific part of the syntax you don't like?
- imwithstoopid 4y agoHiding magic in macros
- PaulHoule 4y agoBorrowing model that is not compatible with 'composition in the large'. Example: With a garbage collector a library doesn't need to worry about whether or not the application still needs some memory and the application doesn't need to worry if the library still needs it. This global concern gets handled at a global level. Rust turns this global concern into a local concern, you can make up a discipline for borrowing which works for some libraries and application some of time but can't make one that works for all of them all of the time.
- olvy0 4y agoSee my comments here: https://news.ycombinator.com/item?id=27143833 https://news.ycombinator.com/item?id=27143833 And here: https://news.ycombinator.com/item?id=32449823 https://news.ycombinator.com/item?id=32449823 Those are my personal takes, and should really be disregarded since I don't develop in Rust anymore.
- randomint64 4y agoThe language is moving too fast! Too many features are added and seeing proposal like [0] don't make me confident about its future. Is it a general purpose programming language, or is it a research project? [0]https://blog.rust-lang.org/inside-rust/2023/02/23/keyword-generics-progress-report-feb-2023.html https://blog.rust-lang.org/inside-rust/2023/02/23/keyword-ge...