TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A Library of Parallel Algorithms

212 点作者 federicoponzi超过 7 年前

6 条评论

glangdale超过 7 年前
Back in around 2006 I was doing GPGPU regex and string matching and decided to google around for parallel string matching algorithms. I spent a good chunk of time scrolling around in the Vishkin&#x27;s algorithm implementation and wondering why it all felt so familiar; it was only when I scrolled back to the top of the file that I realized it was familiar because <i>I wrote it</i>.<p>A fine example of why you should comment your code, as the person who reads it in 10 years from now will be a stranger, even if that person is you.
评论 #15803727 未加载
hackermailman超过 7 年前
There is also the CMU free draft book on Parallel algorithms design <a href="http:&#x2F;&#x2F;www.parallel-algorithms-book.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.parallel-algorithms-book.com&#x2F;</a>
评论 #15799679 未加载
alexggordon超过 7 年前
Animations link appears to be broken. After doing some way back machine snooping, looks like it hasn&#x27;t been up since about 2000[0]. You can access the legacy java applet animations here[1]<p>[0] <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20000611153404&#x2F;http:&#x2F;&#x2F;web.scandal.cs.cmu.edu&#x2F;cgi-bin&#x2F;demo" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20000611153404&#x2F;http:&#x2F;&#x2F;web.scanda...</a><p>[1] <a href="http:&#x2F;&#x2F;www.cs.cmu.edu&#x2F;~scandal&#x2F;applets&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.cs.cmu.edu&#x2F;~scandal&#x2F;applets&#x2F;</a>
评论 #15807808 未加载
Athas超过 7 年前
These algorithms are written in NESL, which is perhaps the cleanest example of the oft-mentioned theory that parallel programming becomes simple in a functional setting. It really is remarkable how flexible it is. Unfortunately, I&#x27;m not sure NESL ever managed to run particularly fast in practice.
slaymaker1907超过 7 年前
As someone who has done a lot of parallel programming, I really can&#x27;t recommend Java 8 streams enough. They have a bit of overhead, however, they are incredibly easy to use and are extremely expressive.
评论 #15800474 未加载
评论 #15800758 未加载
Twirrim超过 7 年前
Now if only I used NESL for anything.