ImportC and #pragma pack
Kenneth Dallmann
fake at 123.con
Wed Sep 29 19:35:39 UTC 2021
On Tuesday, 28 September 2021 at 06:05:04 UTC, Walter Bright
wrote:
> https://issues.dlang.org/show_bug.cgi?id=22315
>
> I'm on the fence about implementing this. On the one hand, I
> can do it and make it work. On the other hand, the C11 way is
> to use _Alignas, and that's 10 years old now. How far do we go
> with implementing all the nutburger obsolete C extension cruft
> out there?
I believe I know why you are on the fence about it, and I feel
the same.
My concept would be simply to make D its own language, the more
unneccessary stuff
is added the more complicated and disorienting it can be to users.
My point of view is, so long as the compiler can use C code with
all its features then
there is no point in making a D version of the features that
aren't important.
Simplicity is beautiful.
Thank you
More information about the Digitalmars-d
mailing list