News for hackers. Stuff that matters.
Re:Scala 2.12.0-RC1 released by wiradikusuma on Wednesday September 07, 2016 @04:13AM (#12441593)
too bad they require JDK8 while App Engine supports only JDK7 :(
Re:Scala 2.12.0-RC1 released by adriaanm on Wednesday September 07, 2016 @04:22AM (#12441626)
True Scala 2.12 generates byte code that requires a Java 8 VM. Scala 2.11 will be supported for a while longer, with as many as the 2.12 features implemented there first (those that don't require Java 8).
Re:Scala 2.12.0-RC1 released by melling on Wednesday September 07, 2016 @07:40AM (#12442461)
Java 8 was released almost 2.5 years ago. How long should they have to wait before they can use it? Java 9 was originally suppose to be released about now.
Re:Scala 2.12.0-RC1 released by pas on Wednesday September 07, 2016 @04:18AM (#12441614)
What does this mean?

They probably require JDK8 for compiling/building the class files, but can you target 1.7?

See target flag for javac ( http://stackoverflow.com/a/21206909 )

Re:Scala 2.12.0-RC1 released by pjmlp on Wednesday September 07, 2016 @05:30AM (#12441877)
You can only make use of the target flag when not making use of new bytecodes oder APIs introduced in a specific Java version.

Scala 2.12 is replacing some of their own code with Java 8 new features, so they rely on a Java 8 compatible JVM.

This will also prevent Scala 2.12 to target Android, because even Android N isn't 100% Java 8 compatible, specially the low level JVM features like invokedynamic and method handles are not supported on DEX format.

Re:Scala 2.12.0-RC1 released by Nullabillity on Wednesday September 07, 2016 @04:27AM (#12441640)
AFAIK no, 2.12 does a lot to be compatible with equivalent native features of JVM 8. The way to target JVM 7 bytecode is to stick with Scala 2.11.
Re:Scala 2.12.0-RC1 released by cel1ne on Wednesday September 07, 2016 @04:16AM (#12441610)
Try https://kotlinlang.org/.

It works with JDK 6+.

Re:Scala 2.12.0-RC1 released by justinhj on Wednesday September 07, 2016 @05:58AM (#12441998)
Scala 2.11 also supports 6
Re:Scala 2.12.0-RC1 released by pedrorijo91 on Wednesday September 07, 2016 @04:28AM (#12441644)
doesn't the Flexible Environment fit for you? https://cloud.google.com/appengine/docs
Re:Scala 2.12.0-RC1 released by wiradikusuma on Wednesday September 07, 2016 @05:09AM (#12441783)
i haven't explored it, but from cursory look it's more "work" (and more expensive) than the one that comes out-of-the-box