Publication Details
Changkun Ou
Scheduling Function Calls with Zero Allocation In golang.design/research, Jan 26, 2021. |
|
GUI programming in Go is a little bit tricky. The infamous issue regarding interacting with the legacy GUI frameworks is that most of the graphics related APIs must be called from the main thread. This basically violates the concurrent nature of Go: A goroutine may be arbitrarily and randomly scheduled or rescheduled on different running threads, i.e., the same pice of code will be called from different threads over time, even without evolving the go keyword. |