News for hackers. Stuff that matters.
Re:Scala Native by densh on Wednesday May 11, 2016 @06:44PM (#11679982)
> How's the managed runtime implemented (GC, memory model, etc.)?

In a first release we're going to use Boehm GC. That's just a stepping stone, not a long-term strategy. Stay tuned for news on this front.

> How did you get rid of JVM and JRE class library dependencies of Scala?

We're reimplementing / porting from Apache Harmony all the things we need.

> What's the debugging story?

We're going to integrate with lldb.

> Is this in any way related to vmkit?

Not related in any way, apart from being based on LLVM.

Re:Scala Native by airless_bar on Wednesday May 11, 2016 @06:56PM (#11680048)
> We're reimplementing / porting from Apache Harmony all the things we need.

Doesn't that create licensing issues? You already seem to have code from Harmony in the project, but the project's license is neither Apache nor does it mention it.

Additionally, won't that cause trouble with Oracle, considering the lawsuit against Google?

Re:Scala Native by densh on Wednesday May 11, 2016 @07:17PM (#11680178)
We're are going to have an official guide on licensing in next few days.
Re:Scala Native by petecox on Wednesday May 11, 2016 @07:59PM (#11680381)
> We're reimplementing / porting from Apache Harmony all the things we need.

Would GCJ be any use? They had native compilation over a decade ago.

(Although developers moved on to IcedTea, iirc)

Re:Scala Native by emeryberger on Thursday May 12, 2016 @08:32AM (#11682849)
Hans Boehm's GC is actually really, really good. Before you embark on a massive engineering effort that will likely lead to little gain and a lot of pain, I would measure the overheads very carefully. I am not at all convinced precise GCs buy you that much over the Boehm GC for most apps, and they fundamentally kill interop with C code.

(I can't recall for sure but I believe I had this conversation with Martin in a taxi ride not too long ago :)

Re:Scala Native by needusername on Thursday May 12, 2016 @10:35AM (#11683680)
Mono was a long time on Hans Boehm's GC and despite feeding it a lot of metadata never got satisfying results with it. Eventually they replaced it with a custom GC (SGen).