short guide on getting started with D
Dukc
ajieskola at gmail.com
Tue Apr 18 07:37:39 UTC 2023
On Monday, 3 April 2023 at 07:29:01 UTC, cgenie wrote:
> Hello,
>
> I created a short guide on getting started with D:
> https://blog.mmksoft.uk/#A%20short%20guide%20on%20getting%20started%20with%20D%20programming
>
> This is because I recently I started to explore the language
> and, having read the forum, I see DUB being discouraged quite
> often.
>
> I would appreciate any remarks.
>
> Best,
> Przemek
Sorry for the very late reply. I've been thinking on commenting
on this but I'm lazy.
You're saying you don't want to use DUB? In that case, I think
you should not add it to your dependencies at all. DUB is both a
package manager and a build tool, but here Nix is answering for
the package management and Meson is your build system. Have Meson
to use LDC directly instead.
Since you're using Nix, in case you change your mind about DUB
(maybe to build a third-party package), it needs to be said that
using it isn't straightforward since Nix won't let DUB download
the dependencies from the Internet on it's own. There's a
solution, though: [dub2nix](https://github.com/lionello/dub2nix).
If you're interested, watch it's authors [DConf
talk](https://dconf.org/2019/talks/lunesu.html) for more info.
Anyway, there are not many examples about using D with Nix. Your
post is addressing that, so thanks for writing it up.
More information about the Digitalmars-d-learn
mailing list