TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Faster: Fast numerical calculations in Rust

163 pointsby blacksmytheover 7 years ago

11 comments

gatmneover 7 years ago
When I read &quot;absurdly fast&quot;, I expected to see some benchmarks against an equivalent SIMD implementation in C or at least a similar library in another language.<p>Please consider adding such benchmarks so that we can assess how fast this library really is when compared to other more established libraries.
评论 #15813514 未加载
评论 #15812318 未加载
评论 #15813094 未加载
评论 #15812486 未加载
mncharityover 7 years ago
I wonder if one could do a Rust version of <a href="https:&#x2F;&#x2F;github.com&#x2F;ekmett&#x2F;rts" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ekmett&#x2F;rts</a> ? It&#x27;s a SPMD-on-SIMD exploratory hack, with SOA and masked branching, built on C++ templates.<p>Core is <a href="https:&#x2F;&#x2F;github.com&#x2F;ekmett&#x2F;rts&#x2F;blob&#x2F;master&#x2F;src&#x2F;rts&#x2F;varying.hpp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ekmett&#x2F;rts&#x2F;blob&#x2F;master&#x2F;src&#x2F;rts&#x2F;varying.hp...</a> and <a href="https:&#x2F;&#x2F;github.com&#x2F;ekmett&#x2F;rts&#x2F;blob&#x2F;master&#x2F;src&#x2F;rts&#x2F;vec.hpp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ekmett&#x2F;rts&#x2F;blob&#x2F;master&#x2F;src&#x2F;rts&#x2F;vec.hpp</a> .
评论 #15813913 未加载
FridgeSealover 7 years ago
For better or worse I have a very big soft spot for things in programming that go fast, even moreso for things that go <i>really fast</i>.<p>I look forward to learning more Rust so I can get an excuse to use this.
评论 #15812101 未加载
vvimpcrvshover 7 years ago
Author of Faster here. Thanks so much for posting this; I was wondering where the flood of stars was coming from!
nerdponxover 7 years ago
How do these numbers stack up to equivalent algorithms in C and Fortran?<p>Are we going to see a RustBLAS soon? Something open-source that could go up against MKL for performance would be really amazing.
评论 #15814091 未加载
评论 #15814969 未加载
partycoderover 7 years ago
Superlatives are problematic because for instance &quot;fast&quot; is relative to something and that something might change over time.<p>Superlatives are usually challenged and you will require proof. The proof itself can also be challenged. Suddenly you are spending a lot of time.<p>I would rather say: &quot;SIMD math library&quot; rather than &quot;Fast library&quot;.
评论 #15814825 未加载
SloopJonover 7 years ago
Is there a simpler way than building to find out whether a crate requires nightly, as this one does?
评论 #15811654 未加载
评论 #15812285 未加载
pzoneover 7 years ago
Utterly superficial thought, but how about the name &quot;fastr&quot; for this crate?
评论 #15812223 未加载
评论 #15814308 未加载
mkjover 7 years ago
Won&#x27;t the compiler be autovectorising that kind of code already?
评论 #15813420 未加载
fnord77over 7 years ago
I thought modern languages optimized code into SIMD instructions where it could automatically...<p>I know Java does this.
评论 #15812985 未加载
评论 #15813452 未加载
评论 #15813865 未加载
评论 #15814507 未加载
IncRndover 7 years ago
I don&#x27;t see absurdly fast anything in this post. Are there any benchmarks that would support the statement &quot;absurdly fast numerical calculations&quot;?