Go 1.18 and generics
Meetup #25 was virtual and we were glad to have an international audience again.
We had a great presentation about the upcoming Go 1.18 release, including generics and fuzzing:
As always, Go 1.18 will include lots of smaller tweaks and improvements, like a new debug/buildinfo package, which
provides access to information embedded in a Go binary about how it was built,
or MaxBytesHandler, a middleware to protect e.g. against denial-of-service type attacks.
You can read the blog post to take a deeper dive.
Misc
- the influencial How to become a Hacker rev 1.52 notes (2020-01-03):
Go makes a place as a plausible learning language, displacing Java. […]
And further:
A better alternative to Java is to learn Go. This relatively new language is pretty easy to move to from Python, and learning it give you a serious leg up on the possible next step, which is learning C. Additionally, one of the unknowns about the next few years is to what extent Go might actually displace C as a systems-programming language. There is a possible future in which that happens over much of C’s traditional range.
Other programmers reflecting and discussing this topic: HN23377186, LO, …
- Go 1.18 adds a new environment variable,
GOAMD64
, which splits support for 64-bit x86 processors into 4 different levels, currently - unlocking various optimizations. Pop quiz: Do you know, which instruction has also been named The NSA instruction? Hint: it belongs to “v2” and has to do with the Hamming weight of a string - sync.Pool helps to reduce GC pressure, by allowing reuse of allocated memory, akin to a free list
- we gave away a Jetbrains Personal Subscription and a copy of 100 mistakes in Go and how to avoid them – thank you, sponsors!
🇺🇦 — and one more thing: нет войны! Stop the War! – to help locally: Leipzig helps Ukraine.
Join our meetup to get notified of upcoming events!