Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jtxx000
on Feb 7, 2016
|
parent
|
context
|
favorite
| on:
Rust vs. C++: Fine-grained Performance
On my Macbook Pro, the rust version seems consistently faster (20% or so) than the c++ version compiled with clang.
jtxx000
on Feb 7, 2016
[–]
As a followup, if I use __builtin_expect as recommended by the article, the situation reverses, with c++ being significantly faster.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: