Release D 2.087.0
Vladimir Panteleev
thecybershadow.lists at gmail.com
Mon Jul 15 12:27:22 UTC 2019
On Monday, 15 July 2019 at 12:14:16 UTC, Mike Franklin wrote:
> Many of the implementations in `rt/array` require importing or
> referencing other implementations in `rt` (e.g. `rt.lifetime`).
> If they were moved to `core.internal` they would require
> importing `rt` or peeking into `rt` with various hacks, which
> exactly what you've said should not be done.
This isn't exactly true. The restriction is that core should not
*import* rt. Have a look at all the extern(C) definitions in
Druntime - using extern(C) functions to communicate between the
compiler and rt, as well as core and rt, is not a "hack", but an
established mechanism to invoke the low-level implementations in
Druntime.
More information about the Digitalmars-d-announce
mailing list