Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: What is the worst thing about Rust?
6 points by owenpalmer on March 31, 2023 | hide | past | favorite | 6 comments
I'm asking specifically about language features you don't like.



See my comments here:

https://news.ycombinator.com/item?id=27143833

And here:

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.


Borrowing 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.


Rust 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


Is there a specific part of the syntax you don't like?


The 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-ge...


Hiding magic in macros




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

Search: