logoalt Hacker News

mncharityyesterday at 11:11 PM1 replyview on HN

Fwiw, one case where I've wanted rollback has been input fusion over interface devices with diverse latencies. You might have 10 ms for a keypress, 100 ms for optical tracking, and 1000 ms for speech. So given click+"the red one"(spoken), you might start running click+"the one in front"(default), and almost a second later rollback and rerun with "the red one". Or for real example, keypress event handling might branch on optical "pressed where on the keycap" and "by which finger", which won't become available for several frames.


Replies

BSTRhinotoday at 12:08 AM

That is a cool idea! Could be a great application of rollback!