New answers tagged

0

This is how I understand it: ; Normal (test 0 (p)) (if (= 0 0) 0 (p))) Normal order continues expanding because it hasn't yet reached an expression with only primitives, which recurses into an infinite loop replacing (p) by (p). ; Applicative (test 0 (p)) (if (= x 0) 0 y)) (if (= 0 0) 0 y)) Applicative order applies the procedure (the if predicate) to the ...


2

I don't know about statement types, but there's been a lot of research over the decades about CPU instruction frequency and how it impacts ISA design, IR design, and VM design... but it's all for languages like C. See, for example, loads/stores/branch frequencies for the SPEC2017 benchmarks. If your language is C-like, there are basically only two reasons to ...


Top 50 recent answers are included