Live data from Hacker News

JDK 8 Release Notes

oracle.com

61–70 of 314 posts

Re: JDK 8 Release Notes

#61
post #19

Anyone know what Google is going to do about Java 8 compatibility on Android? Not being able to adopt lambdas on mobile is a bummer.

They added support for try-with-resources in KitKat, maybe they will continue to add support for new Java features in newer versions?

Re: JDK 8 Release Notes

#62
post #18
post #4

You know, I've been messing around with Java little lately. Nothing too fancy. It's actually not a bad language -- with a modern IDE it's actually pretty quick and breezy to work with. If the standard library was cleaned up and the warts were all removed and filled in, even if it broke compatibility (call it Java X or the Latte language or something) I'd be okay with that. There's too much old 90's cruft hanging arou…

A major cleanup of the Java libraries is scheduled for Java 9. The JVM actually does not surprise anyone who's been working with it for a while: it is downright the most performant, flexible and awesome runtime environment ever developed. I've been playing around with lots of languages and environments in my pretty long career and, in the past decade, have always come back to Java (or the JVM). It feels like driving…

What is best practice when it comes to Java GUIs?

Would you recommend Java for building cross-platform desktop apps with near native UI performance?

The IntelliJ IDE looks great but most Java desktop apps I've come across just look and feel weird. Not sure why there is such a big difference.

Re: JDK 8 Release Notes

#63
post #4

You know, I've been messing around with Java little lately. Nothing too fancy. It's actually not a bad language -- with a modern IDE it's actually pretty quick and breezy to work with. If the standard library was cleaned up and the warts were all removed and filled in, even if it broke compatibility (call it Java X or the Latte language or something) I'd be okay with that. There's too much old 90's cruft hanging arou…

JVM is fast these days, indeed. I was playing with Solr lately and was shocked with its speed... Also saw a comparison of HTTP servers lately and the fastest one was written in Java, I think.

Re: JDK 8 Release Notes

#64
post #32

Earlier quoted context omitted.

Nashorn is said to be high-performance, and I've looked around for benchmarks several times since it was announced, but I still can't find anything but this: https://github.com/tadas-subonis/java-nashorn-performance-sa... What gives? Wouldn't a real comparison to Rhino and V8 (at least) be interesting? Edit: strike that. Found someone who ran Octane and SunSpider and compared it to V8 and Spidermonkey: http://wnamele…

I've been using JDK8 for a while, but no Nashorn on Android keeps me on Rhino. Which is unfortunate. Rhino's a pain.

Android doesn't use Java 8, I believe it's mostly still on Java 6.

Re: JDK 8 Release Notes

#65
post #25
post #9

Yay!! Java 8 is released!! My favorite parts: - invokedynamic : http://stackoverflow.com/questions/6638735/whats-invokedynam... - Project Nashorn : http://openjdk.java.net/projects/nashorn/ - lambda expressions : http://openjdk.java.net/projects/lambda/

As noted in your link, invoke dynamic isn't intended to be used for Java developers - it's intended for non-Java languages running on the JVM.

yes, that's the magic of it! You can run code dynamically from other languages.

Re: JDK 8 Release Notes

#66
post #9

Yay!! Java 8 is released!! My favorite parts: - invokedynamic : http://stackoverflow.com/questions/6638735/whats-invokedynam... - Project Nashorn : http://openjdk.java.net/projects/nashorn/ - lambda expressions : http://openjdk.java.net/projects/lambda/

Nashorn is said to be high-performance, and I've looked around for benchmarks several times since it was announced, but I still can't find anything but this: https://github.com/tadas-subonis/java-nashorn-performance-sa... What gives? Wouldn't a real comparison to Rhino and V8 (at least) be interesting? Edit: strike that. Found someone who ran Octane and SunSpider and compared it to V8 and Spidermonkey: http://wnamele…

Nashorn is going to get faster with time. It is not a browser engine so don't try to compare it directly with V8 etc.

Re: JDK 8 Release Notes

#68
post #21

IntelliJ just pinged me with an update, and checking the release notes it says "ships final support for java 8". Sweet!

A better light weight alternate is Netbeans 8 that also just got released and has full Java 8 support in addition to many many other features: https://netbeans.org/community/releases/80/

Re: JDK 8 Release Notes

#69
post #4

You know, I've been messing around with Java little lately. Nothing too fancy. It's actually not a bad language -- with a modern IDE it's actually pretty quick and breezy to work with. If the standard library was cleaned up and the warts were all removed and filled in, even if it broke compatibility (call it Java X or the Latte language or something) I'd be okay with that. There's too much old 90's cruft hanging arou…

C# is a nice languae. Java...not so much. Properties, delegates, proper generics, LINQ and so on.

I would say that C#'s language evolution is too closely tied with the terrible frameworks as well as legacy they have to support.

Re: JDK 8 Release Notes

#70
post #18

Earlier quoted context omitted.

A major cleanup of the Java libraries is scheduled for Java 9. The JVM actually does not surprise anyone who's been working with it for a while: it is downright the most performant, flexible and awesome runtime environment ever developed. I've been playing around with lots of languages and environments in my pretty long career and, in the past decade, have always come back to Java (or the JVM). It feels like driving…

What is best practice when it comes to Java GUIs? Would you recommend Java for building cross-platform desktop apps with near native UI performance? The IntelliJ IDE looks great but most Java desktop apps I've come across just look and feel weird. Not sure why there is such a big difference.

JavaFX is now a default platform (supported by Oracle) for developing desktop apps. It replaced the clumsy Swing and is showing a lot of promise. http://www.oracle.com/technetwork/java/javase/overview/javaf...
Post reply on HN