|
Re: BFB algorithms in Java/C++ [message #1760191 is a reply to message #1760146] |
Mon, 24 April 2017 12:58 |
|
Currently ST and Any Text is provided, so your Installation is correct. Please consider that FORTE (4diac runtime environment) does not support Java since it is written in C++. This means 4diac currently only provides C++ Export. Therefor Any Text should be C++, until you write your own exporter or want to use your BFB within FBDK. Please also consider that this C++ is FORTE specific, e.g. variables are used like function calls VAR1 should be VAR1().
Using C++ makes your BFB tool dependent. We recommend to write ST.
[Updated on: Mon, 24 April 2017 13:02] Report message to a moderator
|
|
|
|
Re: BFB algorithms in Java/C++ [message #1760280 is a reply to message #1760268] |
Tue, 25 April 2017 13:30 |
|
I would say yes this is the quickest way to write algorithms in c++. However please note that then the algorithms are not part of your fbt file. So maybe you would like to copy them back afterwards so that you have single source of truth.
Fruthermore I would like to emphasize Monika's comment regarding ST algorithms. On the long run considering the handling and portabilty of your FBs algorithms in ST will be the better option. Especially when considering the upcoming dynamic deployment feature where you don't need to compile your FORTE everytime you change an FB but just press download. This will only work for ST algorithms.
|
|
|
|
Re: BFB algorithms in Java/C++ [message #1760409 is a reply to message #1760312] |
Wed, 26 April 2017 19:00 |
|
Ah for SIFBs you need to stick to C++. There is currently no way around it. But maybe you want to consider our communication framework (an overview you can find in the FORTE development documentation section), where you don't write new FBs but communciation layers to be used by PUBLISH, SUBSCRIBE, CLIENT, and SERVER.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03793 seconds