Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think modern general purpose CPUs are perfectly capable of low latency and jitter. The problem isn't the CPU, the problem is stuff around the CPU (mostly the operating system). The less deterministic aspects of modern CPUs (branch prediction, speculative execution, caches etc). happen at timescales much smaller than what you usually care about (and possibly smaller than the jitter specs on microcontrollers).


ps/2 keyboards trigger an interrupt. USB are polled.


A modern CPU polls faster than it can handle interrupts. That can be done on every nth iteration of the sound producing loop.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: