Having "blessed" 3rd party libraries may make D more popular and stable for building real software.
Lance Bachmeier
no at spam.net
Tue Jul 1 20:58:33 UTC 2025
On Tuesday, 1 July 2025 at 20:00:01 UTC, Dennis wrote:
> On Tuesday, 1 July 2025 at 18:06:28 UTC, WraithGlade wrote:
>> making [a multimedia library] as easy to use as the standard
>> library itself and perhaps even shipping it with every
>> standard copy of D
>
> Let's say installing `pacman -S dmd` would put raylib-d under
> `/usr/include/dlang/dmd` next to druntime and Phobos. That
> version of raylib-d will only change when the dmd package from
> Arch gets updated.
This is once again D flexing its muscles as the all-time king of
NIH. Just follow what other languages do. Install a package and
then add it to your program the same as you do with Phobos:
```
import std.math;
import user.raylib;
```
But I've wasted enough time pushing for this over the years.
Other languages do it and D does it with Phobos, yet the main
objection is that there's no way to do it.
If someone doesn't want to do it that way because they need the
super-duper enterprise version of everything, they can use the
current clunky approach.
More information about the dip.ideas
mailing list