News for hackers. Stuff that matters.
Re:Zed on Linux Is Here by whalesalad on Wednesday July 10, 2024 @04:36PM (#40931227)
I agree with you -- but aiming for 1ms performance is pretty hard. That is 1/1000th of a second. Your keyboard probably has higher latency than that. Physics cannot be defeated in this regard.
Re:Zed on Linux Is Here by garblegarble on Wednesday July 10, 2024 @07:20PM (#40932432)
Expanding on this, there's a detailed analysis of the various contributors to editor latency (from keyboard electronics to scanout) by one of the jetbrains devs at[1]. They show average keypress-to-USB latency for a typical keyboard of 14ms!

1: https://pavelfatin.com/typing-with-pleasure/

Re:Zed on Linux Is Here by varispeed on Thursday July 11, 2024 @06:43AM (#40935277)
There are keyboards with 1kHz polling.
Re:Zed on Linux Is Here by wholinator2 on Thursday July 11, 2024 @11:50AM (#40937953)
Yes but it takes longer than that for the signal to reach the usb port. And i doubt if many of us are typing at 1000 keystrokes/second. Apparently that's around 12,000 words/minute assuming average word length of 5 characters.
Re:Zed on Linux Is Here by varispeed on Saturday July 13, 2024 @01:17PM (#40955361)
1ms latency is about what can be achieved with USB.