Announcement
Collapse
No announcement yet.
Java 9 Tech Preview Planned For Fedora 27
Collapse
X
-
Originally posted by ldo17 View Post
The mem columns say it all...
By the way, if you compare with python, skipping examples with too low memory consumption (because jvm is heavier than cpython), you'll see that java consumes from 1/2 to 3x of corresponding python example. Assuming python's RCs work well, looks like GC is not main memory hog.
Comment
-
Originally posted by Khrundel View Posthttp://benchmarksgame.alioth.debian.org/.
When python program 20 times slower than java, nothing can save it. Unless you think JVM GC eats 90% of run time.
I have tons of full time experience with both. I could list pros/cons of each, but that's probably a waste of time.
Python devs offload high performance pieces to some lower level library, which is a valid strategy.
Comment
-
Originally posted by ldo17 View Post
The mem columns say it all...
I'd love to see them show some benchmarks with the current feature complete JDK 9 builds, but they usually wait until final release and then just switch all Java benchmarks over.
Comment
-
Originally posted by ldo17 View Post
The mem columns say it all...
Then the modularity system will hopefully help avoid loading the bulk of the JDK that isn't used in the benchmark apps. If you look at the JDK 9 standard module graph, pretty much nothing is used other than the very basic core module. These benchmark apps don't do SQL, they don't do GUIs, no networking, no XML, just raw local text processing.
Comment
-
Originally posted by Khrundel View PostBy the way, if you compare with python, skipping examples with too low memory consumption (because jvm is heavier than cpython), you'll see that java consumes from 1/2 to 3x of corresponding python example. Assuming python's RCs work well, looks like GC is not main memory hog.
Try comparing a test that will run memory-intensive for, say, an hour, and then see how the speed compares between Java, C and Python.
I suspect the Java version might not even complete the test without falling victim to the Dreaded OOM Killer...
Comment
-
Originally posted by ldo17 View PostGiven that Javas 1-8 haven’t done so?
Originally posted by ldo17 View PostHow do you think it will happen--will they adopt reference-counting at last?
This blog post I saw talks about the details of Java garbage collection vs Go's garbage collection:
Comment
-
EcmaScript is a great choice for a general teaching language.
That article says, ultra-obnoxious flame-war garbage like:
Originally posted by ldo17 View PostMany programmers who believe in open-source software would be happy to see Java wither and die if only to spite Oracle, a company seen as hostile to open source.
Comment
Comment