Live data from Hacker News

Viewing profile — dirbaio

dirbaio

HN member
Joined
Fri, Mar 06, 2015, 10:17 PM UTC
HN karma
18
Public activity
5 items

About dirbaio

No profile information was provided.

Recent public activity

  1. comment
    Comment #46556048

    (Embassy dev here) You can get preemptive scheduling of async tasks with InterruptExecutor. You create one executor for each priority level, then spawn the tasks in the right one. …

  2. comment
    Comment #36797610

    Async Rust does definitely work for non-toy use cases. As a data point, we use Embassy for all production firmware at my startup ( https://akiles.app/en ), using async tasks for ev…

  3. comment
    Comment #36797536

    Rust async is a bit different than in other languages. It's more like sugar over state machines instead of sugar over callbacks. This is what makes it work nicely on embedded. The …

  4. comment
    Comment #36797520

    You can use futures combinators like `join`, `select`, `with_timeout` with async Rust. (crates like `embassy-futures` or `futures` have implementations of these). They work nicely …

  5. comment
    Comment #36797500

    > It appears unsuitable for use with DMA, which I use for all runtime IO The `embedded-hal-async` traits can be implemented with DMA, the Embassy HALs do so. This is a problem with…