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

Hell, I did that for a prototype product once. Combined it with a state machine and wrote the entire thing to be nonblocking. Worked great.


Really appreciate you sharing this - I used to downplay the real-world application of these kinds of methods ("if you were making a real product you'd have a priority queue and a scheduler and so on") so if I ever teach kids again I'll let them know that people out there build real things like this.




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

Search: