C is fastest

Yanni Chiu yanni-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Thu Oct 15 05:35:15 UTC 2009


Andrej Marjan wrote:
> On October 14, 2009 03:39:34 pm Christopher Browne wrote:
> 
>> A fair bit of my "language non-preference" is pretty similar to
>> Lennart's except that I'd swap C++ and Java, and would throw in that
>> UML seems worse to me than either C++ or Java.  (And yes, I know it's
>> not used as an executable language.)
> 
> http://en.wikipedia.org/wiki/Executable_UML

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.

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.

-- 
Yanni
--
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