My AoC program in D is just as fast as in Python

Kapendev alexandroskapretsos at gmail.com
Mon Nov 24 16:23:40 UTC 2025


On Monday, 24 November 2025 at 16:16:07 UTC, monkyyy wrote:
> On Monday, 24 November 2025 at 15:46:30 UTC, Kapendev wrote:
>> On Monday, 24 November 2025 at 14:37:22 UTC, Jabba Laci wrote:
>>> #!/usr/bin/env rdmd
>> Compile it with `dub build --compiler=ldc2 --build=release`:
>>
>
> "we taught him wrong as a joke"; he's already doing the better 
> thing of #!, bad kap >:(

Sowwy, I not do again! OwO ~~
But it will run faster than Python anyway, even with `./part1.d`, 
where it has to compile and then run with zero optimizations.


More information about the Digitalmars-d-learn mailing list