News for hackers. Stuff that matters.

__old_dude__

Re:OpenJDK now available for Windows on Thursday December 22, 2016 @03:23PM (#13240074)
A response to thereg article from the Java Champions https://t.co/LCz8tyAMTE (see that on twitter)
Re:OpenJDK now available for Windows on Thursday December 22, 2016 @03:20PM (#13240039)
Already been there :( the command line flags by default are different

You can do a diff using java -XX:+PrintFlagsFinal

Re:Why is .NET reflection slow? on Saturday December 17, 2016 @06:22AM (#13200249)
Java 7 has introduced a very specific API (java.lang.invoke) to be able to inline reflection calls.

So lookups are quite slow, but invocations are fully inlined.

java.lang.invoke API is fast to the point that for doing faster string concatenation in Java 9, Aleksey Shipilev has used this API instead of introducing a new opcode in the JVM [1].

[1] https://youtu.be/wIyeOaitmWM?list=PL2ekzZZrxVUmBXtrwS7pLabUu...