Parasitic Computing (2001) [pdf]
barabasi.com
barabasi.com
Recently revisited his little demo interested in the parser design; this time re-reading, the translation between Boolean logic expressions and TCP checksum calculations finally clicked for me.
My current mental model of it is coercing a calculator, which “only” performs addition and subtraction, into evaluating complicated conditional logic expressions. Not sure how a category theorist would describe it; is it an equivalence of two different categories (evaluation of logic expressions/abstract syntax trees) <> (bitwise negation & addition on integer arrays which represent Boolean matrices)?
In a practical engineering sense, I like to think the core concepts illustrate performance optimization principles for representing branching code as branch-free code. I think branching code is likely faster evaluating single expressions, but branch free representations could be useful for SIMD vectorization, e.g., to increase throughput for evaluating a large number or stream of expressions (such as evaluating security policy rules against operating system events).