extreme mem usage under amd64 arch ?

Astrodog astrodog at gmail.com
Fri Apr 7 14:40:33 UTC 2006


On 4/7/06, Oliver Fromme <olli at lurza.secnetix.de> wrote:
> Astrodog <astrodog at gmail.com> wrote:
>  > Please consider what AMD64 is, exactly, and what it means for
>  > something to be 64-bit, as opposed to 32-bit. On a 32 bit processor,
>  > all ints, and pointers take up 32 bits of memory. So, for every int,
>  > and pointer, you use 4 Bytes. On a 64-bit processor, all ints, and
>  > pointers take up 64-bits of memory.
>
> No.  You're right with the pointers, but ints are always
> 4 bytes on both i386 and amd64.
>

D'oh. Stupid i386, getting me used to sizeof(int) == sizeof(*).

I blame Intel.

Projection is a wonderful thing,

--- Harrison Grundy


> Best regards
>    Oliver
>
> --
> Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
> Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
> Any opinions expressed in this message may be personal to the author
> and may not necessarily reflect the opinions of secnetix in any way.
>
> "A language that doesn't have everything is actually easier
> to program in than some that do."
>         -- Dennis M. Ritchie
> _______________________________________________
> freebsd-amd64 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
> To unsubscribe, send any mail to "freebsd-amd64-unsubscribe at freebsd.org"
>


More information about the freebsd-amd64 mailing list