----boundary-LibPST-iamunique-329396786_-_-
Content-type: text/plain
This discussion seems to have gone off the rails.
The issue with respect to the implementation of procedure variables in a
version of Component Pascal designed to produce code which will run on
the Java Virtual Machine is not whether procedure variables are a 'good
or bad thing', but whether or not it is *feasible* to implement them on
a *platform* that does not support them.
For a detailed discussion of the problems involved see:
"Implementing Languages Other than Java on the Java Virtual Machine" by
K John Gough and Diane Corney:
www.citi.qut.edu.au/research/plas/projects/cp_files/lotj.ps
The issues related to procedure variables are discussed in Section 1.2
"Languages other than Java", and Section 2.5 Procedure Variables -
"Perhaps the most difficult aspect of the whole project turned out to be
the implementation of procedure variables".
I suspect that the warning in the language report about the possible
reduction of support for procedure variables in future versions of
Component Pascal was in anticipation of these sorts of problems.
If you want to write code that will run on as many platforms as possible
(some of which may not even have been imagined yet), with a minimum of
porting problems, then you heed warnings such as these. If you are only
interested in maintaining the status quo then you can safely ignore
them.
Chris Burrows
CFB Software
http://www.cfbsoftware.com
> -----Original Message-----
> From: Hof, Philipp [mailto:p.hof{([at]})nowhere.xy
> Sent: Friday, 19 November 2004 7:21 AM
> To: 'blackbox{([at]})nowhere.xy> Subject: RE: Porting to Java using Garden Point Compiler -
> Procedure types
>
>
> Isn't Component Pascal a hybrid language? So, if someone
> doesn't want to use O-O programming styles at all what would
> be the alternative? If interfaces (abstract classes) as used
> in Java (event model) are so beneficial why did Microsoft
> introduce delegates in C#, J# and J++?
>
> If interested read 1.5 in this article:
> http://msdn.microsoft.com/vjsharp/productinfo/visualj/visualj6
/technical/art
icles/general/delegates/
Cheers,
Philipp
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-329396786_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFRoaXMgZGlzY3Vzc2lvbiBzZWVtcyB0byBoYXZl
IGdvbmUgb2ZmIHRoZSByYWlscy4gXHBhcg0KXHBhcg0KVGhlIGlzc3VlIHdpdGggcmVzcGVjdCB0
byB0aGUgaW1wbGVtZW50YXRpb24gb2YgcHJvY2VkdXJlIHZhcmlhYmxlcyBpbiBhXHBhcg0KdmVy
c2lvbiBvZiBDb21wb25lbnQgUGFzY2FsIGRlc2lnbmVkIHRvIHByb2R1Y2UgY29kZSB3aGljaCB3
aWxsIHJ1biBvblxwYXINCnRoZSBKYXZhIFZpcnR1YWwgTWFjaGluZSBpcyBub3Qgd2hldGhlciBw
cm9jZWR1cmUgdmFyaWFibGVzIGFyZSBhICdnb29kXHBhcg0Kb3IgYmFkIHRoaW5nJywgYnV0IHdo
ZXRoZXIgb3Igbm90IGl0IGlzICpmZWFzaWJsZSogdG8gaW1wbGVtZW50IHRoZW0gb25ccGFyDQph
ICpwbGF0Zm9ybSogdGhhdCBkb2VzIG5vdCBzdXBwb3J0IHRoZW0uXHBhcg0KXHBhcg0KRm9yI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