How people are using LLM's with D

FeepingCreature feepingcreature at gmail.com
Wed Feb 11 16:05:57 UTC 2026


On Wednesday, 11 February 2026 at 01:10:18 UTC, Richard (Rikki) 
Andrew Cattermole wrote:
> I'm going to split this off into its own thread, so anyone who 
> has any tips or approaches can teach:
>

Showing off a little, probably the coolest thing I've done with 
AI (AI help) in D is 
https://github.com/FeepingCreature/cachetracer which I really 
need to get back into these days. The idea is it's a raytracer 
where per-pixel texture is learned in a small neural network that 
runs in the fragment shader. To support this, I've gotten the AI 
(with some help) to build me a tensor library with backprop that 
uses D's typesystem to statically check that tensor shapes match 
together.

Do you know how insane that is? This is an AI/deep learning 
framework! The thing took like two weeks to come together! 
Part-time!

It's not that I couldn't have done it on my own, it's that I 
wouldn't have bothered to do it just for a lark. Now, more and 
more if you can describe something you can build it- especially 
if you can test it for correctness automatically.

(Though it has to be said that it doesn't work very well. All the 
AI in the world won't save you if your idea is rubbish.)


More information about the Digitalmars-d mailing list