3 ms·
I found one comment reply on his article really interesting. Some person asked him to use Rust instead of C in his code examples and he gave this insightful ans
by kensai 3y ago
I found one comment reply on his article really interesting. Some person asked him to use Rust instead of C in his code examples and he gave this insightful answer:
“I'm using C in lieu of imperative pseudocode. The benefit it has over pure pseudocode is that it compiles and doesn't rely on some syntax I pulled out of nowhere. The benefit over higher-level languages is that it shows the mechanics of the calculation in a way that's trivial to transpose to any other dialect. This can't be said about code that uses cute but language-specific array manipulation and iteration idioms, e.g.:
WalshMatrix = Nest[ArrayFlatten@{{#, #}, {#, -#}} &, 1, #] &;”