D perfomance
welkam
wwwelkam at gmail.com
Sun Apr 26 19:27:50 UTC 2020
On Wednesday, 22 April 2020 at 22:34:32 UTC, Arine wrote:
> Not quite. Rust will generate better assembly as it can
> guarantee that use of an object is unique. Similar to C's
> "restrict" keyword but you get it for "free" across the entire
> application.
Cool. Did not knew that. I know that different languages have
different semantics and code that looks the same might produce
different results so thats why I used a word equivalent instead
of same. You can achieve the same goal in D as in Rust but the
code would be different.
More information about the Digitalmars-d
mailing list