Go Library
4.2K subscribers
17 photos
63 files
854 links
Go (Golang) Library

Реклама: @ostinostin
Контент: @mxssl
Download Telegram
The Green Tea Garbage Collector

Go 1.25 includes a new experimental garbage collector called Green Tea, available by setting GOEXPERIMENT=greenteagc at build time. Many workloads spend around 10% less time in the garbage collector, but some workloads see a reduction of up to 40%!

It’s production-ready and already in use at Google, so we encourage you to try it out. We know some workloads don’t benefit as much, or even at all, so your feedback is crucial to helping us move forward. Based on the data we have now, we plan to make it the default in Go 1.26.


https://go.dev/blog/greenteagc
Go Wiki: Go-Release-Cycle

Go is released every six months. Each release cycle is broken down into a development phase lasting about 4 months, followed by a 3-month period of testing and polishing called the release freeze. If everything goes well, work on the next release begins before the previous release has shipped, resulting in an overlap of about a month.


https://go.dev/wiki/Go-Release-Cycle
Timezones as Types: Making Time Safer to Use in Go

TL;DR Meridian uses Go generics to encode timezones directly into the type system (et.Time, pt.Time, etc.), catching timezone bugs at compile time instead of production.


https://www.matthewhalpern.com/posts/golang-type-safe-timezones
From 19 Hours to Under a Second: Building a Blazing-Fast TCP Scanner in Go

https://docs.serviceradar.cloud/blog/blazing-fast-go-syn-scanner