News for hackers. Stuff that matters.
Re:Keyboard latency by mrkgnao on Tuesday October 17, 2017 @01:04AM (#15488801)
I can get it down to 1ms, so there's probably something wrong with my setup. (I just look for how the cursor moves; on the delayed one, I can discern the presence of the cursor on the next line for a split second.) Maybe monitor refresh rate, or the minimal resolution sleep can handle?

I'm using Alacritty, which is supposed to be really fast and everything!

Re:Keyboard latency by snvzz on Tuesday October 17, 2017 @01:26AM (#15488864)
Likely forking sleep takes time.
Re:Keyboard latency by yjftsjthsd-h on Tuesday October 17, 2017 @07:49AM (#15490173)
I would be extremely surprised if fork on a unix-like takes 1ms.
Re:Keyboard latency by snvzz on Wednesday October 18, 2017 @12:22PM (#15500453)
Re:Keyboard latency by yjftsjthsd-h on Wednesday October 18, 2017 @07:48PM (#15504295)
Both of those appear to indicate that forking is expensive when you need to copy unusually large amounts of memory (which makes sense). In this context, I would expect reasonable/small memory use and so fast forking.
Re:Keyboard latency by snvzz on Thursday October 19, 2017 @03:25PM (#15510839)