Announcement

Collapse
No announcement yet.

Java JDK 8 Developer Preview Released

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • uid313
    replied
    Originally posted by wargames View Post
    What is actually too bad is that we can't use plain C (or C++) to get rid of the bloat. And don't talk me about native activities because they still run on top of Dalvik. I own an Android phone with 512MB of RAM and a 1Ghz processor and it is slow as hell with Android 4.0. And I guess C# wouldn't be much better in this regard.
    Supposedly, Android 4.1, 4.2 and 4.3 are faster than 4.0.
    I heard upcoming version will be faster on low-end devices too.

    It sucks to have to code in Java 6 though, because it doesn't have all the conveniences and modernities so it needs more boilerplate code than C#.

    Leave a comment:


  • Veerappan
    replied
    Originally posted by JS987 View Post
    Java isn't bad language, but memory usage of Java applications running with 64-bit Oracle JVM is ridiculous.
    Simple C++ Qt application takes less than 5 MB of private memory, but usage of similar Java application can grow up to 150 MB of private memory.
    150 MB isn't too much on machine with 4 GB or more RAM, but 10 such Java applications will use 1500 MB of private memory which is ridiculous compared to 50 MB with 10 C++ applications.
    *shrug* Maybe 8 will be better. There's an open-source reference implementation for version 8 which is the official reference implementation. It's feasible that people could find ways to optimize the implementation given that the code is open.

    http://openjdk.java.net/projects/jdk8/

    Maybe it's a placebo effect (OOH, Shiny!), but I recently upgraded from JDK 6 to JDK 7 for a project at work, and it seems to at least start/stop the web application server much faster on my machine.... (JBoss AS 6, Core i7-2600k, 8GB DDR3, Ubuntu 13.04 64-bit).

    And there's a bunch of new warnings thrown by the compiler that I have to go and fix now...

    Leave a comment:


  • wargames
    replied
    Originally posted by sandain View Post
    There is nothing inherently wrong with Java as a language. You can write bloated crap in any language, not just Java. It doesn't matter which you use, be it Java, C, C++, C#, or Perl, if you write an algorithm that runs in O(n^2) time that could run in O(nlogn) instead, your program is going to be slower than it should be.
    Sure, but the same O(n) algorithm in Java is slower than in C. Even Micro$oft is realizing managed languages suck and that's why after all these years they are pushing C++ again.

    Leave a comment:


  • JS987
    replied
    Originally posted by sandain View Post
    There is nothing inherently wrong with Java as a language. You can write bloated crap in any language, not just Java. It doesn't matter which you use, be it Java, C, C++, C#, or Perl, if you write an algorithm that runs in O(n^2) time that could run in O(nlogn) instead, your program is going to be slower than it should be.
    Java isn't bad language, but memory usage of Java applications running with 64-bit Oracle JVM is ridiculous.
    Simple C++ Qt application takes less than 5 MB of private memory, but usage of similar Java application can grow up to 150 MB of private memory.
    150 MB isn't too much on machine with 4 GB or more RAM, but 10 such Java applications will use 1500 MB of private memory which is ridiculous compared to 50 MB with 10 C++ applications.

    Leave a comment:


  • sandain
    replied
    Originally posted by wargames View Post
    What is actually too bad is that we can't use plain C (or C++) to get rid of the bloat.
    There is nothing inherently wrong with Java as a language. You can write bloated crap in any language, not just Java. It doesn't matter which you use, be it Java, C, C++, C#, or Perl, if you write an algorithm that runs in O(n^2) time that could run in O(nlogn) instead, your program is going to be slower than it should be.

    Leave a comment:


  • leif81
    replied
    Originally posted by wargames View Post
    What is actually too bad is that we can't use plain C (or C++) to get rid of the bloat.
    Just think of how buttery smooth it'd be if they had written everything in Assembly.

    Leave a comment:


  • wargames
    replied
    Originally posted by uid313 View Post
    I hope Java 7 and Java 8 are nicer.
    I only used Java 6, and I think C# / .NET are much nicer than Java.

    It is too bad that Android development is stuck on Java 6 and cant use more modern Java 7.
    What is actually too bad is that we can't use plain C (or C++) to get rid of the bloat. And don't talk me about native activities because they still run on top of Dalvik. I own an Android phone with 512MB of RAM and a 1Ghz processor and it is slow as hell with Android 4.0. And I guess C# wouldn't be much better in this regard.

    Leave a comment:


  • uid313
    replied
    I hope Java 7 and Java 8 are nicer.
    I only used Java 6, and I think C# / .NET are much nicer than Java.

    It is too bad that Android development is stuck on Java 6 and cant use more modern Java 7.

    Leave a comment:


  • phoronix
    started a topic Java JDK 8 Developer Preview Released

    Java JDK 8 Developer Preview Released

    Phoronix: Java JDK 8 Developer Preview Released

    Oracle has released the first JDK 8 Developer Preview builds for Windows, OS X, Linux, and Solaris platforms...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Working...
X