|
You are here |
pboyd.io | ||
| | | | |
hjr265.me
|
|
| | | | | Concurrency is one of the central features of Go. And, to build concurrent programs in Go, you need goroutines. A goroutine is like a thread, but lighter. Much lighter. And, like any other built-in feature of Go, using it is dead simple: 1 2 3 4 5 6 7 package main func main() { go func() { println("Hello World") // Print "Hello World" from a different goroutine. }() } Wait. That didn't print anything. | |
| | | | |
antonz.org
|
|
| | | | | Limiting the concurrency and waiting for the peers. | |
| | | | |
rakhim.org
|
|
| | | | | [AI summary] This article summarizes Rob Pike's talk on the difference between concurrency and parallelism, using Go's Goroutines and channels to demonstrate how to design safe, scalable systems that can be parallelized. | |
| | | | |
kristoff.it
|
|
| | | Let's take a quick look at what compile-time execution looks like in Zig. | ||