Go 1.5

Ola Fosheim Grøstad via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Sep 21 12:32:21 PDT 2015


On Monday, 21 September 2015 at 18:28:19 UTC, jmh530 wrote:
> My understanding is that the key benefit of Rust's system is 
> that compile time checks don't have the runtime costs of smart 
> pointers.

+ aliasing information.

If the compiler can prove that two pointers point to 
non-overlapping memory regions then the compiler can optimize 
better. This is one of the reasons why Fortran compilers managed 
to do better than C for a long time.



More information about the Digitalmars-d-announce mailing list