>>4
This is a structure (record) assignment from a copy on the stack to a copy in a heap object.
And even if the compiler can't tell if they're aliased or not, it's a little annoying how it keeps using eax and edx. If you look at MSVC or Intel's C/C++ compiler output you'll see how it spreads loads and stores across registers to help with parallelism. Here's another two 'wat' fragments:
Borland never pretended to have good optimizers. At least their compilers are fast.
>>3 Is that alpha version of C#? Actually it's the good version of C#. The one that doesn't make your users cringe. The one that actually delivers real, native code, which despite the poor optimizer still outperforms MS' managed languages.
Delphi always generated inefficient code like that.
Name:
Anonymous2011-10-15 6:41
>>19
Because Delphi was done by evil french frog-eater, who studied under Niclaus Wirt, who was the one of the cabalistic group responsible for summoning of the great evils - C/C++ and Haskell, by forcing all institutions to adopt their ugly Algol (early C/C++ version) piece of shit.