Install DMD on ChatGPT
jmh530
john.michael.hall at gmail.com
Tue Jan 27 19:20:23 UTC 2026
On Tuesday, 27 January 2026 at 17:00:08 UTC, Lance Bachmeier
wrote:
> 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've used Gemini CLI because I have paid API access. That will
> run the code, check for errors, and retry. That's better than
> having to test it yourself, but all you have when you're done
> is a program that compiles and runs.
I think I have access to the ChatGPT CLI, but I haven't tried it
yet. Probably should give it a go.
The nice thing about the chat bot is that I don't have to be near
the computer to ask it a question.
More information about the Digitalmars-d
mailing list