Hacker News new | past | comments | ask | show | jobs | submit login

> I have encountered many situations where perfectly reasonable, zero copy, memory management that would be completely normal, fast and safe in C

So you think. It doesn't matter how smart you think you are, statistically speaking you're not smarter than a compiler.




I think you are overestimating the expressive power of lifetime annotations in rust, and how smart the borrow checker is


Anything you can express in C, you can in Rust. When it comes to pointer tricks you might have to use unsafe, but that is part of the language.


If only 50% of the community didn't think it was their job to scream at complete strangers for using that part of the language.


Agreed (unfortunately). There is too much of an obsession in avoiding unsafe at all costs in my opinion. When you consider all C/C++ is effectively written in an unsafe block then it seems a bit ludicrous to assume you would never ever use unsafe in tight, performant code.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: