Hacker Timesnew | past | comments | ask | show | jobs | submitlogin
How JavaScript Timers Work (2008) (ejohn.org)
2 points by lonelycrypto on Jan 8, 2015 | hide | past | favorite | 1 comment


A very good article, but worthwhile to note it's from 2008. Key take-aways: The single-threaded nature of JavaScript and the interaction between this and asynchronous callbacks. Because of this, getting timers to execute exactly when requested can be problematic.




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

Search: