LWN.net Logo

Oracle sues Google over use of Java in Android (ars technica)

Oracle sues Google over use of Java in Android (ars technica)

Posted Aug 15, 2010 16:31 UTC (Sun) by Cyberax (subscriber, #52523)
In reply to: Oracle sues Google over use of Java in Android (ars technica) by jmalcolm
Parent article: Oracle sues Google over use of Java in Android (ars technica)

Yes, I'm somewhat of a GC geek, so I have actually checked its source code (about a year ago, AFAIR). It's better than Boehm GC, but not by much.

I seriously hope that Google's work on Unladen Swallow will give good GC support for LLVM. And then we can start producing interesting things, like Scala compilable directly into machine code.


(Log in to post comments)

Oracle sues Google over use of Java in Android (ars technica)

Posted Aug 15, 2010 21:32 UTC (Sun) by jmalcolm (subscriber, #8876) [Link]

Scala looks very interesting to me. I wish the .NET effort had more bite. Just this morning I was wishing I could provide default method implementations as part of C# interfaces and wished I had something like Scala's traits.

Are you referring to compiling Scala to Java bytecode, running that on VMKit over LLVM, and using an Unladen Swallow inspired GC? Or are you talking about something even cooler?

I know that Mono can use LLVM as the backend. I guess it takes a bit longer to JIT but the resulting code is faster after that. Perhaps your Scala scenario would benefit Mono as well.

Oracle sues Google over use of Java in Android (ars technica)

Posted Aug 15, 2010 23:10 UTC (Sun) by Cyberax (subscriber, #52523) [Link]

"Are you referring to compiling Scala to Java bytecode, running that on VMKit over LLVM,"

No, I'm talking about compiling Scala directly into machine code using LLVM. This is doable and is not particularly hard, it requires only a new backend for Scala.

"and using an Unladen Swallow inspired GC? Or are you talking about something even cooler?"

I'm talking about Swallow's GC.

"I know that Mono can use LLVM as the backend. I guess it takes a bit longer to JIT but the resulting code is faster after that. Perhaps your Scala scenario would benefit Mono as well."

Mono's LLVM experiment is not complete, it can't be used in production.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds