Claude code is perfectly capable of writing low level rendering and input code and it can be equally as mindless as vibe coding web apps.
E.g. just say "write a c++ gui widget library using dx11 and win32 and copy flutters layout philosophy, use harfbuzz for shaping, etc etc"