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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

GraalVM 22.1: Developer experience improvements, Apple Silicon builds, and more

190 点作者 fniephaus大约 3 年前

8 条评论

zorr大约 3 年前
GraalVM is interesting technology. I&#x27;ve been playing a little bit with native-image in a Kotlin project and it allows me to build native binaries from my Kotlin code. With support for a lot of the existing java&#x2F;kotlin library ecosystem.<p>The binaries are a bit large (10MB for a Kotlin hello world) but they are fast. I&#x27;ll be using this for some personal cli tools since Kotlin+Maven is my personal 10x platform.<p>Besides cli projects I&#x27;ve also done some experimentation with GUI and database stuff. Using the Gluon plugin GraalVM is able to compile a native binary for a JavaFX app that talks to a Sqlite database.<p>When using a library that relies on reflection there might be some graalvm config to fiddle with but mostly it just works, and some of the libraries are already &quot;native-image ready&quot; with the necessary config inside the published package.
评论 #31168763 未加载
评论 #31171443 未加载
评论 #31176986 未加载
评论 #31169293 未加载
评论 #31178499 未加载
rishav_sharan大约 3 年前
I tried Graal&#x2F;Truffle last year, to make a toy language of my own. Unfortunately the state of documentation and tutorials was simply not good enough and I had to give up on it. I think for someone who is a Java&#x2F;Graal enthusiast, Truffle documentation may be enough, but for someone like me who knows just the basics of Java and its ecosystem, the Truffle language implementation docs seemed woefully inadequate.<p>Its a shame though, for what I did understand of Truffle seemed very interesting. I do plan on trying truffle yet again in a few years, when hopefully the community size and the state of the documentation have improved.
评论 #31170935 未加载
评论 #31171243 未加载
评论 #31174660 未加载
eatonphil大约 3 年前
&gt; Graal was included in HotSpot-based Java VM releases like OpenJDK from Java 9 through 15, but was removed in Java 16 for lack of use.<p>From wikipedia [0].<p>What&#x27;s the deal with GraalVM today? I guess Oracle is still keeping it alive since this is a post by an Oracle team.<p>Does it have a future or is it going to be abandoned or what is the plan?<p>[0] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;GraalVM#:~:text=The%20GraalVM%20compiler%20was%20started,16%20for%20lack%20of%20use" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;GraalVM#:~:text=The%20GraalVM%...</a>.
评论 #31169065 未加载
评论 #31169154 未加载
评论 #31168732 未加载
评论 #31168941 未加载
评论 #31168987 未加载
exabrial大约 3 年前
If you love GraalVM, and very small app sizes, and get a nice dependency injection framework to break your code up into testable modules, be sure to check out <a href="https:&#x2F;&#x2F;quarkus.io" rel="nofollow">https:&#x2F;&#x2F;quarkus.io</a> . Be sure to scroll down to the memory and start time benchmarks :)
评论 #31176503 未加载
mark_l_watson大约 3 年前
My world revolves around Common Lisp (with Python for deep learning), but Clojure is also an important language to me because of both professional use and I wrote a Clojure AI book.<p>What is the Graalvm + Clojure situation? A quick web search shows some use cases. I find the idea of using high programmer-efficient Lisp languages and then building small and fast native applications to be compelling. That said, LispWorks, SBCL, and Allegro CL are all good for building standalone apps.
评论 #31169235 未加载
评论 #31168885 未加载
评论 #31168975 未加载
评论 #31177933 未加载
评论 #31169002 未加载
smasher164大约 3 年前
I think Project Loom support will open up green thread support for more Truffle-based languages. I could see Go, Haskell, Erlang, Scheme, and Concurrent ML -style languages taking advantage of that infrastructure.<p>I&#x27;m also hoping for official support for static linking. Right now, it&#x27;s an undocumented feature done through the Feature API.
didibus大约 3 年前
Anyone uses one of the Truffle languages in production? Like any Ruby or Python users are deploying on Graal&#x27;s TrufflePython or TruffleRuby?
评论 #31169627 未加载
tiffanyh大约 3 年前
I&#x27;ve always wondered if the perf silver bullet for Rails would be Graal&#x2F;Tuffle.
评论 #31169388 未加载
评论 #31169329 未加载