My choice to pick Go over D ( and Rust ), mostly non-technical

welkam wwwelkam at gmail.com
Tue Feb 6 00:13:59 UTC 2018


On Monday, 5 February 2018 at 20:12:09 UTC, Walter Bright wrote:
> much of it seems to be a replacement for the inline assembler, 
> and D has a nice inline assembler.

Inline assembler is not portable and limits optimizing compilers 
ability to optimize your code. Also assembler is bad at 
communicating intent but judging from the code both you and 
Andrei write you do not value the idea of self documenting code 
with one or two letter variables everywhere in your code.

To write really low level code you need more than what standard C 
provides because just changing alignment can have huge difference 
in performance
https://stackoverflow.com/questions/19470873/why-does-gcc-generate-15-20-faster-code-if-i-optimize-for-size-instead-of-speed



More information about the Digitalmars-d mailing list