Article View: comp.std.c++
Article #243Re: aliases, ptr coercions, and optimizations
From: Jonathan Shapiro
Date: Thu, 02 Aug 1990 18:15
Date: Thu, 02 Aug 1990 18:15
13 lines
1035 bytes
1035 bytes
In article <56170@microsoft.UUCP>, jimad@microsoft.UUCP (Jim ADCOCK) writes: > My general proposal is that C++ be very restrictive in terms of what pointer > casts are "guaranteed" to work, allowing for maximum compiler optimizations, > while minimizing the pointer hacks that are "guaranteed" to work. IE, > good C++ citizens should get well optimized code, but C++ hacker code may > not work at all. This is not in the spirit of the language at all. There is nothing to prevent the optimizer from recognizing the non-optimizable cases and simply not optimizing them. Jon
Technical Details
Message-ID:
<11295@odin.corp.sgi.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!sgi!shinobu!odin!thebeach.wpd.sgi.com!shapReferences:
<56170@microsoft.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!sgi!shinobu!odin!thebeach.wpd.sgi.com!shap From: shap@thebeach.wpd.sgi.com (Jonathan Shapiro) Newsgroups: comp.std.c++ Subject: Re: aliases, ptr coercions, and optimizations Message-ID: <11295@odin.corp.sgi.com> Date: 2 Aug 90 18:15:35 GMT References: <56170@microsoft.UUCP> Sender: news@odin.corp.sgi.com Reply-To: shap@sgi.com Organization: Silicon Graphics, WorkGroup Products Division Lines: 13