From owner-sc22wg5  Thu Jul 26 09:52:59 2001
Received: from nameserv.rl.ac.uk (nameserv.rl.ac.uk [130.246.135.129])
	by dkuug.dk (8.9.2/8.9.2) with ESMTP id JAA16289
	for <SC22WG5@dkuug.dk>; Thu, 26 Jul 2001 09:52:59 +0200 (CEST)
	(envelope-from jkr@jkr.cc.rl.ac.uk)
Received: from jkr.cc.rl.ac.uk (jkr.cc.rl.ac.uk [130.246.8.20])
	by nameserv.rl.ac.uk (8.8.8/8.8.8) with ESMTP id IAA15243
	for <SC22WG5@dkuug.dk>; Thu, 26 Jul 2001 08:52:58 +0100
Received: (from jkr@localhost)
	by jkr.cc.rl.ac.uk (8.8.8+Sun/8.8.8) id IAA18750
	for SC22WG5@dkuug.dk; Thu, 26 Jul 2001 08:55:11 +0100 (BST)
Date: Thu, 26 Jul 2001 08:55:11 +0100 (BST)
From: John Reid <jkr@rl.ac.uk>
Message-Id: <200107260755.IAA18750@jkr.cc.rl.ac.uk>
To: SC22WG5@dkuug.dk
Subject: Re: (SC22WG5.2153) Dynamic arrays and interfacing with C
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"


----- Begin Included Message -----

From Wclodius@aol.com Thu Jul 26 05:57 BST 2001
From: Wclodius@aol.com
Date: Thu, 26 Jul 2001 00:55:02 EDT
Subject: Re: (SC22WG5.2153) Dynamic arrays and interfacing with C
To: jkr@rl.ac.uk, SC22WG5@dkuug.dk
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: AOL 4.0 for Mac - Post-GM sub 146


In a message dated 7/24/01 3:00:40 AM, Richard Maine writes:

>That idea was basically to
>have an intrinsic that generated a Fortran pointer from an address
>and a mold.  See paper J3/00-168.  One could argue spelling trivia,
>but the idea seems pretty simple and workable to me.
>
I am surprised that there were significant objections considering the strong 
semantic and implementation similarities to the RESHAPE intrinsic. About the 
only problems I can see is that the Fortran compiler's memory management 
might have to be more strongly coupled to its associated C compiler, but I am 
not even certain that is required. Would there be any need for a capability 
to explicitly delete the dope vector that is implicitly created by such a 
facility? I am not particularly enthusiastic with the name suggested in 
J3/00-168, and I am not enthusiastic about overloading RESHAPE, as C scalars 
and pointers are described as if they are different types unlike Fortran's 
arrays and scalars. Perhaps MAP_C_POINTER or MOLD_C_POINTER, or MAP_C_MEMORY?


----- End Included Message -----

