5 ms·
I think this post deserves a more in-depth discussion around the topic, I'd love to learn more.
by seki285 22d ago
I think this post deserves a more in-depth discussion around the topic, I'd love to learn more.
- treebeard901 22d agoUsing the above post example of a delay when typing in a terminal, the path that text takes from the keyboard to the screen is much more complicated. Some of it comes from security changes. Back in the day everything had direct memory access. And the memory layout wasnt randomized by things like ASLR. Not that this specifically should impact terminal input but it becomes a factor with memory access more generally. Now you have to deal with user mode and other security barriers. Drivers can still get direct hardware access but then as has been mentioned you have the bloated software layer with stuff like electron. Increased concurrency has a latency cost as well and we have many more things (usually unnecessarily) running today. Im sure there are many more things that add up to focus more on throughout over latency as mentioned above.