Open post Fabian Wahlster @razor@mastodon.gamedev.place · 5mo ago Replying to @julienbarnoin@mastodon.gamedev.place @razor@mastodon.gamedev.place Neat. By GPU assembly to you mean SPIR-V or some lower-level GPU-specific assembly? @julienbarnoin@mastodon.gamedev.place CDNA4, for work
Open post Fabian Wahlster @razor@mastodon.gamedev.place · 5mo ago Replying to @julienbarnoin@mastodon.gamedev.place <p>I'm curious, does anyone else like to line things up in code with spaces this way?</p><p>It's basically applying the "Make Alike Look Alike" principle from Christopher Seiwald's "Seven Pillars of Pretty Code". I've always done this (even before that article) and it's helped me spot copy & paste mistakes many times.</p><p>But it seems like a lot of the time automated code formatters will mess it up, which is unfortunate. It's one of the main reasons I never use them.</p><p><a href="https://mastodon.gamedev.place/tags/programming" class="mention hashtag" rel="tag">#<span>programming</span></a> <a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="tag">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/indiedev" class="mention hashtag" rel="tag">#<span>indiedev</span></a></p> @julienbarnoin@mastodon.gamedev.place I started doing this since I started writing lots of GPU assembly, it helps if operands are column-aligned