News for hackers. Stuff that matters.
Re:AVX512 intrinsics for JDK’s Arrays.sort methods by xmcqdpt2 on Wednesday May 31, 2023 @06:27AM (#36136665)
Luckily for us, we don't need to actually understand this C++ code to use AVX 512 for faster sorting. We can just do

    Arrays.sort(arr)
in Java!
Re:AVX512 intrinsics for JDK’s Arrays.sort methods by re-thc on Wednesday May 31, 2023 @08:18AM (#36137439)
But then people say it's too verbose. Maybe it needs to be:

A.s(arr)

Re:AVX512 intrinsics for JDK’s Arrays.sort methods by tialaramex on Wednesday May 31, 2023 @09:10AM (#36137951)
arr.sort() or sort(arr) seem reasonable to me
Re:AVX512 intrinsics for JDK’s Arrays.sort methods by kaba0 on Wednesday May 31, 2023 @09:29AM (#36138164)
You can static import Arrays.sort, so the second option could work.