Back to articles
Struct Alignment Visualizer - don't waste memory!

Struct Alignment Visualizer - don't waste memory!

via Dev.toJulio Trasferetti Nicolucci

Yo everyone! I built a simple web app to visualize struct alignment on an 8-byte grid. What it does: Visualizes padding: Paste a C struct and instantly see exactly where the compiler wastes space. Architecture toggles: Switch between architectures: 64-bit (LP64/LLP64) and 32-bit (ILP32). It uses only simple HTML/CSS/JS and hosted on GitHub Pages. Live Demo: https://staruwos.github.io/structviz/ Source Code: https://staruwos.github.io/structviz/ I'd love your feedback and contributions :)

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles