Install DMD on ChatGPT

monkyyy crazymonkyyy at gmail.com
Tue Jan 27 02:19:29 UTC 2026


On Tuesday, 27 January 2026 at 02:03:40 UTC, jmh530 wrote:
> A recent thread on hacker news [1] indicated that it is 
> possible to call a C compiler on ChatGPT. It looks like it is 
> also possible to install DMD on ChatGPT [2]. Might make it give 
> you better answers if you tell it to check any code by running 
> it on DMD before showing you.
>
> [1] https://news.ycombinator.com/item?id=46770221
> [2] https://news.ycombinator.com/item?id=46774541

I strongly suggest just running qwen locally, it does radically 
improve preformence for normal errors(the compiler says "did you 
mean to import std.string?" chat bots can go "why use I did, let 
me import that") its worthless at templates but thats to be 
expected.

Getting it into the online chatbots means a) convincing them d is 
important b) shipping an offical docker c) bugging them to keep 
them up to date. I doubt its worth the fight. Its just going to 
be agent ai on your machine, with all your files and tools you 
wish; convincing google or mircosoft to run your code on tier 
cloud is just more work then my own 100 line cli tool. The chat 
bots do annoying things of limiting what file types you can 
upload or making it a 1 at a time interface or making more then 3 
files paid; just no, unnecessary complexity.


More information about the Digitalmars-d mailing list