#
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
·
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
SIMD Masking
Casey Muratori ·
Aug 31, 2026
SIMD
programming
Vectorized memcpy
Users Rust Lang ·
Aug 24, 2026
Rust
programming
Test whether a large integer is a square
John Cook ·
Jun 27, 2025
Computing
algorithms
Debian Code Search: Fast TurboPFor with Go SIMD
stapelberg ·
Sep 6, 2026
Go Programming
SIMD
Build an AI Agent (From Scratch)
nfrankel ·
Sep 6, 2026
AI
book
Anneke Kleppe, Jos Warmer, Wim Bast, Ivar Jacobson, & Pan-Wei Ng
Adrian Kosmaczewski ·
Sep 7, 2026
programming
software development
Discover more posts →
AUTHOR
Sponsored
Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →
BLOG POST FEATURED ON
r/cpp
92 points
r/programming
53 points
Hacker News
4 points
Add this plugin to your blog
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google