digitalmars.D.learn - Array Defenitions
- Jeroen Bollen (5/5) Nov 13 2013 I feel there is a lack of resources/documentation on array
- Andrej Mitrovic (2/7) Nov 13 2013 See if this helps: http://dlang.org/d-array-article.html
- Jesse Phillips (12/17) Nov 13 2013 Could you provide information on what you are looking for. The
I feel there is a lack of resources/documentation on array definitions. I cannot believe the official documentation tries to explain how D handles arrays without defining an array a single time. http://dlang.org/arrays.html
Nov 13 2013
On 11/13/13, Jeroen Bollen <jbinero gmail.com> wrote:I feel there is a lack of resources/documentation on array definitions. I cannot believe the official documentation tries to explain how D handles arrays without defining an array a single time. http://dlang.org/arrays.htmlSee if this helps: http://dlang.org/d-array-article.html
Nov 13 2013
On Wednesday, 13 November 2013 at 20:44:04 UTC, Jeroen Bollen wrote:I feel there is a lack of resources/documentation on array definitions. I cannot believe the official documentation tries to explain how D handles arrays without defining an array a single time. http://dlang.org/arrays.htmlCould you provide information on what you are looking for. The document states, "Dynamic arrays consist of a length and a pointer to the array data. Multiple dynamic arrays can share all or parts of the array data." We have started using the same terminology as Go and are now formally calling them slices, but still use array casually. I can agree that "point and length" doesn't have a connection with semantics and use, but that is what they are. (The runtime maintains a block of memory somewhere that the slice points to)
Nov 13 2013