🟠RapidCode API Comparison
Comparison of 2 APIs and their 2 variations: for windows and for real-time
🔹 Overview
The document compares the following four variations:
API | Variation | Description |
---|---|---|
RapidCode |
| RapidCode for Windows |
RapidCode |
| RapidCode for INtime RTOS |
RapidSequencer |
| RapidSequencer for Windows |
RapidSequencer |
| RapidCode for INtime RTOS |
Note: In this document, if we call out RapidSequencer, assume it applies to both variations.
🔹 Performance
Bytecode is generally slower than native code. This applies to RapidSequencer as well.
Synchronization
On an RTOS, the code synchronization mechanisms that allow for deterministic code execution also slow down the execution of code. That is to say that real-time code is slower than but more deterministic than non-real-time code and that RapidCodeRT and RapidSequencerRT are no different.
Computation Speed
In the order of decreasing speed/processing throughput:
RapidCode (for Windows)
RapidCodeRT
RapidSequencerWin
RapidSequencerRT
Determinism
In order of decreasing determinism:
RapidCodeRT
RapidSequencerRT
RapidCode (for Windows)
RapidSequencerWin
Note: RapidSequencer is single-threaded, and execution processes one statement per task per cycle. This means that if you wait for an event to happen or for some time to elapse, the runtime will wait for that condition to be met, finish executing other tasks, which could take time, then execute the waiting task.
🔹 Ease of use
IDE/Development
Variation | Requirement(s) |
---|---|
| - Requires using Visual Studio (or an IDE of choice) and correctly configuring headers and runtime libraries. |
| - Requires the same as |
| - Programmable using the IDE provided by the RapidSetup tool. |
| - Programmable using the IDE provided by the RapidSetup tool. - Requires further network configuration for the INtime node. |
Development Complexity
In order of increasing complexity (easier to harder):
RapidSequencer
RapidSequencerRT
RapidCode (for Windows)
RapidCodeRT
🔹 Requirements
Variation | Requirement(s) |
---|---|
| - Windows 10 - MSVC 2015/2017/2019/2022 runtime - INtime Runtime (6.4 or newer) |
| - Same as - Additional INtime node (requires multi-node runtime) - INtime SDK (6.4 or newer) |
| - Same as |
| - Same as |
Last updated