Phobos 3 Development is Open!
monkyyy
crazymonkyyy at gmail.com
Thu Feb 29 21:38:20 UTC 2024
On Wednesday, 28 February 2024 at 15:45:06 UTC, ryuukk_ wrote:
> 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
+1
My current setup in wasm has a broken libc and that makes most
the std useless unleast I want to go wack a mole in the depths of
core.math
More information about the Digitalmars-d-announce
mailing list