tuple not part of core language
Kapendev
alexandroskapretsos at gmail.com
Tue Jan 20 16:57:46 UTC 2026
On Tuesday, 20 January 2026 at 15:52:11 UTC, Serg Gini wrote:
> On Tuesday, 20 January 2026 at 13:43:02 UTC, libxmoc wrote:
>> You're confusing the issue. Timon's attempted PR did try to
>> add tuples to core D, but it still pulled in runtime library
>> code - that's exactly the problem. A language feature that
>> depends on library code violates the clean separation: it's
>> either core or library, not both. I hope it won't be accepted,
>> tuples should be native to the language, meaning it should not
>> depend on runtime code, the compiler should support that by
>> default, just like `struct`.
>
> This is D3 level of complexity = never gonna happen
I assume it's not that complex to replace the library code there,
but no idea really how things are implemented and for what reason.
More information about the Digitalmars-d-learn
mailing list