1
A Fast 64-Bit Date Algorithm (30–40% faster by counting dates backwards)
Counting years backwards unlocks faster speed. The first date algorithm to use only 4 multiplications, instead of 7+
I am software developer in Sydney. Recently, in my spare time I have worked on computer algorithms for calendar-date and timestamp conversion, for both Earth and Mars. Some of these algorithms are the fastest in their class, and have been adopted by LLVM and Webkit.
Visit benjoffe.com → RSS feedOn Hacker News Nov 2025 – Oct 2026
Counting years backwards unlocks faster speed. The first date algorithm to use only 4 multiplications, instead of 7+
A range of fast modulus techniques that beat compiler output
The missing chapter of Hacker's Delight