Daily tweets about computer science and related stuff @JohnDCook.

Joined November 2010
“Most of the problems in writing software come from not knowing what depends on what.” — Stuart Feldman, creator of make (1976)
1
7
1
36
3,551
'Writing code is often a constant struggle against distraction.' -- Joy of Clojure
1
6
19
3,701
Minimum criteria for a language to be Turing complete cs.stackexchange.com/questio…
1
4
11
5,962
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.
10
6,049
'It has long been my personal view that the separation of practical and theoretical work is artificial and injurious.' -- Christopher Strachey
1
4
1
25
7,236
Algorithms to find which words can be spelled with chemical symbols. From O(n) to O(2^n). johndcook.com/blog/2026/10/1…
3
8
28
4,381
Alan Turing Found alluring Machines whose only fault Was that they would not halt. -- Karl David
1
5
29
7,989
'The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.' -- Douglas W. Jones
1
13
1
71
8,007
Mathematics for Computer Science cs.princeton.edu/courses/arc… [339 page pdf]
1
14
103
9,004
Computer Science retweeted
It's Halloween season again and as a mathematician I'm obliged to post this. I don't make the rules
65
4,849
179
20,093
410,959
“Modern cryptanalysis is possible primarily because people make mistakes.” — Bruce Schneier
3
30
7,884
Kerkhoffs' Principle: The security of a cryptosystem should not depend on keeping the cryptographic algorithm secret.
2
8
1
52
8,058