Use C++ exception model in D
Marco Leise
Marco.Leise at gmx.de
Wed Apr 9 14:15:40 PDT 2014
Am Wed, 9 Apr 2014 15:32:56 +0100
schrieb Iain Buclaw <ibuclaw at gdcproject.org>:
> On 9 April 2014 14:54, Marco Leise <Marco.Leise at gmx.de> wrote:
> > Am Wed, 9 Apr 2014 23:11:08 +1000
> > schrieb "Daniel Murphy" <yebbliesnospam at gmail.com>:
> >
> >> You could always go the other way and change GDC and LDC to match what DMD
> >> does. :)
> >
> > And precisely that is not always possible. E.g. GCC developers
> > have decided against "naked" asm functions. And this
>
> Naked exists, just not for x86. :o)
That slipped my mind, possibly because I still think of D as
a programming language for x86 (like Delphi).
> > A common ground has to be found that likely changes the ABI in
> > all 3 compilers. DMD is actually least restricted by the lack
> > of vetoing "upstream" developers :)
> >
>
> I have only vetoed features that are tied to a specific architecture.
> This is not unreasonable in my eyes.
I meant upstream more literally than I made it look. I.e. even
if everyone involved with D found some ABI detail a good idea,
it could be that the required changes to the backend, like
naked asm for x86 cannot be made by you or David, but require
the good will of the core team of the respective backend.
And yes, it is good to now and then look beyond x86. The
developments were in favour of D it seems. 16-bit chips
dimish, TLS became available on Mac OS X. Possibly later
Walter's "better C" will be discussed again to not overload
simple platforms with GC, exceptions and TLS :)
--
Marco
More information about the Digitalmars-d
mailing list