Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
unrealhoang
on Sept 12, 2019
|
parent
|
context
|
favorite
| on:
Why is Rust slightly slower than C?
You can write zero ops destructor as well. So yes, RAII is zero-cost abstraction.
fluffything
on Sept 12, 2019
[–]
I literally said so.
ncmncm
on Sept 12, 2019
|
parent
[–]
You wrote that in C++ and Rust it is necessary to "opt out" of properly freeing memory. That is a false statement. It is not just incidentally false, it is fundamentally false.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: