ʕ◔ϖ◔ʔ Go 1.21 Release: 20 New Emojis And Up To 7% Faster Apps

Tom Smykowski
5 min readJul 31, 2023

Go 1.21 will be released most likely on 1/07/2023 (tomorrow)

It’s six month after the release of Go 1.20, meaning we finally can see some new features of the Go language. During that time there were six minor security releases, just like in a clock for every month because Go is systematic.

The new release comes with some fascinating upgrades I have to share with you even though I’ve caught a flu.

Go 1.21 comes with these features:

Min And Max Functions

Go 1.21 offers now min and max functions like every other standard library except Kotlin that offers coerceAtMost and coerceAtLeast.

Subscribe for more!

Clear Function

Clearing a map, or slice in Go was troublesome at least. With Golang 1.21 you can just use the new clear function that works as you’d expect it to.

Type Inference…

--

--

Tom Smykowski

Software Engineer & Tech Editor. Top 2% on StackOverflow, 3mil views on Quora. Won Shattered Pixel Dungeon.