D and AI

Denis Feklushkin feklushkin.denis at gmail.com
Sat Feb 21 12:31:49 UTC 2026


On Friday, 20 February 2026 at 12:04:34 UTC, Sergey wrote:

> You can check micro gpt-2 model implemented in D!
> It is port of Andrej Karpathy project
> https://github.com/cyrusmsk/microDpt

Oh, there are at least two more that written in D. Here's mine 
(still unfinished):

https://github.com/denizzzka/microgpt_dlang/blob/master/source/app.d

I write it so that it completely replicates logic of the original 
Python code, but I try to make it D-idiomatic.

I think this will become a new competition between languages 
​​and compilers. So, it makes sense to polish this training code 
to a shine.


More information about the Digitalmars-d mailing list