#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
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
Rotation revisited: Avoiding having to calculate the gcd when doing cycle decomposition
·
Raymond Chen
·
June 5, 2026, 11:23 p.m.
Old New Thing
Code
GCD
Algorithm Optimization
programming techniques
Mathematics in programming
Summary
This blog post discusses a mathematical approach to cycle decomposition without calculating the greatest common divisor (gcd), highlighting the challenges of mathematical concepts in programming.
Read full post on devblogs.microsoft.com →
MORE POSTS LIKE THIS
Computing big, certified Fibonacci numbers
John Cook ·
Feb 21, 2026
Computing
Number theory
sdinthrough: build a parser, one failing test at a time
iio.ie ·
Nov 2, 2026
Testing
software development
Is there a nicer syntax for `if let ... Some(destructred_field) else None`?
Users Rust Lang ·
Nov 2, 2026
Functional programming
software development
How Claude Code mods change the agent loop
Flaviocopes ·
Nov 1, 2026
software development
programming techniques
Speeding up GPU copies by permuting iteration spaces, or, optimising the identity function
Futhark Lang ·
Oct 31, 2026
Performance Tuning
programming techniques
NEW GUIDE: Computer Graphics Turbo Demos #CircuitPython #AdafruitLearningSystem @Adafruit
Adafruit Industries Blog ·
Nov 2, 2026
adafruit learning system
graphics
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google
By continuing, you agree to our
Privacy Policy
.