#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
A faster way to calculate the Day of the Week
114
·
Ben Joffe
·
Aug. 16, 2026, 9:36 p.m.
Performance Optimization
modulus techniques
programming
date calculations
Summary
The blog post discusses advanced modulus techniques that improve the performance of calculating the day of the week, presenting original methods that outperform standard compiler outputs.
Read full post on www.benjoffe.com →
MORE POSTS LIKE THIS
Rust port of simdutf?
Users Rust Lang ·
Jun 24, 2026
Rust
UTF-8
Test whether a large integer is a square
John Cook ·
Jun 27, 2025
Computing
algorithms
The curious case of Google's AlloyDB
Radim Marek ·
Aug 15, 2026
AlloyDB
Google Cloud Platform
Benchmarks Are Free Now
Daniel Doubrovkine (dB.) @dblockdotorg ·
Aug 15, 2026
ruby
benchmarking
The road to epsilon-zero: Productive programs and well-founded orders
Mark Dominus ·
Aug 14, 2026
/math/ordinals
programming
Why I reimplemented LVM (with worse guarantees)
Depot ·
Aug 13, 2026
lvm
MicroVMs
Discover more posts →
AUTHOR
BLOG POST FEATURED ON
r/cpp
23 points
Hacker News
1 points
Add this plugin to your blog
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google