lkml.org 
[lkml]   [1999]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Q: void* vs. unsigned long
Date
In article <Pine.LNX.4.10.9902152322310.20795-100000@waste.org>,
Oliver Xymoron <oxymoron@waste.org> wrote:
>And I'd bet a quarter that sizeof(void *)
>will not be 16 on a 128-bit machine (when we finally see one).

Why waste 64 bits of valuable type information in every pointer?
We could have a pointer type consisting of 64 bits pointing to the data
and 64 bits pointing to its vtbl and RTTI data. Implementing multiple
inheritance in C++ would be a snap. Heck, it'd be possible to do MI
in _C_. You'd never port anything native to that architecture to another
architecture though...

--
Zygo Blaxell, Linux Engineer, Corel Corporation, zygob@corel.ca (work),
zblaxell@furryterror.org (play). It's my opinion, I tell you! Mine! All MINE!
Size of 'diff -Nurw [...] winehq corel' as of Tue Feb 16 23:14:00 EST 1999
Lines/files: In 277 / 3, Out 20653 / 255, Both 20923 / 256

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:1.118 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site