Re: OON: Comparison between Fortran & C++

From: Jacek Generowicz (jmg@ecs.soton.ac.uk)
Date: Thu Mar 23 2000 - 14:24:19 EST


> Why does C++ use this aliasing?

Because it admits pointers. As soon as you have done that, you cannot
guarantee that any given chunk of data isn't being referred to by some
pointer or other, which has the potential to mess with those data.

> What is hard about removing it?

If you remove pointers from C, it would no longer be C (it would be much
like FORTRAN with different syntax) and fans of the language might
object . . .

Jacek

--------------------- Object Oriented Numerics List --------------------------
* To subscribe/unsubscribe: use the handy web form at
http://oonumerics.org/oon/
* If this doesn't work, please send a note to owner-oon-list@oonumerics.org



This archive was generated by hypermail 2b29 : Wed Feb 20 2002 - 03:20:10 EST