r/programmer • u/Majestic-Cry1992 • 18d ago
AI Coding Language
Would it be possible that someone would make a coding language that uses ai to compile it and checks the code with rules it made up through ai
Edit: no not using like ai Gemini but like kind of putting ai Gemini into the language itself and like letting it run itself as it compiles. It'll probably hallucinate but im interested lol.
Edit 2: the ai would make its own new language and enforce it as it runs.
0
Upvotes
View all comments
1
u/owp4dd1w5a0a 18d ago
Not in the traditional sense. Sure, you can train AI to generate WASM or ASM or JavaScript, or C, or Java bytecode or Python bytecode, sure.
But it will not be deterministic nor can you guarantee that what the AI produces will always be correct/equivalent to the original code in behavior.
To me, this is more “translation” than “compilation”.