Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!decwrl!fernwood!dumbcat!marc From: marc@dumbcat.sf.ca.us (Marco S Hyman) Newsgroups: comp.std.c++ Subject: Re: Randomly ordered fields !?!? (Was: "packed" objects) Message-ID: <195@dumbcat.sf.ca.us> Date: 18 Aug 90 19:35:55 GMT References: <56268@microsoft.UUCP> <1070@lupine.NCD.COM> <56638@microsoft.UUCP> Organization: MH Software, Hayward, Ca. Lines: 23 jimad> = jimad@microsoft.UUCP (Jim ADCOCK) article <56638@microsoft.UUCP> jimad> If you want to use C++ to play with machine registers, then jimad> portability is not an issue to you anyway. -- Or alternatively, jimad> probably just about any vendors compiler with all optimizations jimad> turned off will fullfill your requirements. Let's make a distinction between code that is portable to different machines and code that is portable between different compilers on the same machine. Needing to play with machine registers will certainly limit machine portability. But I certainly want to compile my machine dependent code with *any* C++ compiler and have the code work. This means that any special optimizations to make the code faster or tighter must not be the compiler's default. Once I've got things working then I'll profile the code, check out better algorithms, and look at the optimizations available with the compiler. // marc -- // marc@dumbcat.sf.ca.us // {ames,decwrl,sun}!pacbell!dumbcat!marc