C is fastest

Andrej Marjan amarjan-e+AXbWqSrlAAvxtiuMwx3w at public.gmane.org
Fri Oct 16 00:30:20 UTC 2009


On October 15, 2009 01:35:15 am Yanni Chiu wrote:

> Nobody (that I've heard of) has implemented a system that
> executes/interprets the xUML models directly, except maybe in model
> simulation/debug mode. The technique is to compile the model into a
> target archetype. The archetype may be implemented in C, C++, ADA, etc.
> The archetype can be re-used for any system that is modeled. The model
> elements get transformed, by code generation, into pieces that match up
> with the archetype code. Then the generated code is compiled and linked
> to yield the executable system.

Certainly I agree that nobody executes all of UML -- for one thing it's too 
vast and much of the semantics are underspecified. 

I don't understand what you're saying -- it seems to me that your description 
of UML compilation is generic enough to apply to compilation in general.

> I'm not sure what you wanted to imply by the link - that UML is
> executable? I think the answer currently is: not without code generation
> of a carefully selected subset of UML.
> 

The link was merely (an attempt at) a tongue-in-cheek example of the fact that 
it is possible to generate an executable system directly from UML. A subset of 
UML with its own extended semantics, but UML nonetheless. 

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list