Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've observed some level premature optimization in the Rust community, surely coming from being performance oriented.

I received a review comment some time ago about changing a line of code in order to spare one allocation, for a call that was executed _once_ in the whole lifetime of a program. That was not the only time I've observed this attitude.

I think starting with being handy with profiling and only after measurement, thinking about solutions, rather than starting with the idea that certain patterns are harmful per se.



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

Search: