3 ms·
Number of nodes in the AST or number of machine instructions might be more meaningful.
by IgorPartola 5y ago
Number of nodes in the AST or number of machine instructions might be more meaningful.
- deathanatos 5y agoThat metric is game-able, too: you just implement a VM, and only count the instructions to to VM. The rest is one big binary blob of "data", occupying a single node in the AST of the host language. Now, of course, that's basically cooking the books, but there's a wide gulf between a full VM & smaller, domain specific ones that might not look like VMs. (All or most of data-driven programming, really.)