On 7/7/2011 10:45 AM, eris wrote:
I believe I read in TDPL that D2 compilers actually assemble asm statement
code directly.

Yes, that is correct.

This would seem to break modularity and require every compiler
to re-implement every possible assembler.

Not really. Assemblers aren't hard to write.

Not exactly good news for a systems programming language.

Having an integrated assembler is great for a systems programming language. It's not that awkward kludge used in gcc.

I hope I read that incorrectly because it seems to be a design mistake.

Take a look at the druntime sources. It makes good and appropriate use of the inline assembler.

Reply via email to