
Daily tweets about computer science and related stuff @JohnDCook.
Joined November 2010
- Tweets13.4K
- Following17
- Followers25K
- Likes270
“Most of the problems in writing software come from not knowing what depends on what.”
— Stuart Feldman, creator of make (1976)
Fitting a regular expression to a list of words
johndcook.com/blog/2026/07/1…
Minimum criteria for a language to be Turing complete cs.stackexchange.com/questio…
Cardinal rule of floating point arithmetic: If x and y agree to n bits, then you can lose up to n bits of precision computing x-y.
Floor, ceiling, bracket johndcook.com/blog/2021/04/1…
'It has long been my personal view that the separation of practical and theoretical work is artificial and injurious.' -- Christopher Strachey
Algorithms to find which words can be spelled with chemical symbols.
From O(n) to O(2^n).
johndcook.com/blog/2026/10/1…
AI-generated ASCII diagrams
johndcook.com/blog/2026/08/2…
NIST curves exonerated
Giving the backstory to the recent discovery of how the curves were seeded
johndcook.com/blog/2026/10/1…
'The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.' -- Douglas W. Jones
C++ templates are Turing-complete matt.might.net/articles/c++-…
Mathematics for Computer Science cs.princeton.edu/courses/arc… [339 page pdf]
Eight fallacies of declarative computing johndcook.com/blog/2012/11/3…
Computer Science retweeted
It's Halloween season again and as a mathematician I'm obliged to post this. I don't make the rules
Kerkhoffs' Principle: The security of a cryptosystem should not depend on keeping the cryptographic algorithm secret.
Privacy implications of hashing database attributes johndcook.com/blog/2023/03/2…



