3 ms·
Programming is like mathematics and logic only when what you're programming is deterministic: repeatable results given repeated inputs, where run-time doesn't m
by kazinator 9y ago
Programming is like mathematics and logic only when what you're programming is deterministic: repeatable results given repeated inputs, where run-time doesn't matter so much. There is other programming, like real-time shit. (There, other mathematics applies, not to mention statistics; but you're not programming directly in that mathematics.)
An operating scheduler can be regarded as a mathematical function, which chooses an element from a set. But then that choice has an impact on how the system performs under various conditions, which is pretty chaotic and doesn't follow in nice, obvious ways from that neat set-theoretic function.