digitalmars.D - What is the structure of D arrays?
- "Ashok" <achandra netnews.nl> Dec 26 2009
- Sean Kelly <sean invisibleduck.org> Dec 26 2009
- "Ashok" <achandra netnews.nl> Dec 26 2009
- Don <nospam nospam.com> Dec 26 2009
- "Ashok" <achandra netnews.nl> Dec 26 2009
- Don <nospam nospam.com> Dec 26 2009
- "Ashok" <achandra netnews.nl> Dec 26 2009
- downs <default_357-line yahoo.de> Dec 26 2009
- bearophile <bearophileHUGS lycos.com> Dec 27 2009
- Bane <branimir.milosavljevic gmail.com> Dec 27 2009
- "Ashok" <achandra netnews.nl> Dec 28 2009
- BCS <none anon.com> Dec 29 2009
Actually, I have another question before the one in the subject line: How many types of arrays are there in D? THEN, I would like to know their layout/structure in memory.
Dec 26 2009
Ashok Wrote:Actually, I have another question before the one in the subject line: How many types of arrays are there in D? THEN, I would like to know their layout/structure in memory.
There's one type, and its structure is described in the ABI: http://www.digitalmars.com/d/2.0/abi.html
Dec 26 2009
Sean Kelly wrote:Ashok Wrote:Actually, I have another question before the one in the subject line: How many types of arrays are there in D? THEN, I would like to know their layout/structure in memory.
There's one type, and its structure is described in the ABI: http://www.digitalmars.com/d/2.0/abi.html
How wide is length? And really? There's only one array type? D's age showing!
Dec 26 2009
Ashok wrote:Sean Kelly wrote:Ashok Wrote:Actually, I have another question before the one in the subject line: How many types of arrays are there in D? THEN, I would like to know their layout/structure in memory.
http://www.digitalmars.com/d/2.0/abi.html
How wide is length? And really? There's only one array type? D's age showing!
Dynamic arrays are internally just a pointer and a length, so there only needs to be one structure.
Dec 26 2009
Don wrote:Ashok wrote:Sean Kelly wrote:Ashok Wrote:Actually, I have another question before the one in the subject line: How many types of arrays are there in D? THEN, I would like to know their layout/structure in memory.
http://www.digitalmars.com/d/2.0/abi.html
How wide is length? And really? There's only one array type? D's age showing!
Dynamic arrays are internally just a pointer and a length, so there only needs to be one structure.
I rest my case.
Dec 26 2009
Ashok wrote:Don wrote:Ashok wrote:Sean Kelly wrote:Ashok Wrote:Actually, I have another question before the one in the subject line: How many types of arrays are there in D? THEN, I would like to know their layout/structure in memory.
http://www.digitalmars.com/d/2.0/abi.html
showing!
only needs to be one structure.
I rest my case.
I'm intrigued. What would you expect?
Dec 26 2009
"Don" <nospam nospam.com> wrote in message news:hh6v0a$1bc4$1 digitalmars.com...Ashok wrote:Don wrote:Ashok wrote:Sean Kelly wrote:Ashok Wrote:Actually, I have another question before the one in the subject line: How many types of arrays are there in D? THEN, I would like to know their layout/structure in memory.
http://www.digitalmars.com/d/2.0/abi.html
showing!
only needs to be one structure.
I rest my case.
I'm intrigued. What would you expect?
Dec 26 2009
Ashok wrote:"Don" <nospam nospam.com> wrote in message news:hh6v0a$1bc4$1 digitalmars.com...Ashok wrote:Don wrote:Ashok wrote:Sean Kelly wrote:Ashok Wrote:Actually, I have another question before the one in the subject line: How many types of arrays are there in D? THEN, I would like to know their layout/structure in memory.
http://www.digitalmars.com/d/2.0/abi.html
showing!
only needs to be one structure.
I have no idea what you're talking about.
Dec 26 2009
downs:I have no idea what you're talking about.
The good thing is that in this newsgroup there is only one troll to feed (that keeps changing name), so it's not a big burden :-) Bye, bearophile
Dec 27 2009
bearophile Wrote:downs:I have no idea what you're talking about.
The good thing is that in this newsgroup there is only one troll to feed (that keeps changing name), so it's not a big burden :-) Bye, bearophile
The one with randomly broken caps-lock? :))
Dec 27 2009
As if he was "bad". "bearophile" <bearophileHUGS lycos.com> wrote in message news:hh758p$1qd4$1 digitalmars.com...downs:I have no idea what you're talking about.
The good thing is that in this newsgroup there is only one troll to feed (that keeps changing name), so it's not a big burden :-) Bye, bearophile
Dec 28 2009
Hello bearophile,downs:I have no idea what you're talking about.
feed (that keeps changing name), so it's not a big burden :-) Bye, bearophile
If you can call that a trolling: Troll: what color is the sky? NG: Blue, much of the time. Troll: You are so stupid. NG: ??????
Dec 29 2009









Bane <branimir.milosavljevic gmail.com> 