DIP: add Bit Fields

Daniel N no at public.email
Sat Mar 9 10:46:10 UTC 2024


On Saturday, 9 March 2024 at 09:41:22 UTC, Dennis wrote:
> On Saturday, 9 March 2024 at 07:51:08 UTC, Walter Bright wrote:
>> The problem with implementation-defined layout is much more of 
>> a pedantic one than a pragmatic one, as I've explained 
>> elsewhere in this thread.
>
> I've shown that it's a problem when using bit bitfields in D's 
> very own standard library (std.internal.unicode_tables) and 
> asked you to name one dub package that would benefit from D bit 
> fields having C layout, which you didn't do.

Not on dub, but my closed source makes use of it. Vendor supplied 
register definitions uses bitfields with C semantics. Also IPC 
where client/server is written in different languages.



More information about the dip.development mailing list