Google Developers Experiment With Plumbing Dartlang Into LLVM

Written by Michael Larabel in LLVM on 17 January 2017 at 06:41 AM EST. 8 Comments
LLVM
It's been a while since last hearing much excitement around Google's Dart programming language that's an alternative to JavaScript. This ECMA-approved language is now being used with IoT devices, can still be source-to-source compiled for JavaScript, and the latest is that the Google developers have been experimenting with wiring it into LLVM.

Dart engineers have finally turned to investigating the LLVM compiler framework now that it's becoming more usable for languages that rely upon garbage collection and can better jive with the Dart approach.

In the brief time they were experimenting with Dart on LLVM, they concluded "Performance of the prototype was on a par with our more mature DartVM-based ahead-of-time solution. For the performance analysis we are making no use of Dart strong mode, which can be expected to yield optimization opportunities that play to LLVM’s strengths. We are, however, making use of some closed world assumptions, which we think are realistic."

But the Dart developers haven't yet decided whether they will pursue a permanent approach of using LLVM or not. Those interested in learning more about the Dart and LLVM experiments can read this interesting Medium.com post.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week