- Execution Traces: In the last two Go releases, the team enhanced and fixed execution tracing, reducing overhead by 10 times and making traces more scalable. Two experimental features were introduced: constant tracing (flight recording) and a trace reader API.
- Measuring System Performance: Go offers features to measure CPU and memory performance, memory usage, and optimize. Examples are provided.
Quick Bits:
- The EFF is considering if Caddy and Traefik could replace Certbot one day as they are Go-based projects.
- Mechanoid is a new Go project by Ron Evans aiming to bring WASM to embedded systems at IoT, allowing use of multiple languages.
- Debugging Go Bug: A case where things behaved differently on different OSs led to a quick Go patch. A simple workaround is available.
- For Loops in Go:
forloops have more to understand than meets the eye. Miki Tebeka shows examples on handling multiple loop variables, using label breaks, and range loop semantics. Code & Tools:
- Valgo 0.3 is a type-safe and extensible validator library based on generics, with rules in functions instead of struct tags.
- Hugot makes it easy to run Hugging Face transformer pipelines from Go using ONNX Runtime and supports only ONNX models and a few pipelines.
- Konf is a flexible configuration loader that works with various sources like files, environment variables, S3, AWS AppConfig, and GCP Secret Manager.
- wazero 1.7 is a zero-dependency WebAssembly runtime for Go with a significant upgrade and a new optimizing compiler.
- fx 33.0 gains terminal autocomplete as a popular JSON viewer and processor.
- Toxiproxy 2.9 is a TCP proxy to simulate chaotic network conditions.
- Gonum 0.15 is a set of numeric libraries for Go including algebra and probability.
- Resty 2.12 is a simple HTTP and REST client library.
- SCS 2.8 is for HTTP session management in Go.
- go-ora 2.8.10 is a pure Go Oracle Database driver.
- Bloom 3.7 is a Bloom filter implementation.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用。你还可以使用@来通知其他用户。