ABI and exception handling

Lionello Lunesu lio at remove.lunesu.com
Tue Feb 28 01:40:41 PST 2006

I came across an interesting article:


and I was wondering if it would be possible to use a calling convention 
similar to x64's "__fastcall" for D programs? Apparently there should be a 
speed-up, especially when using exception handling (or those new 
on_scope_xxx constructs).

Or is D "obliged" to use the C calling convention? I wouldn't think so, 
since what's the point of "extern(C)" in that case, for the decoration?


More information about the Digitalmars-d mailing list