Golang drawer
@golang101
178
subscribers
1
photo
5.03K
links
Curated Golang news
Download Telegram
Join
Golang drawer
178 subscribers
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.…
Golang drawer
https://go.dev/blog/15years
go.dev
Go Turns 15 - The Go Programming Language
Happy 15th birthday, Go!
Golang drawer
https://github.com/golang/go/discussions/70257
GitHub
memory regions · golang go · Discussion #70257
I'm starting this discussion to collect early feedback on a draft design for a kind of region-based memory management in Go. There is no prototype yet, only a design and a preliminary evaluatio...
Golang drawer
https://github.com/wasmvision/wasmvision
GitHub
GitHub - wasmvision/wasmvision: wasmVision gets you going with computer vision using WebAssembly.
wasmVision gets you going with computer vision using WebAssembly. - wasmvision/wasmvision
Golang drawer
https://www.dolthub.com/blog/2024-11-08-sprintf-vs-concat/
Dolthub
fmt.Sprintf vs String Concat
Blog for DoltHub, a website hosting databases made with Dolt, an open-source version-controlled SQL database with Git-like semantics.
Golang drawer
https://victoriametrics.com/blog/go-runtime-finalizer-keepalive/
VictoriaMetrics
Go Runtime Finalizer and Keep Alive
Go’s runtime package provides two intriguing features: Finalizers and KeepAlive, which help manage object lifecycle in unique ways. Finalizers let you attach cleanup functions to objects that run when they’re garbage collected. Meanwhile, KeepAlive serves…
Golang drawer
https://jitesh117.github.io/blog/creating-a-brainrot-language-server-in-golang/
jitesh117.github.io
Creating a Brainrot Language Server in Golang
I was reading the language server protocol docs and about json-rpc for collaborating on a new project which will need an LSP server. Since it was getting a little boring to just read so much of documentations and RFCs, I thought of making a small and fun…
Golang drawer
https://eli.thegreenplace.net/2024/ml-in-go-with-a-python-sidecar/
Golang drawer
https://jarosz.dev/article/writing-secure-go-code/
Jakub Jarosz
Writing Secure Go Code
Security testing starts with understanding vulnerabilities. The CVE website lists known software flaws. The OWASP Top Ten highlights common weaknesses. With this knowledge, we can improve our Go development. This article shows how to put in place robust practices.…
Golang drawer
https://medium.com/@tonywangcn/27-6-of-the-top-10-million-sites-are-dead-6bc7805efa85
Medium
27.6% of the Top 10 Million Sites are Dead
The internet, in many ways, has a memory. From archived versions of old websites to search engine caches, there’s often a way to dig into…
Golang drawer
https://eli.thegreenplace.net/2024/ranging-over-functions-in-go-123/
Golang drawer
https://m.youtube.com/watch?v=pLvZRnK2WRE
YouTube
The Business of Go - Cameron Balahan, Google
Millions of developers love Go for its features, performance, ecosystem, and community. But there’s another, perhaps more compelling reason as well: Go is good for business. In this talk, we’ll review the business of Go, including the value it provides both…
Golang drawer
https://blog.jetbrains.com/go/2024/11/04/create-a-full-stack-app-with-go-and-react/
Golang drawer
https://bitfieldconsulting.com/posts/constraints
Bitfield Consulting
Constraints in Go — Bitfield Consulting
Freedom is nothing without constraints, and Go’s generics gives us a powerful way to build polymorphic types and functions constrained by type sets . Let’s geek out.
Golang drawer
https://rybicki.io/blog/2024/11/03/multithreaded-code-java-golang.html
functional fascinations
Building thread-safe abstractions in Java versus Go
[^1]: Go's built-in map type isn't concurrent safe. There's a [`sync.Map`](https://pkg.go.dev/sync#Map) type that can be used as an alternative, but it's generally not recommended unless you have done performance testing to confirm it's faster since it adds…
Golang drawer
https://lucapette.me/writing/writing-integration-tests-for-a-go-cli-application/
lucapette.me
Writing integration tests for a Go CLI application
how I do end-to-end testing of Go CLI applications
Golang drawer
https://labs.iximiuz.com/tutorials/docker-multi-stage-builds
iximiuz Labs
How to Build Smaller Container Images: Docker Multi-Stage Builds | iximiuz Labs
Learn how to build smaller, more secure Docker container images using Multi-Stage Builds. This guide explains common sources of image bloat, best practices for slimming down production images, and practical examples for Node.js, Go, Rust, and other application…