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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Rootbeer GPU Compiler Lets Almost Any Java Code Run On the GPU

223 点作者 doublextremevil将近 13 年前

16 条评论

wmf将近 13 年前
I wonder if this is as big a win as it sounds. Regardless of what language you're using, you have to "think GPU" to get any performance from GPUs. The additional overhead of using CUDA/OpenCL syntax seems pretty small in comparison.
评论 #4372376 未加载
评论 #4372442 未加载
评论 #4373618 未加载
kevingadd将近 13 年前
I had forgotten just how much I hate java namespaces.<p>import edu.syr.pcpratts.rootbeer.testcases.rootbeertest.serialization.MMult;<p>This seems like a pretty amazing project if the claims are true, though - I wasn't aware that CUDA was able to express so many of the concepts used to implement Java applications. The performance data in the slides is certainly compelling!
评论 #4372436 未加载
评论 #4372276 未加载
评论 #4371996 未加载
评论 #4372196 未加载
评论 #4371974 未加载
评论 #4372264 未加载
评论 #4372015 未加载
sillysaurus将近 13 年前
It would be good to post the code for the performance tests in the slides. <a href="https://raw.github.com/pcpratts/rootbeer1/master/doc/hpcc_rootbeer.pdf" rel="nofollow">https://raw.github.com/pcpratts/rootbeer1/master/doc/hpcc_ro...</a>
tmurray将近 13 年前
this sort of thing is why NVIDIA is supporting LLVM:<p><a href="http://nvidianews.nvidia.com/Releases/NVIDIA-Contributes-CUDA-Compiler-to-Open-Source-Community-7d0.aspx" rel="nofollow">http://nvidianews.nvidia.com/Releases/NVIDIA-Contributes-CUD...</a><p>in other words, with that and the right frontend, you can take Language X, compile to LLVM IR, and run it through the PTX backend to get CUDA.<p>however, in the grand scheme of things, this probably doesn't make GPU programming significantly easier to your average developer (as you still have to deal with big complicated parallel machines); what it really does is ease integration into various codebases in those different languages.
pjmlp将近 13 年前
A comparison with AMD's Java offering, Arapi (<a href="http://developer.amd.com/zones/java/aparapi/pages/default.aspx" rel="nofollow">http://developer.amd.com/zones/java/aparapi/pages/default.as...</a>), would be interesting.
评论 #4372212 未加载
mjs将近 13 年前
"Rootbeer was created using Test Driven Development and testing is essentially important in Rootbeer"<p>I'm not sure what the "essentially" means here, but this is the first "big" program I'm aware of that name-checks TDD, and a counter-example to my theory that programs where much of the programmer effort goes into algorithms and data structures are not suited to TDD.<p>Was the TDD approach "pure"? (Only one feature implemented at a time, with absolutely no design thought given to what language features might need to be implemented in the future.)
评论 #4372525 未加载
ChuckMcM将近 13 年前
Its pretty cool. Of course you are probably using that GPU in a desktop, but an on die GPU in a server class machine? Something to consider.
评论 #4372041 未加载
winter_blue将近 13 年前
Does this simply run your java code on the GPU, or does it parallelize your code automatically? The latter would be really cool.
评论 #4372295 未加载
AnthonBerg将近 13 年前
I prefer programming in CUDA over programming in Java. However, I have a lot of respect for the Java runtime.<p>If Rootbeer or something similar allows me to program CUDA stuff in Clojure, then I am impressed and excited.
skardan将近 13 年前
Has anybody used Rootbeer with language which compiles to Java bytecode (like Clojure)?<p>It would be interesting to see how functional languages designed for parallelism perform on gpu.
评论 #4372713 未加载
rbanffy将近 13 年前
&#62; The license is currently GPL, but I am planning on changing to a more permissive license. My overall goal is to get as many people using Rootbeer as possible.<p>It would be bad to compromise the freedoms of the users in order to be able to limit the freedoms of more of them.<p>Any reason why the GPLv3 would be considered unsuitable? How about the LGPLv3?
DaNmarner将近 13 年前
The title captured the true character of Java: Write once, almost run almost everywhere.
评论 #4373543 未加载
damncabbage将近 13 年前
<p><pre><code> 4. sleeping while inside a monitor. </code></pre> ... Can someone clarify what this is?
评论 #4372344 未加载
stephen272将近 13 年前
Seems much nicer than coding directly for CUDA or OpenCL
评论 #4373875 未加载
pron将近 13 年前
At first glance this seems very impressive.
algad将近 13 年前
Any security implications? Malware running on the GPU?
评论 #4374061 未加载