Challenge: write a reference counted slice that works as much as possible like a built-in slice
deadalnix
deadalnix at gmail.com
Tue Nov 9 13:06:19 UTC 2021
On Tuesday, 9 November 2021 at 11:56:50 UTC, Atila Neves wrote:
> It might just be my biases but I think this is a more useful
> nut to crack. And the only way to crack it is to some sort of
> ownership system, since there's no way currently in D to have a
> compile-time guarantee that there's only one alias left.
>
Great mind think alike. i was considering rebooting this
challenge dropping the RC part altogether. Just reimplement
slices such as they behave like the builtin ones is enough of a
challenge already.
More information about the Digitalmars-d
mailing list