#
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
135
·
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
Speeding up the Unreal Editor launch (again) by not loading 1585 files
Larst Of Us ·
Aug 16, 2026
Unreal Engine
Performance Optimization
Markdown SVG upgrades
simonw ·
Aug 17, 2026
svg
Markdown
Ported a C code to Fortran, etiquete around it?
Fortran Lang Discourse ·
Aug 16, 2026
c-programming
Fortran
The curious case of Google's AlloyDB
Radim Marek ·
Aug 15, 2026
AlloyDB
Google Cloud Platform
Discover more posts →
AUTHOR
BLOG POST FEATURED ON
r/cpp
24 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