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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Parallel programming in Java

2 点作者 panbhatt将近 15 年前
Hi All, I am in need of a parallel programming framework or tutorial. Can anyone of you please give me a direction in this regard. I am aware of a Fork-Join approach however it is scheduled to be release with JDK7...

2 条评论

mindcrime将近 15 年前
Are you just trying to take advantage of multiple cores on one physical box, or are you looking to spread work out over a cluster?<p>If it's the former, JVM threads should be able to take advantage of multiple cores, IIRC. Just read Doug Lea's book on Java concurrency:<p><a href="http://www.awprofessional.com/bookstore/product.asp?isbn=0201310090" rel="nofollow">http://www.awprofessional.com/bookstore/product.asp?isbn=020...</a><p>If you want to go over a cluster, there are a few options. If your problem can be done in map/reduce fashion, there is Hadoop: <a href="http://hadoop.apache.org" rel="nofollow">http://hadoop.apache.org</a> or if you want a traditional RCP styled approach (eg, MPI), there are Java bindings for MPI: <a href="http://aspen.ucs.indiana.edu/pss/HPJava/mpiJava.html" rel="nofollow">http://aspen.ucs.indiana.edu/pss/HPJava/mpiJava.html</a><p>In either case, Doug's homepage is a great resource: <a href="http://gee.oswego.edu/~dl/index.html" rel="nofollow">http://gee.oswego.edu/~dl/index.html</a><p>and the HPJava page might be of interest as well:<p><a href="http://www.hpjava.org/" rel="nofollow">http://www.hpjava.org/</a>
maxcach将近 15 年前
Hi, maybe you should have a look at Ateji Parallel extensions <a href="http://www.ateji.com/multicore/" rel="nofollow">http://www.ateji.com/multicore/</a>