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.

GrCUDA: A Polyglot Language Binding for CUDA in GraalVM

77 pointsby markelliotover 5 years ago

6 comments

smabieover 5 years ago
GraalVM is super exciting. Suddenly the major reason against adopting the JVM for certain use cases has gone away: start-up time. That said, I’ve spent a couple hours trying to get GraalVM to produce a native image of a moderately complex Scala project (20 kloc) I work on in my spare time, and can’t get it to work.<p>Would be nice because supposedly not only does GraalVM reduce start-up time but features some highly aggressive optimizations ideal for abstraction heavy code&#x2F;languages (like scala). Would be nice to use because scala generates garbage like it’s no tomorrow.
评论 #21521717 未加载
评论 #21518562 未加载
suyashover 5 years ago
This is wonderful news for Java Developers, however my main concern is with CUDA being a proprietary technology, only works on NVIDIA GPU&#x27;s.
评论 #21518311 未加载
xiphias2over 5 years ago
It&#x27;s great to have GraalVM CUDA support, but LLVM PTX output of many languages is full of bugs and missing features. I wish NVIDIA would give more support to those integrations that already exist, but experimental for many years now (i.e. Julia, Rust).
The_rationalistover 5 years ago
What if web browsers included graalvm as an alternative to WebAssembly?
评论 #21518133 未加载
评论 #21517053 未加载
hellofunkover 5 years ago
See also: the Futhark programming language.
mister_hnover 5 years ago
Why should one use this vs. using C&#x2F;C++ bindings for CUDA and load them in other languages (if required)?<p>I believe it underperforms in comparison with raw C or C++ implementation, just because of the overhead that goes through GraalVM
评论 #21515353 未加载
评论 #21515129 未加载
评论 #21515087 未加载
评论 #21515290 未加载