Replies: 3 comments 3 replies
-
Some of these concepts really deserve to be language features more than anything. There's just too much overhead in the current implementation of If a function parameter a |
Beta Was this translation helpful? Give feedback.
-
DIP time!
Yeah, it seems unfinished. |
Beta Was this translation helpful? Give feedback.
-
Since |
Beta Was this translation helpful? Give feedback.
-
I wrote a long article about designing a
@safe
allocator interface in a Github Gist, here:https://gist.github.com/pbackus/29c520bc4e1f4aa075c9171db791d234
I have a work-in-progress proof-of-concept library based on this design (with some small changes) at https://github.com/pbackus/allocator-demo.
This design depends heavily on two
-preview
features:-preview=systemVariables
-preview=dip1000
If we choose to adopt a design like the one I've suggested, it will be necessary to stabilize those two language features before allocators can be included in Phobos.
Beta Was this translation helpful? Give feedback.
All reactions