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.

A Library of Parallel Algorithms

212 pointsby federicoponziover 7 years ago

6 comments

glangdaleover 7 years ago
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 未加载
hackermailmanover 7 years ago
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 未加载
alexggordonover 7 years ago
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 未加载
Athasover 7 years ago
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.
slaymaker1907over 7 years ago
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 未加载
Twirrimover 7 years ago
Now if only I used NESL for anything.