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

> In the simplest form, you do not give up control unless you use I/O, a synchronization primitive, or explicitly give up control (runtime.Gosched() in Go).

This is not how Go works nowadays. There are other preemption points.



That's why I said "in the simplest form".


Yes, but it completely ruins the argument about "it's easy to reason about" ;-)




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: