kubo39's blog

ただの雑記です。

x86

LDCの最適化とか

http://robert.ocallahan.org/2017/04/rust-optimizations-that-c-cant-do_5.html これを読んで、なるほどRustだとこういう最適化できるのね、というのを学んだ。 Here it’s really clear that the semantics of Rust are making this optimization possible…

dmdの-profileオプション

dmdにはWindowsもしくはx86系のアーキテクチャの場合は -profile オプションで実行したプログラムのプロファイルを取得することができます。 dmdのmanを見ると、 -profile Profile the runtime performance of the generated code こういう風に確認できます…