July 8th, 2024

An introduction to Jorvik, Ada's new tasking profile

AdaCore introduced Jorvik in Ada 2022, a tasking profile enhancing expressive power for real-time and embedded applications. Jorvik relaxes restrictions compared to Ravenscar, allowing more complex Boolean expressions and multiple callers on protected entries. This new profile enables classic protected type idioms and concurrent bounded buffers, complementing Ravenscar's focus on high-integrity systems. Jorvik offers additional flexibility while maintaining compatibility with Ravenscar.

Read original articleLink Icon
An introduction to Jorvik, Ada's new tasking profile

AdaCore introduced a new tasking profile named Jorvik in Ada 2022, building upon the Ravenscar profile with relaxed restrictions. Jorvik aims to enhance expressive power for real-time and embedded applications, complementing Ravenscar's focus on high-integrity and safety-critical systems. The differences between the two profiles lie in removed or replaced restrictions, such as allowing multiple callers on protected entries and more complex Boolean expressions in entry barriers. Jorvik's Pure_Barriers enable greater flexibility in barrier expressions compared to Ravenscar's Simple_Barriers. By relaxing certain restrictions, Jorvik facilitates classic protected type idioms and typical implementations like concurrent bounded buffers. While Ravenscar remains suitable for stringent analyses, Jorvik offers additional expressive power for applications in the real-time and embedded domains. The article delves into specific examples and comparisons between the two profiles, emphasizing how Jorvik's design caters to specific application requirements while maintaining compatibility with Ravenscar where needed.

Link Icon 0 comments