Recent posts tagged struct

Level UI • 1 day • in Articles • 9 min read
Somewhere in the last year, "do we need an MCP server?" joined the list of questions that arrive in a brief before anyone has said what the thing is for. It is usually framed as MCP vs API, as though the Model Context Protocol were a newer kind of AP...
post-cover-33074
  • ai
  • api
  • webdev
  • security
PrabashanaDev • Jul 3 • in Articles • 4 min read
Is Your Game Choking on GC Allocations? A Guide to Zero-Allocation Data Structures Introduction You’ve optimized your shaders, painstakingly batched draw calls, and even dipped your toes into Unity’s Burst Compiler and C# Job System. Yet, your game...
  • struct
  • data
  • class
  • heap
  • array
deadlock.go • Apr 16 • in Articles • 3 min read
Reorder the fields in a Go struct and the size changes — without changing the data it holds. A bool next to an int64 wastes 7 bytes of padding. Across 10 million allocations, that's 67MB of memory you're paying for but never using. This matters in hi...
  • struct
  • bytes
  • —
  • memory
  • bool
To see more, click for the full list of posts or popular tags.
chevron_left
🔥 2 posts • 👩‍💻 2 active writers

✨ Want to write in this topic?
Share your learning. Get discovered. Build your profile.
Join CoderLegion

💡 Why developers use CoderLegion
Track learning • Share posts • Get ranked publicly
Create your profile