Re: String?

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

David Cuny wrote:

> By ensuring that pointers fall on four byte boundaries, and dropping the 
> precision of integers, Euphoria frees up a couple bits in the C int datatype, 
> which it uses to flag the type stored inside, which is something like:
> 
>    - positive integer
>    - negative integer
>    - pointer to atom
>    - pointer to sequence
>    - undefined
> 
> Since there's no remaining bits in the int that can be used to flag the 
> datatype, the only other "simple" option would be to add an extra field to 
> the sequence structure.

Thanks, that confirms my suspicion. So I guess we're out of luck with 
regard to strings, structures, or similar things until everyone is 
running 64-bit systems?

Then we'll either get higher precision integers, or 4294967296 new data types!
Perhaps a compromise would be in order.

Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu