|
You are here |
www.minaandrawos.com | ||
| | | | |
antonz.org
|
|
| | | | | Limiting the concurrency and waiting for the peers. | |
| | | | |
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. | |
| | | | |
rakhim.org
|
|
| | | | | [AI summary] Concurrency Is Not Parallellism is a talk by Rob Pike that explores the distinction between concurrency and parallelism. The talk emphasizes that concurrency is about structuring systems to handle many things at once, while parallelism is about executing multiple tasks simultaneously. Concurrency provides the structure that can enable parallelism, but the goal is good structure, not necessarily parallel execution. The talk uses analogies like the gopher example to illustrate these concepts and highlights the importance of concurrent design for building scalable and correct systems. It also discusses Go's concurrency features, such as goroutines and channels, and how they simplify concurrent programming. The talk concludes that concurrency is pow... | |
| | | | |
www.banterly.net
|
|
| | | If you are coming from another programming language you might feel some features are missing from Typescript | ||