On Monday, 24 November 2025 at 16:48:49 UTC, Jabba Laci wrote:
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 >:(
I use `rdmd` during development. For the tests, I tried both
dmd and ldc2.
I consider rdmd mildly bad, I consider dub terrible
I suggest keep using #! for the same reasons you probably know
from python, but use `dmd -i -run` directly, if you want an
optimized compile you can have it in the file, apply pythons
thoughts on imports and small programs as you are, your ahead of
the majority of the community on this topic.