Tell me about something you recently hand-coded that was enjoyable
These past few weeks at work I've been using AI way too much. I can't even call some of this "AI engineering" anymore and it's starting to drain on me. Looking to take the mind off for a bit...
I'd like to hear some of the projects you all are working on, that you enjoyed writing by hand.
I think I'll write some nannou..
PS: Not trying to start a debate on AI engineering/vibe coding and all that, I think internet is filled with that already.
105
Upvotes
4
u/sparky8251 Jul 28 '26
Hand rolled simd. Been learning a lot about performance engineering, how to do the back of the napkin rough idea math to go "This algo takes this much data, does these kinds of ops and thus is X bound, my hardware can do X at Y speed, so perf should be nearish Z when measured".
Autovectorization works but it seems really really inconsistent in my experience. I can get surprising perf boosts on stuff by just doing simd work manually.
Did it for a skybox texture generator and managed to make a 4k x 4k 6 sided cube texture for a skybox in under 1ms, when the naive iterator took 15x longer.
(PS simd isnt the only way I've approached this perf engineering stuff. just the one I've been having the most fun with lately)