fvncc
Joined 9 years ago
Joined 9 years ago
Switched to https://github.com/kevin-hanselman/dud and I have been happy since ..
https://www.deeplearning.ai/the-batch/japan-ai-data-laws-exp...
But TBH, in a Rust world, it’s worth revisiting the assumptions behind the ROS node architecture, since Rust is so strong at scaling to large monolithic applications (due to the strict hierarchical code patterns it encourages).
A transitional Rust approach, that doesn't try to reimplement everything from scratch, could do something like a strangler pattern: Take each ROS node, run them separately in “jails” with a Rust API around each one, then implement the plumbing/management logic in pure Rust.
In the end, its about expressing a state machine in a more concise implicit way, which is a suitable level of abstraction for most use cases.
In regular threaded programming, cancellation is a bit more painful as you need to have some type of cancellation token used each time the thread waits for something. This a) is more verbose and b) can lead to bugs where you forget to implement the cancellation logic.
https://acoup.blog/2020/03/20/collections-why-dont-we-use-ch...
Sadly, I gather the computational performance Is pretty bad ..
https://docs.rs/itertools/latest/itertools/trait.Itertools.h...