Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!ub!oswego!news From: dl@g.g.oswego.edu (Doug Lea) Newsgroups: comp.std.c++ Subject: Re: Randomly ordered fields !?!? (Was: "packed" objects) Message-ID: Date: 25 Aug 90 16:40:50 GMT References: <56638@microsoft.UUCP> <1229@lupine.NCD.COM> <56744@microsoft.UUCP> <1313@lupine.NCD.COM> Sender: news@oswego.Oswego.EDU (Network News) Reply-To: dl@g.oswego.edu Organization: SUNY Oswego Lines: 12 In-reply-to: rfg@NCD.COM's message of 24 Aug 90 06:10:47 GMT Perhaps among the best arguments for allowing compilers to at least sometimes reorder fields is to simply make conceivable someday the use of C++ adaptations of the clever MI layout algorithms described in Pugh & Weddell's SIGPLAN '90 conference paper. For what it's worth, I think that the suggestion that compilers obey programmer field ordering only inside `extern "C"' sounds fine. -- Doug Lea, Computer Science Dept., SUNY Oswego, Oswego, NY, 13126 (315)341-2688 email: dl@g.oswego.edu or dl@cat.syr.edu UUCP :...cornell!devvax!oswego!dl or ...rutgers!sunybcs!oswego!dl