alt.hn

2/17/2026 at 10:44:53 AM

Fast Sorting, Branchless by Design

https://00f.net/2026/02/17/sorting-without-leaking-secrets/

by jedisct1

2/17/2026 at 9:08:31 PM

Wow, this is jam-packed with interesting information. Thanks for writing it! (Also thanks for all of your other great open source work!)

Are there plans to upstream this into the Zig std library? Seems like it could be useful for more than just the cryptography package, since the benchmarks at the end have it often being faster than std pdqsort. I just checked the issue trackers on Codeberg and GitHub, and didn't see anything mentioning djbsort or NTRU Prime, which leads me to believe there aren't (official) plans to upstream this (yet).

by jstrieb