Re:Crazy New Ideas
by wildermuthn on Thursday May 06, 2021 @06:07PM
(#27069609)
This is a solved problem though, with optimistic updates. See Mosh, which does this for the terminal. If you've ever had to run Vim on a high-latency remote connection, it feels like having superpowers.
Re:Crazy New Ideas
by tsimionescu on Friday May 07, 2021 @02:05AM
(#27072760)
Sure, but it's not solved in Chrome, is it? Mighty is just a VM running Chrome as far as I understand.
Not to mention, the problem is fundamentally simpler in a terminal, with a very limited range of outputs. The problem of optimistically drawing the result of your input on the screen is much harder when that input could affect any portion of the screen in any way, like it can on a JS-powered web page.
I would say typing is a pretty big one. It is extraordinarily unpleasant when typing lag is anywhere above maybe 50ms,and even worse when it is variable, like it would inevitably be if going over the Internet. It's even worse with mouse movements, where occasional spikes in lag can ruin your day.