Talk:Creating an Array: Difference between revisions

From Rosetta Code
Content added Content deleted
m (→‎x86 Assembly: added my signature. :-/)
Line 14: Line 14:
And what of this ancient language?
And what of this ancient language?


:x86 assembly doesn't inherently support an array construct, unless one considers SIMD instructions to be indicative of such. However, in most of those cases, one is not dealing with multiple values in one variable, but with multiple variables. (Each register representing one variable.) I suppose one could consider register sets specific to SIMD extensions to be implied arrays.)
:x86 assembly doesn't inherently support an array construct, unless one considers SIMD instructions to be indicative of such. However, in most of those cases, one is not dealing with multiple values in one variable, but with multiple variables. (Each register representing one variable.) I suppose one could consider register sets specific to SIMD extensions to be implied arrays.) --[[User:Short Circuit|Short Circuit]] 18:58, 22 January 2007 (EST)

Revision as of 23:58, 22 January 2007

You're forgetting array base and associative arrays

One critical thing missing from this is the concept of zero-based, 1-based or other types of arrays. Some languages start at 0, others at 1.

There is also the concept of associative arrays that have both numeric and text based indexes. They are not supported in all languages either.


VB coders...

I'm sure it's not representative of all VB programmers but the VB entry uses an array list instead of an array. Or is it, perhaps, intentional. One ponders..

x86 Assembly

And what of this ancient language?

x86 assembly doesn't inherently support an array construct, unless one considers SIMD instructions to be indicative of such. However, in most of those cases, one is not dealing with multiple values in one variable, but with multiple variables. (Each register representing one variable.) I suppose one could consider register sets specific to SIMD extensions to be implied arrays.) --Short Circuit 18:58, 22 January 2007 (EST)