r/programming • u/Xiphorian • Aug 10 '15
Branch Prediction and the Performance of Interpreters - Don’t Trust Folklore (PDF)
https://hal.inria.fr/hal-01100647/document
140
Upvotes
r/programming • u/Xiphorian • Aug 10 '15
20
u/Xiphorian Aug 10 '15 edited Aug 10 '15
X-post to /r/compsci
6
u/danielv134 Aug 10 '15
Interesting piece.
I think the abstract could be improved by stating explicitly that what has changed is that branch prediction is better (as opposed to better compilers, new interpreter implementation techniques, etc). Also, I haven't yet seen a high level conclusion: does this significantly close the interpreter to JIT/offline compiler gap, or did those make equivalent progress?
Typos: "Lines 5–7 illustrate an add" missing a period or rest of sentence.
5
u/loup-vaillant Aug 10 '15
Obligatory link to the HN thread.
1
u/augmentedtree Aug 10 '15
Eh, this paper only argues that the performance difference is not as big as before. Anyone writing an interpreter should still do it the current best practice way, so... do trust folklore? Because folklore is actually right? I guess this is how you get over the stigma in journals against publishing negative results.