Comments for One Fact https://onefact.net The Experts in xtUML Wed, 16 Dec 2020 16:10:28 +0000 hourly 1 Comment on Returning Strings in C by cortlandstarrett https://onefact.net/returning-strings-c/#comment-3 Tue, 26 Jul 2016 14:27:51 +0000 http://onefact-migrate.zipfish-sites.io/?p=186#comment-3 In reply to JamesB007.

This is a frequent question and a fair one to ask. There are several answers.

1) C is not model aware. Action language (OAL) “understands” association, state machine, event, etc.
2) Action language is at a higher level of abstraction. It is more productive to write action language; each line of action language represents 5-7 lines of C (on average).
3) C is platform dependent; action language is platform independent. Action language does not govern choices of data storage, OS, threading, etc. C requires that these lower level target decisions are made at the same time as the application is being encoded.
4) C is not interpretively executable; action language is. This allows executing (testing) models much earlier. Partial models can be executed, and compilation is not required.

All this said, it is possible to leave out the action language, generate the structural code and type C code into the action bodies. This is done in some cases. But it is not very fun to write C for all of the actions when OAL generates them easily.

]]>
Comment on Returning Strings in C by JamesB007 https://onefact.net/returning-strings-c/#comment-2 Mon, 25 Jul 2016 20:35:51 +0000 http://onefact-migrate.zipfish-sites.io/?p=186#comment-2 Why can’t xtUML use ‘C’ as its action language and cut out the OAL middleman?

]]>
Comment on Experiment by cortlandstarrett https://onefact.net/experiment/#comment-10 Thu, 15 Oct 2015 12:42:22 +0000 http://onefact-migrate.zipfish-sites.io/?p=493#comment-10 Model is available in source form in a fork of https://github.com/xtuml/models/tree/master/applications/ec

]]>
Comment on football (futbol, soccer) by cortlandstarrett https://onefact.net/football-futbol-soccer/#comment-9 Thu, 17 Sep 2015 13:41:08 +0000 http://onefact-migrate.zipfish-sites.io/?p=431#comment-9 https://github.com/xtuml/models/tree/master/applications/futbol

]]>
Comment on Stevenson Screen (Weather Station) by cortlandstarrett https://onefact.net/stevenson-screen-weather-station/#comment-8 Thu, 03 Sep 2015 18:59:20 +0000 http://onefact-migrate.zipfish-sites.io/?p=414#comment-8 The BridgePoint model can be found in the xtuml/models repository in github.
Here: https://github.com/xtuml/models/tree/master/applications/wx

]]>
Comment on Semantic Steps by Cort https://onefact.net/semantic-steps/#comment-7 Wed, 12 Aug 2015 12:44:11 +0000 http://onefact-migrate.zipfish-sites.io/?p=377#comment-7 I investigated the metamodel snippet from fUML for Parameter. It is pretty similar and elegantly simple. It is a “short distance” to change the xtUML to conform with this pattern.

]]>
Comment on Revision Control by cortlandstarrett https://onefact.net/revision-control/#comment-5 Fri, 15 May 2015 18:29:08 +0000 http://onefact-migrate.zipfish-sites.io/?p=227#comment-5 Thanks go to Lee R.

]]>
Comment on ISO26262Day by Stella https://onefact.net/iso26262day/#comment-4 Thu, 14 May 2015 16:32:11 +0000 http://onefact-migrate.zipfish-sites.io/?p=218#comment-4 I attended the seminar and could say that it was a really interesting and useful event.
Thanks to Fergus Bolger, Robert Seacord and Takao Futagami, I did learn more about the ISO 26262 functional safety standard.

]]>