Hacker News new | past | comments | ask | show | jobs | submit login

> switch-based bytecode VMs

I am finding a switched byte interpreter to be very expedient on my computer. It seems that if the # of cases is kept small enough, your chances of getting a good branch prediction can go up substantially. Something like a brainfuck interpreter runs extremely fast. In the worst case of randomly guessing, you are still going to time travel with a 12.5% success rate.






> In the worst case of randomly guessing, you are still going to time travel with a 12.5% success rate.

Random guessing clearly isn't the worst case then, a bad prediction can miss every single time.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: