- Problem with pointer semantics
----boundary-LibPST-iamunique-1148026995_-_-
Content-type: text/plain
In this discussion we have not mentioned that OMS have put some thought
into the issue by implementing CopyOf, CopyFrom, and handling alias
pointers. All this was done within the implementation of Stores,
and thus it may not seem as general as the problems you are posing.
But it is worth mentioning that they did address the issue and they
provided a working solution.
Ironically, when we discussed it a while ago, both the problem and the
solution were considered too abstract by a certain mathematician whose
name starts with "R". I value his opinions. It tells me that maybe we do
not have to worry?
W.
On Tue, 20 Jun 2006, Rex Couture wrote:
> Wojtek brought up the problem of dynamic variables withing records. It
> doesn't matter whether the records themselves are arrays. Assignment
> still mangles the contents by aliasing and destroying pointers. If I'm
> not mistaken, this is a problem.
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-1148026995_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEluIHRoaXMgZGlzY3Vzc2lvbiB3ZSBoYXZlIG5v
dCBtZW50aW9uZWQgdGhhdCBPTVMgaGF2ZSBwdXQgc29tZSB0aG91Z2h0XHBhcg0KaW50byB0aGUg
aXNzdWUgYnkgaW1wbGVtZW50aW5nIENvcHlPZiwgQ29weUZyb20sIGFuZCBoYW5kbGluZyBhbGlh
c1xwYXINCnBvaW50ZXJzLiB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b2ludGVycy4gIElmIEknbVxwYXINCj4gbm90IG1pc3Rha2VuLCB0aGlzIGlzIGEgcHJvYmxl
bS5ccGFyDQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAgb3Ig
VU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNoXHBhcg0KXHBhcg0KfQ==
----boundary-LibPST-iamunique-1148026995_-_---
Received on Wed Jun 21 2006 - 05:52:48 UTC
This archive was generated by hypermail 2.3.0
: Thu Sep 26 2013 - 06:27:50 UTC