by Orochikaku on 4/12/24, 10:17 PM with 9 comments
by mpwoz on 4/12/24, 11:53 PM
I especially enjoyed how the author packed progressively more information into the bits of a single integer using some clever tricks, and it stayed approachable the whole time even for those who don’t do a lot of low level bitwise optimizations in their day to day (me)
by mcraiha on 4/13/24, 5:37 AM
by jokoon on 4/12/24, 11:27 PM
by 01HNNWZ0MV43FF on 4/13/24, 5:52 AM
Could have also not used those
by naikrovek on 4/13/24, 1:25 AM
I am not a developer (not a real one, anyway) and I am definitely not a game developer but I wrote a ton of 3D stuff for work and learned all of these optimization techniques along the way.
Once one learns the basics of how data is sent to GPUs, these techniques all become obvious, though some are much more difficult when you don’t restrict yourself to a world built with axis-aligned cubes.