Ever wondered what Go is really doing when you allocate memory with new(T)
, &T{}
, or make(T)
? I dug into Go’s memory allocation and put them into a blog that shows how these patterns affect performance and how you can optimize them in real code. Enjoy reading!
v3.45 is out today, and it's the most exciting release in a long time!
- Built in core utils on Windows (!!!)
- Brand new website powered by VitePress
~/.config/task/taskrc.yml
- Nightly builds
- Official GitHub Action
- And more
Hi developers! I recently started building a server in Go. It started as a small project to learn a bit about the language, but it gradually became more interesting. Now I'd like to run security tests… Yes, I want to hack my own server. Any ideas on what tests I …
Profiling in Go: from guesswork to data. A practical guide
Hey everyone! Just finished building Protodex - a tool that lets you manage protobuf schemas with simple commands (push/pull/validate).
What
- Push/pull protobuf packages to/from its included registry
- Generate code in protoc-supported languages(Go, Python, etc)
- Built-in validation and dependency resolution
- Supports any protoc plugin
Why?
- Why not?
- While some tools can …
This is the bi-weekly thread for Small Projects.
If you are interested, please scan over the previous thread for things to upvote and comment on. It's a good way to pay forward those who helped out your early journey.
Optimizing Go's Garbage Collector for Kubernetes Workloads: A Dynamic Tuning Approach
Table driven tests rocks, that's all. I was trying to get hands on with golang and decided to build a to-do api(as every programmer does), and I was writing tests the caveman way and it was exhausting. There were too many boilerplates in each Test function, then I saw the …
I'm looking for AI frameworks that can be used with Golang. Are there any popular or widely-used libraries like langchain for JS/Python?
I'm mainly trying to build an open-source AI chatbot specialized for a specific domain.
You can customize this digest to include all the sites and sources you want.