19

I'd like to know how mature the llvm-backend for Scala currently is and whether it is used in any open source project that I could have a look at.

Kim Stebel
  • 41,826
  • 12
  • 125
  • 142
  • 1
    if you're gonna vote to close, at least move it to "programmers" – Kim Stebel Sep 10 '11 at 12:57
  • while it is not pure *scala for llvm*, there is [JVM impementation](http://vmkit.llvm.org/) on top of llvm, so I guess you can have more running scala on VMKit than Geoff Reedy can give you atm. – om-nom-nom Apr 09 '12 at 08:42
  • The great thing about LLVM based solution would not having Garbage Collection. Glimpsed at Rust today, that seems to be their (only?) strength over Scala. And fast startup times, of course. – akauppi Jun 28 '14 at 18:09

1 Answers1

15

I would say (sadly) it's pretty immature. You need certain steps among them: a scala standard library without java dependencies and a runtime including garbage collection. Which are still TODO. From my incomplete view on the topic I would say there is more to be done than what's already done. Check this for more info: http://vimeo.com/28774096

AndreasScheinert
  • 1,918
  • 12
  • 18
  • Thanks for the video link! I could live without the standard library and even without seperate compilation, but no garbage collection? And then he talks about a bunch of unimportant things that need to be implemented... – Kim Stebel Sep 10 '11 at 20:38
  • Scala.js is kind of crafting a minimal-viable java.* set of APIs for non-JVM Scala. LLVM implementation could use the same. However, if LLVM also must run GC (does it?) I see little point in the whole operation. – akauppi Jun 28 '14 at 18:12