Golang drawer
@golang101
178
subscribers
1
photo
5.03K
links
Curated Golang news
Download Telegram
Join
Golang drawer
178 subscribers
Golang drawer
https://bitfieldconsulting.com/posts/aes-encryption
Bitfield Consulting
Encrypting with AES — Bitfield Consulting
AES is an amazing, state-of-the-art encryption system, and it’s built right in to Go as part of the standard library. It’s also incredibly easy to use. Let’s see how!
Golang drawer
https://blog.kowalczyk.info/article/4b1f9201181340099b698246857ea98d/using-go-instead-of-bash-for-scripts.html
blog.kowalczyk.info
Using Go instead of bash for scripts
Golang drawer
https://eli.thegreenplace.net/2024/notes-on-running-go-in-the-browser-with-webassembly/
Golang drawer
https://go.dev/blog/llmpowered
go.dev
Building LLM-powered applications in Go - The Go Programming Language
LLM-powered applications in Go using Gemini, langchaingo and Genkit
Golang drawer
https://go.dev/blog/alias-names
go.dev
What's in an (Alias) Name? - The Go Programming Language
A description of generic alias types, a planned feature for Go 1.24
Golang drawer
https://www.willem.dev/articles/sets-in-golang/
www.willem.dev
Sets in Go/Golang – Using Maps and Recommended Packages
Learn how to create sets using maps. With and without open source packages.
Golang drawer
https://victoriametrics.com/blog/go-singleflight/index.html
VictoriaMetrics
Go Singleflight Melts in Your Code, Not in Your DB
What singleflight does is ensure that only one of those goroutines actually runs the operation, like getting the data from the database. It allows only one ‘in-flight’ (ongoing) operation for the same piece of data (known as a ‘key’) at any given moment.
Golang drawer
https://rogersm.net/posts/developing-a-go-bot-embedding-ichiban-prolog/
Roger Sen
Developing a go bot embedding ichiban Prolog
Ichiban Prolog is a #golang implementation of an ISO compatible Prolog. To learn how to embed it, I decided to add Prolog support to Hellabot, a simple irc bot.
Hellabot design requires to program its triggers using a two step process as described in the…
Golang drawer
https://developers.redhat.com/articles/2024/09/24/go-compiler-register-allocation#regalloc
Red Hat Developer
Register allocation in the Go compiler | Red Hat Developer
As a maintainer of the GCC register allocator (RA), I naturally have a keen interest in the register allocators used in various industrial compilers
Golang drawer
https://jvns.ca/blog/2024/09/27/some-go-web-dev-notes/
Julia Evans
Some Go web dev notes
I spent a lot of time in the past couple of weeks working on a website in Go that may or may not ever see the light of day, but I learned a couple of things along the way I wanted to write down. Here they are:
Golang drawer
https://tip.golang.org/doc/gc-guide
tip.golang.org
A Guide to the Go Garbage Collector - The Go Programming Language
Golang drawer
https://tpaschalis.me/golang-multierr/
tpaschalis.me
Joining errors in Go
I recently realized that the stdlib errors package in Go supports joining
multiple errors in addition to the more common %w wrapping.
Golang drawer
https://tqdev.com/2024-distributed-metrics-in-php-using-go-and-gob
Tqdev
Distributed metrics in PHP using Go and Gob
In the previous post I showed how to do high frequency metrics in PHP with TCP sockets. In this post I'll show how to collect and combine metrics from multiple PHP application servers. Instead of sending the log lines from each server to a single node, the…
Golang drawer
https://www.dolthub.com/blog/2024-10-04-reflecting-on-reflect/
Dolthub
Reflecting on Go Reflection
Golang reflection is wonderfully horrible. Let's reflect on it.
Golang drawer
https://registerspill.thorstenball.com/p/glad-i-did-it-in-go
Thorstenball
Glad I did it in Go
Go, the greatest teaching language?
Golang drawer
https://victoriametrics.com/blog/go-sync-map/index.html
VictoriaMetrics
Go sync.Map: The Right Tool for the Right Job
Go’s sync.Map isn’t a magic bullet for all concurrent map needs. It’s got some good tricks up its sleeve, like handling reads without locking, but it’s not always the best choice. This article dives into how sync.Map works under the hood, from its two-map…
Golang drawer
https://devblogs.microsoft.com/go/high-resolution-timers-windows/
Microsoft News
High-Resolution Timers on Windows
The Go Windows port added support for high-resolution timers in Go 1.23, boosting the resolution of time.Sleep from ~15.6ms to ~0.5ms.
Golang drawer
https://rednafi.com/go/circuit_breaker/
Redowan's Reflections
Writing a circuit breaker in Go
Besides retries, circuit breakers are probably one of the most commonly employed
resilience patterns in distributed systems. While writing a retry routine is pretty simple,
implementing a circuit breaker needs a little bit of work.
I realized that I usually…
Golang drawer
https://www.bytesizego.com/blog/go-embed
Bytesizego
Using Go Embed
The go:embed feature simplifies the inclusion of static assets in your Go applications. By embedding files and directories at compile time, you can create more portable and self-contained binaries.
Golang drawer
https://threedots.tech/post/distributed-transactions-in-go
threedots.tech
Distributed Transactions in Go: Read Before You Try
In the previous post, I looked into running transactions in a layered architecture. Now, let’s consider transactions that need to span more than one service.
If you work with microservices, a time may come when you need a transaction running across them.…