4 ms·
“Because Mike Pall is a robot from the future”
- yokohummer7 10y agoAny hope that humans can eventually beat robots?
- Bombthecat 10y agoNo, you can't. Or better: implement cyber ware and or implement computer chips to enhance the brain. Or be a cheaper workforce.
- dgreensp 10y agoThis quote made my day, thanks! And after coming across headlines about Wren before, this post makes me interested.
- yoklov 10y ago> Doing that using an actual switch confounds the CPU’s branch predictor—there is basically a single branch point for the entire interpreter. That quickly saturates the predictor and it just gets confused and fails to predict anything, which leads to more CPU stalls and pipeline flushes. From what I've heard, Haswell's branch predictor makes tricks like this largely obsolete,m (sans support for pre-Haswell or AMD cpus). Not terribly meaningful, but worth keeping in mind that tricks like these will eventually become obsolete.