Replies: 3 comments 2 replies
-
Build system integrationCorrosion makes "integrating Rust into an existing CMake project" easy. How should it be integrated (FetchContent vs. submodule vs. copy)? Are there better alternatives? |
Beta Was this translation helpful? Give feedback.
-
Async in OpenBSW and how Rust could hook into itMy understanding of Async in OpenBSWOpenBSW is built on top of FreeRTOS. This enables the concurrent execution of multiple execution streams called tasks. Tasks can be assigned different priority levels so that more important work will be executed first (preemption). You could say there is an event loop for each task. How Rust could fit into the pictureWrapping Rust into RunnablesIt would be easily possible to wrap regular Rust functions in Runnables and then schedule them like any other Runnable with OpenBSW Async. But doing so does come with some drawbacks. How about async RustRust has async built into the language. And it's even possible to use it on microcontrollers (for example with embassy). Potential Path forwardTo test how well async Rust would fit into Async OpenBSW it should be possible to run an of the shelf executor (e.g. Embassy's raw Executor) inside an Async Runnable. |
Beta Was this translation helpful? Give feedback.
-
Roadmap of integrationThe proof of concept implementation (see here) will be refined and broken up into following PRs:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Adding some sort of rust support to openbsw was always a goal.
I want this to be a discussion about how to achieve it and what
rust supportis actually supposed to mean.All ideas are welcome
Beta Was this translation helpful? Give feedback.
All reactions