Graal and Truffle could accelerate programming language design
1–10 of 204 posts
Re: Graal and Truffle could accelerate programming language design
#2[1] Nitra - https://github.com/JetBrains/Nitra
Re: Graal and Truffle could accelerate programming language design
#3"For example, the TruffleJS engine which implements JavaScript is competitive with V8 in benchmarks. The RubyTruffle engine is faster than all other Ruby implementations by far. The TruffleC engine is roughly competitive with GCC."
Re: Graal and Truffle could accelerate programming language design
#4...unfortunately. I see PLs as mere material - sure, you can improve on them but at far more important is how we architect our systems (the PL-independent ways we create and organize our systems into interfaces and components) is where I see the software practitioners of today flailing - and no PL is going to save us there.
We need to have a better way to analyze systems on these architectural measures and a better way to train people to build better architectures, not more PLs.
Re: Graal and Truffle could accelerate programming language design
#5There are a lot of weasel words for the other languages, but the comment about ruby is extremely interesting: "For example, the TruffleJS engine which implements JavaScript is competitive with V8 in benchmarks. The RubyTruffle engine is faster than all other Ruby implementations by far. The TruffleC engine is roughly competitive with GCC."
It is not surprising in sense Java is competitive to C/C++ as per many Java developers.
Re: Graal and Truffle could accelerate programming language design
#6Re: Graal and Truffle could accelerate programming language design
#7There are a lot of weasel words for the other languages, but the comment about ruby is extremely interesting: "For example, the TruffleJS engine which implements JavaScript is competitive with V8 in benchmarks. The RubyTruffle engine is faster than all other Ruby implementations by far. The TruffleC engine is roughly competitive with GCC."
Previous discussion
Re: Graal and Truffle could accelerate programming language design
#8I think another key part of the dream is IDE support. So maybe the dream is complete with: Graal + Truffle + Nitra[1]. [1] Nitra - https://github.com/JetBrains/Nitra
Re: Graal and Truffle could accelerate programming language design
#9There are a lot of weasel words for the other languages, but the comment about ruby is extremely interesting: "For example, the TruffleJS engine which implements JavaScript is competitive with V8 in benchmarks. The RubyTruffle engine is faster than all other Ruby implementations by far. The TruffleC engine is roughly competitive with GCC."
> The TruffleC engine is roughly competitive with GCC It is not surprising in sense Java is competitive to C/C++ as per many Java developers.
In many use cases, C++ might win the benchmark game, but the end user will not notice any difference in human time.
The biggest issue is of course than one needs to learn how to optimize code, use the right algorithms and data structures in first place.
Re: Graal and Truffle could accelerate programming language design
#10There are a lot of weasel words for the other languages, but the comment about ruby is extremely interesting: "For example, the TruffleJS engine which implements JavaScript is competitive with V8 in benchmarks. The RubyTruffle engine is faster than all other Ruby implementations by far. The TruffleC engine is roughly competitive with GCC."
JS VMs also tend to have multiple tiers for that reason - interpreter, baseline, and full JIT, etc. - while AFAIK the Graal+Truffle/JVM approach has just 2 (which is optimal for Java, but not for startup times of JavaScript and other dynamic languages).