comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Comparison : Ada and UML (comparison… indeed)
Date: Wed, 10 Nov 2010 21:31:06 +0000
Date: 2010-11-10T21:31:06+00:00	[thread overview]
Message-ID: <m2r5esx3vp.fsf@pushface.org> (raw)
In-Reply-To: 88f637f8-e39d-420f-b4d1-63a3588a8fcc@40g2000vbn.googlegroups.com

Matteo Bordin <matteo.bordin@gmail.com> writes:

> On Nov 9, 9:02 pm, Simon Wright <si...@pushface.org> wrote:
>> Matteo Bordin <matteo.bor...@gmail.com> writes:
>> > a UML class needs to be instantiated to have a run-time executable
>> > semantics
>>
>> I don't understand this?
>
> What I meant to say is that a UML class is not an instance. This was
> related to the discussion about HOOD and the problem of mapping the
> notion of HOOD object to a UML element. Mapping it to a class is
> controversial because the two elements are really different: a UML
> class needs to be instantiated, a HOOD object is already a "runnable"
> element.

So a UML class is something similar to an Ada type, in that you need to
create an object of the type in order for anything to happen. Not sure
that 'instantiate' is the right word for this process, maybe it has this
specific meaning in the UML world?

Would a HOOD model of an aircraft with 4 engines have one HOOD object
for each engine?

>> There has to be some sort of profile (both in allowable UML constructs
>> and what they mean in terms of program execution). "If you model like
>> _this_ and generate code using _our generator_, the result will work
>> like _that_".
>
> Sure, but this way you may risk to model your application based on a
> precise code generation strategy, possibly loosing portability and
> platform-independence of models.

Even a PIM has to have pretty precise semantics. I suppose I should have
said, "If you model like _this_ and generate code using _our
*standard-conformng* generator_, the result will work like _that_".

If that's not so, the platform-independence isn't worth much.



  reply	other threads:[~2010-11-10 21:31 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-31  6:22 Comparison : Ada and UML (comparison… indeed) Yannick Duchêne (Hibou57)
2010-10-31  7:11 ` Simon Wright
2010-10-31  8:01   ` Yannick Duchêne (Hibou57)
2010-10-31  8:33     ` Vinzent Hoefler
2010-10-31 10:18       ` Yannick Duchêne (Hibou57)
2010-10-31 10:45         ` Vinzent Hoefler
2010-10-31 10:53         ` Yannick Duchêne (Hibou57)
2010-10-31 10:32       ` Yannick Duchêne (Hibou57)
2010-10-31 10:47       ` J-P. Rosen
2010-10-31 11:00         ` Yannick Duchêne (Hibou57)
2010-11-09 11:04           ` Matteo Bordin
2010-11-09 14:27             ` J-P. Rosen
2010-11-09 17:44               ` Matteo Bordin
2010-11-09 21:17                 ` J-P. Rosen
2010-11-10  9:23                   ` Matteo Bordin
2010-11-10 15:32                     ` J-P. Rosen
2010-11-09 20:02             ` Simon Wright
2010-11-10  9:34               ` Matteo Bordin
2010-11-10 21:31                 ` Simon Wright [this message]
2010-11-10 21:43                   ` Vinzent Hoefler
2010-11-11  7:40                     ` J-P. Rosen
2010-11-12 16:36                       ` Matteo Bordin
2010-11-12 16:37                       ` Matteo Bordin
2010-11-12 18:24                         ` J-P. Rosen
2010-11-12 16:27                   ` Matteo Bordin
2010-10-31 10:43     ` J-P. Rosen
2010-10-31 10:40 ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox