On 12/13/2013 11:07 AM, David Nadlinger wrote:
LDC in fact implements DMD-style inline assembly (occasionally there are bugs, though, as it's a complete reimplementation).
Thank you! That's awesome!
I don't think it would be unreasonable to work towards a common D ABI on the various Posix x86_64 systems, but given that DMD comes with its own bespoke exception handling implementation which doesn't really make sense to implement in GDC/LDC (as libunwind is the platform standard on Linux/… anyway), there is not really much motivation to start work on aligning the other parts of the ABI either.
I agree that an ABI would be good to work towards. Brad's right about why dmd's EH is different.