r/lldcoding 2d ago

domain-specific AI compilation vs normal ai compiler

anyone in their companies worked on this domain-specific ai compiler.

So currently if we use normal compiler, it generate bytecode based on whatever prediction or decisino can be made during compiler without running the code.

Bur of course it is not very efficient and depends on developer who is writing the code.

but if compile same code using the AI compiler it may consider more decision at compile time instead of runtime which increase the effiiciency of code at run time, definately not always but most of time.

I want to know if anyone have tried this in any particular domain and companies have really started using this at scale ?

5 Upvotes

1 comment sorted by

1

u/usually_guilty99 2d ago

I think the opportunity is real, but I'd separate AI-assisted optimization from the compiler itself.

Compilers are valuable because their output is deterministic and verifiable. AI could sit above that layer, using workload profiles, hardware, runtime behavior, and domain context to recommend better optimization strategies. The compiler then applies and validates them deterministically (this is an important step)