Cheating the Reaper in Go — How far can you push manual memory management in Go despite its garbage collector? Miguel peels back Go’s GC internals to craft a blazing-fast arena allocator in pure Go—with nothing more than unsafe wizardry—and shows exactly when (and how) you can safely outmaneuver the GC’s reaper.
Miguel Young de la Sota
|
A No Nonsense Guide to Go Project Layout — Say ‘no’ to overly complicated package structures, says the author, who shares a set of opinions for keeping things tight and focused with the goal of preventing ‘over complication’ in smaller projects.
Laurent Demailly
|
Optimizing Heap Allocations — When an (expected) innocuous code change had a 30% performance hit, it led to an enlightening forensic journey into stack vs heap allocation. Point yourself at this article to gain the value of understanding allocations and escape performance regressions.
Nick Tobey (DoltHub)
|
Hunting Zombie Processes in Go and Docker — When spawning processes that in turn spawn other processes, you can run into issues where some unwanted processes stick around as zombies. This post looks at one such situation, how containers made it even messier, and how the zombies ultimately got taken out.
Savas Vedova (Stormkit)
|
Preventing Accidental Struct Copies — Go lets you copy structs by value, which can cause subtle bugs—especially with locks like sync.WaitGroup or Mutex . This post digs into how a noCopy trick and go vet ’s copylocks checker can catch these issues.
Redowan Delowar
|
GoMud: A MUD (Multi-User Dungeon) Server — An in-development open source dungeon game world and library that handles the main concepts associated with MUDs, like maps, inventory and equipment, day/night cycles, etc. and allows players to connect over Telnet or HTTP.
Volte6 et al.
|
Doltgres Beta Launch: A Version Controlled SQL Database — As well as dropping lots of great Go articles on their blog, the folks at DoltHub also develop database software ;-) Doltgres is a Postgres-flavored variant of their SQL database that offers Git-style merging and forking, and it’s all built in Go.
Zach Musgrave (DoltHub)
|
A quick roundup of some other interesting updates or useful resources in the broader developer landscape:
|
|