Can we kill the D calling convention already?
Kagamin
spam at here.lot
Thu Apr 26 04:37:28 PDT 2012
On Wednesday, 25 April 2012 at 14:32:13 UTC, Alex Rønne Petersen
wrote:
> You're missing the point. D is providing (or trying to provide)
> a standard inline assembler, but calling conventions are not
> standardized enough for it to be useful across compilers. If
> you're writing inline assembly because you *have* to, you don't
> just "version it out", you have to write different logic for
> different compilers, which is a maintenance nightmare.
Don't implement complex logic in assembly, extract it to D or C
code.
More information about the Digitalmars-d
mailing list