News for hackers. Stuff that matters.
Re:Go Optimization Guide by roundup on Monday March 31, 2025 @06:32PM (#43540672)
Additionally...

- https://go101.org/optimizations/101.html

- https://github.com/uber-go/guide

I wish this content existed as a model context protocol (MCP) tool to connect to my IDE along w/ local LLM.

After 6 months or switching between different language projects, it's challenging to remember all the important things.

Re:Go Optimization Guide by TechDebtDevin on Monday March 31, 2025 @07:43PM (#43541259)
Embedding those docs in your MCP server takes about 5 seconds with mcp-go's AddResource method

https://github.com/mark3labs/mcp-go/blob/main/examples/every...

Re:Go Optimization Guide by jigneshdarji91 on Monday March 31, 2025 @07:00PM (#43540926)
Additionally... - https://www.uber.com/en-AU/blog/how-we-saved-70k-cores-acros...

This has saved Uber a lot of money on compute (I'm one of the devs). If your compute fleet is large and has memory to spare (stateless), performing dynamic GOGC tuning to tradeoff higher memory utilization for fewer GC events will save quite a lot of compute.