News for hackers. Stuff that matters.
Re:Java garbage collection can be really slow by gravypod on Saturday April 23, 2016 @11:07AM (#11555834)
If you give Java a try, it's got a lot more impact than Factory. Play around with the language a bit, there are things in the JVM and the language that really change the way you think about programming.
Re:Java garbage collection can be really slow by Roboprog on Saturday April 23, 2016 @02:31PM (#11556731)
Sure. I now know:

* What a great feature function pointers / procedural types / other call-by-name/reference-mechanisms were. (J8 lamdas are used like function references, but are kind of heavy)

* What a source of mystery "annotations" are.

Java started out like an interpreted version of Delphi or UCSD Pascal disguised as a cleaned up C++, but since 1.1 it evolved slowly and/or in the wrong ways.

Actually, as somebody who has been programming since 1983, in quite a few languages, Java brought little to nothing new to the table. Nothing personal against you, I'm just sick of the Java language/syntax and how it failed to live up to the hype.

Re:Java garbage collection can be really slow by smac8 on Saturday April 23, 2016 @12:52PM (#11556286)
I'm a fan of Java in some senses, but curious to here what things you discovered in the language or JVM that changed how you thought about programming
Re:Java garbage collection can be really slow by ysleepy on Saturday April 23, 2016 @02:35PM (#11556756)
For me it is the vastly superior tooling.

* Best IDEs around. (Yes better than .net ecosystem)

* JVM monitoring (Flight Control, VisualVM)

* Performance Sampling/Profiling <1% perf cost

* actually being cross platform (yes, mono, bla)

Re:Java garbage collection can be really slow by threeseed on Saturday April 23, 2016 @06:13PM (#11557653)
Ability to use Clojure, Scala, Freje, Groovy, Java, Javascript, Python etc all on the one platform and share libraries and objects between each other.

People forget that Java has the best ecosystem of libraries bar none especially when you get into the more enterprise areas e.g. Big Data.

Re:Java garbage collection can be really slow by gravypod on Saturday April 23, 2016 @11:15PM (#11558407)
One-and-done is my favorite way of thinking about using Java. The JVM provides the perfect, for my use case, amount of abstraction from the hardware while still allowing you to do some amazing things.

There is also a huge amount of features that are supported by the JVM that Java still doesn't make use of.

There is also a great JIT and garbage collector.

Re:Java garbage collection can be really slow by smac8 on Tuesday April 26, 2016 @11:26AM (#11572650)
Yes, but I suppose this is more the JVM than the language itself. The JVM is quite convincing though, hence Clojure, Scala, etc.