6 ms·
Ironically, the C++ code he's attempting to match itself uses a higher-level language[1] to generate a soup of tables and gotos[2]. But I think that observatio
by evmar 13y ago
Ironically, the C++ code he's attempting to match itself uses a higher-level language[1] to generate a soup of tables and gotos[2]. But I think that observation supports the point he'd likely make: Haskell allows both the higher-level expressions of problems that produce optimization opportunities while preserving the option of dropping down to low-level trickiness if that's what you really need.
[1] https://github.com/martine/ninja/blob/master/src/lexer.in.cc#L123 https://github.com/martine/ninja/blob/master/src/lexer.in.cc...
[2] https://github.com/martine/ninja/blob/master/src/lexer.cc#L130 https://github.com/martine/ninja/blob/master/src/lexer.cc#L1...