News for hackers. Stuff that matters.
Re:Java 12 by _bxg1 on Tuesday March 19, 2019 @07:23PM (#19437222)
Yeah, I do wonder how Unity deals with the GC. Maybe there's an algorithm like this one, maybe the engine's core systems (physics and graphics) are written in native code.

C# as a language does tend to be nicer than Java, but its VM doesn't have as rich a family of languages.

Re:Java 12 by SomeHacker44 on Tuesday March 19, 2019 @08:00PM (#19437487)
My limited understanding is that high end Unity devs code their stuff not to make garbage. Unity has a very nice system for profiling that sort of thing.

Also, CLR has F#, which I like much better than Scala (and, no type erasure in CLR), Clojure which is ... just like Clojure on JVM, and C#, which as a Java dev since 1.1 I have come to prefer as a language even as I remain JVM ecosystem preferring on the server side. JVM has ABCL, a neat Common Lisp, and now Graal/Truffle which is super interesting. If not for Clojure though (and maybe Kotlin) I would probably give up on the JVM. Oracle does not help. Just my opinion.

Re:Java 12 by _bxg1 on Wednesday March 20, 2019 @02:13PM (#19445080)
I did just remember that C# has value-type data structures (which last I checked, Java didn't) which probably helps a lot. Most objects can probably be kept on the stack, and objects on the stack don't need to be garbage collected.
Re:Java 12 by spricket on Tuesday March 19, 2019 @08:46PM (#19437766)
Totally agree. C# and kin are far better designed. It's the lively Java ecosystem that keeps me around as well
Re:Java 12 by DaiPlusPlus on Tuesday March 19, 2019 @09:34PM (#19438055)
Less “lively Java ecosystem” - more “slow-moving Enterprise Java environments”.
Re:Java 12 by int_19h on Tuesday March 19, 2019 @11:44PM (#19438737)
Is Clojure on CLR actively maintained?
Re:Java 12 by weavejester on Wednesday March 20, 2019 @12:22AM (#19438968)
Yes, it's one of the officially supported platforms (albeit the least used one).