Phobos 3 Development is Open!
ryuukk_
ryuukk.dev at gmail.com
Wed Feb 28 15:45:06 UTC 2024
https://github.com/dlang/phobos/pull/8925/files#diff-647aa2ce9ebedd6759a2f1c55752f0279de8ae7ba55e3c270bd59e1f8c1a5162R131
Why can't D have its own types?
Just importing this introduces dependencies on other system
modules
```D
import core.stdc.config;
import core.stdc.stddef; // for wchar_t
import core.stdc.signal; // for sig_atomic_t
import core.stdc.wchar_; // for wint_t
```
Wich makes phobos harder to use on platforms without these
I think Phobos as a base shouldn't depend on libc, only specific
parts eg: network/event modules for example, so it becomes easier
to port when required
More information about the Digitalmars-d-announce
mailing list