Originally posted by ldo17
View Post
1) Idiomatic D code tends to be lazy evaluting which favours stack allocation and is cache friendly.
2) Doing ARC in a provably safe way is a feature that is currently being worked on this will not fall back automatically to GC but could be done.
3) There is a standard interface for Allocators (currently experimental) in the standard library. If you write your code using this interface you can start with GC (or malloc) and swap that out for a custom allocation scheme as it becomes clearer what your requirements are in a clean way. This will probably be the way to do things going forward.
Comment