Messages in this thread | | | From | (Zygo Blaxell) | Subject | Re: Q: void* vs. unsigned long | Date | 17 Feb 1999 01:18:18 -0500 |
| |
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/
| |