Memory safe and coroutines are the focus of D.

zoujiaqing zoujiaqing at gmail.com
Wed Oct 19 06:34:54 UTC 2022


On Monday, 17 October 2022 at 14:51:09 UTC, jmh530 wrote:
>
> Walter's argument against this has been that it forces the user 
> to write multiple copies of the function to support both 
> pointer types. Even if you have a templated version to handle 
> it, you would still have two copies.
>
> You would need some kind of type erasure, similar to inout (not 
> that inout pulls its weight), and I'm sure there would be a lot 
> of complications associated with it.

GC is not a good system level programming language.

Microsoft and Linux started supporting rust because of memory 
security.

Apple iOS apps developed with swift will run more smoothly 
because of memory security.


More information about the Digitalmars-d mailing list