Re: Memory

new topic     » goto parent     » topic index » view thread      » older message » newer message

Date sent:              Fri, 8 Jan 1999 16:18:52 -0500
Send reply to:          Euphoria Programming for MS-DOS
From:                   Robert Craig <rds at EMAIL.MSN.COM>
Subject:                Re: Memory
To:                     EUPHORIA at LISTSERV.MUOHIO.EDU

Robert Craig writes:

> The Euphoria programmer can't tell whether an
> atom is stored in one bit, one byte, 4 bytes, a
> double, a 64-bit integer etc.

Perhaps this is a silly question, but I just want to be certain...

Does this mean that if I fill up a sequence with say 1.000 atoms
containing only zeros and ones (each atom holding the value 0 OR
the value 1), then the sequence will take up only about 125 bytes ?
I mean, THAT would be (or perhaps it _IS_) great!

The reason why I ask is that I somehow got the impression that
each atom required a minimum of  4 bytes, which sounds like a
terrible waste...

What's right and what's wrong?

BTW, Has anyone created a neural network in euphoria yet? I'm
attempting to make one myself, but I'm a lousy programmer, I have
no experience with NN, and I'm sort of low on IQ. I still want to try,
however, because I firmly believe that even people with a 2-digit IQ
should be able to work wonders in this programming language...

And while I'm at it, can anyone tell me specifically what the term
'structure' means ? Example; is it related to code or data? Please
convert your answear to my 2-digit IQ format smile

Thanks to all of you for contributing to this nice list.

Tor Bernhard Gausen

new topic     » goto parent     » topic index » view thread      » older message » newer message


Quick Links

User menu

Not signed in.

Misc Menu