Challenge: write a reference counted slice that works as much as possible like a built-in slice
deadalnix
deadalnix at gmail.com
Fri Nov 12 17:23:33 UTC 2021
On Friday, 12 November 2021 at 17:01:57 UTC, H. S. Teoh wrote:
> As I said elsewhere, it's a different level of abstraction. The
> GC operates at a lower level of abstraction, and therefore does
> "dirty" things like casting to/from immutable, pointer
> arithmetic, etc.. But the interface it presents to user code
> forms a higher level of abstraction where these low-level
> manipulations are hidden away under the hood.
>
>
> T
I think it is fair to expect any RC system to be able to operate
at that same level.
More information about the Digitalmars-d
mailing list