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 :)
Top comments (0)