Ada to D - an array for storing values of each of the six bits which are sufficient

Dennis Ritchie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 1 04:03:55 PDT 2015


On Thursday, 30 April 2015 at 11:20:55 UTC, bearophile wrote:
> Dennis Ritchie:
>
>> There is an array of values to store each of which 
>> sufficiently 6 bits.
>> As it is written down on the D?
>
> You can't do it directly in D. Someone has to write a packed 
> array data structure to do it.
>
> Bye,
> bearophile

Thanks.
Anybody can write a packed array on the D? I once badly represent 
the means by which we can write a packed array. Maybe for this 
you should use core.simd or unions?


More information about the Digitalmars-d-learn mailing list