Tim McLean Profile picture
Software security engineer. Cryptography, functional programming. Immutability enthusiast.
Jul 23, 2018 4 tweets 1 min read
Programming is great because your mental model is a directed acyclic graph of data flow, but you write code that is sequential and linear, which the compiler converts into a DAG so it can write efficient sequential machine code, which the CPU converts into a DAG it can execute OK this tweet kind of took off.

So, joking aside, a natural question to ask is whether this switching back and forth is a waste of everybody's time

The compiler DAG -> CPU DAG step makes a lot more sense if you view machine code as simply a graph serialization format.