string to char array?

Kyoji Klyden via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 5 11:13:33 PDT 2015


On Friday, 5 June 2015 at 18:06:25 UTC, Kagamin wrote:
> On Friday, 5 June 2015 at 17:27:18 UTC, Kyoji Klyden wrote:
>> Does the slice's pointer point to the slice's position in 
>> memory? Then if an array isn't sequential, is it atleast a 
>> sequence of pointers to the slice structs (& those are just in 
>> whatever spot in memory they could get?)
>
> BTW, try to write in assembler, it will give you perfect 
> understanding of all things like memory layout, calling 
> conventions, alignment etc :3

I did a tiny bit before actually, but I wanna go back to it once 
I have the time soooo bad (it's pretty high up on my to-do list). 
I think it's really fun :D


More information about the Digitalmars-d-learn mailing list