News for hackers. Stuff that matters.
Re:How the JVM compares strings on x86 using pcmpestri by nicoulaj on Sunday January 07, 2018 @06:21AM (#16090407)
The intrinsics for the HotSpot JVM are declared here: http://hg.openjdk.java.net/jdk10/jdk10/hotspot/file/5ab7a67b...

(look for "java_lang_Math" for instance)

Re:How the JVM compares strings on x86 using pcmpestri by rplnt on Sunday January 07, 2018 @08:31AM (#16090788)
Are you telling us it's not a secret then?
Re:How the JVM compares strings on x86 using pcmpestri by sudhirj on Sunday January 07, 2018 @12:05PM (#16091528)
Don’t know if this is sarcasm, but no, doubtful it’s a secret. Or might depend on the JVM license. OpenJDK obviously has no secrets.

But otherwise, assembly overrides for hot paths in execution targets that support them aren’t actually a big secret, just that they’re rarely visible. Think Go has a lot of processed architecture specific assembly for some functions, especially crypto iirc.

Re:How the JVM compares strings on x86 using pcmpestri by rplnt on Monday January 08, 2018 @06:26AM (#16096049)
Yeah, it was a sarcasm. The article (quoted in parent comment) called it a secret implementation.