Re: amd 64
Kostanbaev Sergey -> debian-russian@lists.debian.org @ Wed, 08 Jun 2005 13:25:45 +0400:
>>>32 бита: short 2, long 4, int 4
>>>и совершенно непонятно с какого хрена:
>>>64 бита: short 2, long 8, int 4???? тем более, что всегда указатель это
>>>int.
>>>
>>>Может у меня устаревшая информация о языке?
>>>
>>>
>>
>>Устаревшая. Размер указателя - sizeof(size_t).
>>
>>
KS> Вообще-то размер указателя всегда был sizeof(void*)
Это то, что он _есть_. А sizeof(size_t) - это то, чему он должен быть
равен.
--
Artem Chuprina
RFC2822: <ran{}ran.pp.ru> Jabber: ran@jabber.ran.pp.ru
If it's there and you can see it---it's real
If it's not there and you can see it---it's virtual
If it's there and you can't see it---it's transparent
If it's not there and you can't see it---you erased it!
IBM poster explaining virtual memory, circa 1978
Reply to:
- Follow-Ups:
- Re: amd 64
- From: Dmitry Mityugov <dmitry.mityugov@gmail.com>
- References:
- amd 64
- From: Sergio <sergio@tinuviel.ru>
- Re: amd 64
- From: Petrov Dmithriy <eldhenn@neplati.ru>
- Re: amd 64
- From: Sergio <sergio@tinuviel.ru>
- Re: amd 64
- From: Olleg Samoylov <olleg@mipt.ru>
- Re[2]: amd 64
- From: Dmitry Sokolov <info@sokolov.org.ru>
- Re: amd 64
- From: Kostanbaev Sergey <sergforce@mail.ru>