Re: the bit[] type

2010-09-24 Thread Emil Madsen
for this, or is this up to the implementer of the compiler? About the bit type, and the bitarray, if I'm interresting in doing anything alike this, I'm off to allocating an array of chars? - and bitwise accessing them, to change them? And now another piece of curiousity, how did this align in memory

Re: the bit[] type

2010-09-24 Thread Emil Madsen
they represent the same thing. Now what I'm interested in knowing, is if it's really worth implementing arrayslicing and such for the bit type, because in my opinion I think the trade-off between usage and implementation cost of the feature, might not be worth it, but if all of the features has been developed

Re: the bit[] type

2010-09-23 Thread Stewart Gordon
On 22/09/2010 22:26, Emil Madsen wrote: Okay I'm interresting in getting more infomation about the bit[] type; - is it still implemented in D1? bit is now just an alias of bool, defined in object. - and why was it removed? I think because there were too many complaints of bugs

Re: the bit[] type

2010-09-23 Thread jcc7
== Quote from Stewart Gordon (smjg_1...@yahoo.com)'s article On 22/09/2010 22:26, Emil Madsen wrote: Okay I'm interresting in getting more infomation about the bit[] type; - is it still implemented in D1? bit is now just an alias of bool, defined in object. - and why was it removed? I

Re: the bit[] type

2010-09-23 Thread Walter Bright
jcc7 wrote: As you can see from the links to newsgroup threads at the bottom of the first page, the topic was discussed over many years. Perhaps the discussions have tapered off in recent years because the current approach is right. BTW, C++ ran into the same problems with vectorbool.

the bit[] type

2010-09-22 Thread Emil Madsen
Okay I'm interresting in getting more infomation about the bit[] type; - is it still implemented in D1? - and why was it removed? - is it possible to get a link to the design considerations of removing it, and such? - any source of info, on the design phase about it, will be in my interrest

Re: the bit[] type

2010-09-22 Thread bearophile
Emil Madsen: Okay I'm interresting in getting more infomation about the bit[] type; - is it still implemented in D1? - and why was it removed? - is it possible to get a link to the design considerations of removing it, and such? - any source of info, on the design phase about

Re: the bit[] type

2010-09-22 Thread Emil Madsen
Didn't knew about D.learn :) - I'll head over there, to ask questions alike this one, instead of polluting here. the bit type in D1, is just an alias for bool I take it, for backwards compatibility`? - is it deprecated? Yet again, thanks you :) On 23 September 2010 00:32, bearophile bearophileh

Re: the bit[] type

2010-09-22 Thread bearophile
Emil Madsen: the bit type in D1, is just an alias for bool I take it, for backwards compatibility`? I think so. But it's only a partial semantic compatibility. - is it deprecated? bit as alias of bool is not deprecated, because I presume this alias will never be removed from D1