/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

konradreiche.com
| | matttproud.com
3.9 parsecs away

Travel
| | Pop quiz, hot shot: what is the behavior of func f (as defined below) when it is called from a bare gRPC method or HTTP handler as go f(ctx) using the context.Context provided to the handler?1 1 2 3 4 5 6 7 8 9 10 11 func f(ctx context.Context) { // Flimsily make it improbable for this function to continue while the // handler is serving. time.Sleep(time.Second) select { case <-time.
| | pace.dev
3.4 parsecs away

Travel
| | Mat Ryer shows how to respond gracefully to interrupt signals (like Ctrl+C) in your Go programs
| | hjr265.me
3.0 parsecs away

Travel
| | 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.
| | alexgaynor.net
26.8 parsecs away

Travel
| [AI summary] The article discusses PyPy as a potential future for Python, highlighting its speed, flexibility, and advantages over CPython, while also noting current limitations and ways to contribute to its development.