Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.physics > #586742

Re: Where did the 3 geometric dimensions come from?

From jimp@specsol.spam.sux.com
Newsgroups sci.physics
Subject Re: Where did the 3 geometric dimensions come from?
Date 2016-06-26 04:49 +0000
Organization A noiseless patient Spider
Message-ID <ef344d-nri.ln1@mail.specsol.com> (permalink)
References (2 earlier) <foknt27lqy2k$.1vbkoasgr0kmw$.dlg@40tude.net> <83e34d-dng.ln1@mail.specsol.com> <1f413ekmspyea.vlgpozkrz02f$.dlg@40tude.net> <vpp34d-oth.ln1@mail.specsol.com> <qrey1kgpdkuh.1elpb68osn13b$.dlg@40tude.net>

Show all headers | View raw


ClutterFreak <ClutterFreak@fakeaddress.com> wrote:
> On Sun, 26 Jun 2016 02:04:15 -0000,
> jimp@specsol.spam.sux.com wrote:

<snip>

>> How an array is stored is up to the compiler.
>> 
>> http://stackoverflow.com/questions/2565039/how-are-multi-dimensional-arrays-formatted-in-memory
>> 
>> https://en.wikipedia.org/wiki/Row-major_order
>> 
>> 
> 
> Sure but in both cases what I suspected takes place,
> that is a multidimensional array of data gets stored
> in a linear form. The second link indicates that the
> order by which this linear arrangement is made can be
> different (contiguous by row or contiguous by column). 
> 
> At first link it shows data from a two dimensional
> array are stored in a linear way, but mentions a
> complication that may occur trying to access the data
> in a function's argument using a common practice
> (using a pointer to that data location). 
> 
> These are just nitty gritty of the programming
> languages and compilers. But data itself is always
> stored linearly as it wouldn't make sense to be
> otherwise because computer wouldn't understand two or
> three dimensionality. 

Computers don't understand anything.

It is the compiler that determines how data will be stored and recovered.

> Thanks god Java programming doesn't deal with memory
> allocation :) The links you provided reminded me of C
> which I left forever with the advent of Java. No
> pointers, no memory allocation / deallocations. Not a
> worry in the world compared to C. In Java such tricky
> nuisances are all taken care of automatically. 

If you think Java "doesn't deal with memory allocation", lord help
anyone that runs a program you write.


-- 
Jim Pennino

Back to sci.physics | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Where did the 3 geometric dimensions come from? Michael J. Strickland <michael06582@comcast.net> - 2016-06-24 10:38 -0400
  Re: Where did the 3 geometric dimensions come from? Sergio <invalid@invalid.com> - 2016-06-24 10:02 -0500
    Re: Re: Where did the 3 geometric dimensions come from? Michael J. Strickland <michael06582@comcast.net> - 2016-06-25 01:29 -0400
      Re: Where did the 3 geometric dimensions come from? Sergio <invalid@invalid.com> - 2016-06-25 15:01 -0500
    Re: Where did the 3 geometric dimensions come from? "Y.Porat" <y.y.porat@gmail.com> - 2016-06-26 01:04 -0700
  Re: Where did the 3 geometric dimensions come from? jimp@specsol.spam.sux.com - 2016-06-24 16:15 +0000
    Re: Where did the 3 geometric dimensions come from? benj <benj@nobody.net> - 2016-06-24 17:24 -0400
      Re: Where did the 3 geometric dimensions come from? jimp@specsol.spam.sux.com - 2016-06-24 22:03 +0000
        Re: Where did the 3 geometric dimensions come from? benj <benj@nobody.net> - 2016-06-24 18:25 -0400
          Re: Where did the 3 geometric dimensions come from? jimp@specsol.spam.sux.com - 2016-06-24 22:44 +0000
    Re: Re: Where did the 3 geometric dimensions come from? Michael J. Strickland <michael06582@comcast.net> - 2016-06-25 01:33 -0400
      Re: Where did the 3 geometric dimensions come from? jimp@specsol.spam.sux.com - 2016-06-25 15:44 +0000
        Re: Re: Where did the 3 geometric dimensions come from? Michael J. Strickland <michael06582@comcast.net> - 2016-06-26 15:34 -0400
          Re: Where did the 3 geometric dimensions come from? Sergio <invalid@invalid.com> - 2016-06-27 09:06 -0500
  Re: Where did the 3 geometric dimensions come from? ClutterFreak <ClutterFreak@FakeAddress.com> - 2016-06-25 16:45 -0500
    Re: Where did the 3 geometric dimensions come from? jimp@specsol.spam.sux.com - 2016-06-25 22:44 +0000
      Re: Where did the 3 geometric dimensions come from? noTthaTguY <abu.kuanysh05@gmail.com> - 2016-06-25 16:10 -0700
      Re: Where did the 3 geometric dimensions come from? ClutterFreak <ClutterFreak@FakeAddress.com> - 2016-06-25 18:25 -0500
        Re: Where did the 3 geometric dimensions come from? Sergio <invalid@invalid.com> - 2016-06-25 21:08 -0500
          Re: Where did the 3 geometric dimensions come from? ClutterFreak <ClutterFreak@FakeAddress.com> - 2016-06-25 21:58 -0500
          TripolarS from ... wTf are you from, any way noTthaTguY <abu.kuanysh05@gmail.com> - 2016-06-26 16:53 -0700
            Re: TripolarS from ... wTf are you from, any way noTthaTguY <abu.kuanysh05@gmail.com> - 2016-06-26 21:10 -0700
        Re: Where did the 3 geometric dimensions come from? jimp@specsol.spam.sux.com - 2016-06-26 02:04 +0000
          Re: Where did the 3 geometric dimensions come from? ClutterFreak <ClutterFreak@FakeAddress.com> - 2016-06-25 22:28 -0500
            Re: Where did the 3 geometric dimensions come from? jimp@specsol.spam.sux.com - 2016-06-26 04:49 +0000
              Re: Where did the 3 geometric dimensions come from? ClutterFreak <ClutterFreak@FakeAddress.com> - 2016-06-26 11:23 -0500
                Re: Where did the 3 geometric dimensions come from? jimp@specsol.spam.sux.com - 2016-06-26 17:33 +0000
                Re: Where did the 3 geometric dimensions come from? ClutterFreak <ClutterFreak@FakeAddress.com> - 2016-06-26 13:13 -0500

csiph-web