MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/rust/comments/7m99wo/outperforming_rust_with_functional_programming/drsibfi/?context=3
r/rust • u/steveklabnik1 rust • Dec 26 '17
90 comments sorted by
View all comments
96
The author makes some incorrect claims about the Rust and the C here, specifically that things are heap allocated. I haven't dug in to figure out the details of why we're slower here though.
35 u/[deleted] Dec 26 '17 The author makes some incorrect claims about the Rust and the C here, specifically that things are heap allocated.I updated the blog post. It should be correct now.I haven't dug in to figure out the details of why we're slower here though.In the case of the generated Rust I still have no idea. In the case of C/ATS, it seems to arise from n != 1 instead of n > 1. 27 u/steveklabnik1 rust Dec 26 '17 I updated the blog post. It should be correct now.<3
35
The author makes some incorrect claims about the Rust and the C here, specifically that things are heap allocated.
I updated the blog post. It should be correct now.
I haven't dug in to figure out the details of why we're slower here though.
In the case of the generated Rust I still have no idea. In the case of C/ATS, it seems to arise from n != 1 instead of n > 1.
n != 1
n > 1
27 u/steveklabnik1 rust Dec 26 '17 I updated the blog post. It should be correct now.<3
27
<3
96
u/steveklabnik1 rust Dec 26 '17
The author makes some incorrect claims about the Rust and the C here, specifically that things are heap allocated. I haven't dug in to figure out the details of why we're slower here though.