[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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: