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

There's nothing buggy about a future that never yields because it can always make progress, but people prefer that a runtime doesn't let all other execution get starved by one operation. That makes it a problem that runtimes and schedulers work to solve, but not a bug that needs to be prevented at a language level. A runtime that doesn't solve it isn't buggy, but probably isn't friendly to use, like how Go used to have problems with tight loops and they put in changes to make them cause less starvation.


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

Search: