Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yobbo
13 days ago
|
parent
|
context
|
favorite
| on:
Is Rust faster than C?
In C, one can build data structures with pointers that would require reference counting and heap allocation in Rust. The performance would also depend on what kind of CPU/features it is compiled for.
Whether one
should do it
is a different question.
steveklabnik
13 days ago
[–]
You can use unsafe in Rust to write the exact same thing.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Whether one should do it is a different question.