Same in CFD. High quality architecture is still not here yet, even with frontier models, but if the speed of progress is what we’ve seen the past couple years, it won’t be long
I used Codex for writing a simple API similar to my blog post with latest Vulkan extensions and Slang. AI wrote lots of PIMPL classes in the API with unique pointers and exceptions. There was also a user visible Buffer class instead of pure GPU-pointer API (that class internally allocated its own VkMemory). Command buffer recording also internally created a command pool every frame. It also listed images in the barriers and flushed mapped ranges. Didn't understand that we REQUIRE unified image layout extension and PCI-E ReBAR or UMA with coherent CPU visible GPU memory.
After a dozen of iterations the API starts looking good. You still need a senior expert for this work. AI can speed up your work, but AI alone does a horrible work. Even with massive initial prompt and 50-page blog post as design document.