Live data from Hacker News

Viewing profile — jamesmunns

jamesmunns

HN member
Joined
Mon, Sep 26, 2016, 5:29 PM UTC
HN karma
1,186
Public activity
173 items

About jamesmunns

james@onevariable.com

Recent public activity

  1. comment
    Comment #48679447

    My materials probably took 4-6 hours to write the first draft (I did most of it over two evenings, maybe one more just skimming the questions to figure out what things to talk abou…

  2. comment
    Comment #48572314

    There's no single "embassy" crate, but all the components (HALs, executor, usb, net, etc.) are all on crates io and have been for a long time.

  3. comment
    Comment #48397139

    It's worth noting that the support for ESP32 in Rust is official [0], and there are multiple full time engineers at Espressif working on developing and maintaining it. [0]: https:/…

  4. comment
    Comment #47637412

    It's really not so different! In embassy, DMA transfers and interrupts become things that you can .await on, the process is basically: * The software starts a transaction, or trigg…

  5. comment
    Comment #46721638

    Speaking as someone familiar with C and Rust (not so much Go!), although there's a parallel here to Rust's Traits, this actually is much closer to dyn Trait in Rust, which uses vta…

  6. comment
    Comment #46552970

    As others have mentioned, ~all of the embassy HALs support nearly 1:1 parity of blocking interfaces for drivers next to the async ones. You really can avoid async entirely while st…

  7. story
  8. comment
    Comment #45360359

    If you haven't seen it, Mara Bos' "Rust Atomics and Locks"[0] is an excellent book on this topic, even if you aren't particularly interested in Rust. [0]: https://marabos.nl/atomic…

  9. comment
    Comment #44786761

    In safety industries, particularly aviation, "alarm fatigue" is a really big deal. You recognize that pilots have limited situational bandwidth, and you REALLY don't want to be bug…

  10. comment
    Comment #44541763

    Nordic's nRF family is the major other vendor I've seen doing this, almost all peripheral can be on any pin. It's definitely a big help for designing boards.

  11. comment
    Comment #44441389

    SEEKING WORK | Remote | Rust and Embedded Systems Location: Berlin, DE Remote: Yes Willing to relocate: No Technologies and tools: Rust, Embedded Systems (Cortex-M, RISC-V), Deskto…

  12. comment
    Comment #44266806

    Kobzol is an absolutely wonderful person to work with. I also work in the Rust project, and any time I've interacted with him, he's been great.

  13. comment
    Comment #44168963

    You definitely can, I designed a 206x85cm standing banner for my last trade show as one of the first "production" things I built in Typst: https://typst.app/project/r1YNDcKpoF1sVXH…

  14. comment
    Comment #43716202

    Thank you for sharing, I'd never seen this before. It's an incredibly good read (and relevant for me) so far.

  15. comment
    Comment #42862936

    Thanks for Sublime Text! It's been my daily driver for over 15 years :). 10 of those developing Rust, and making heavy use of the Rust Analyzer/LSP plugin infra. I also want to tha…

  16. story
  17. comment
    Comment #42628240

    For 3, if you haven't seen snapshot tests, like those using the insta crate, it makes it very easy to detect when values change like this in tests/ci.

  18. comment
    Comment #42005515

    This is entirely incorrect, Ferrocene manages a specification of a subset of the language here: https://public-docs.ferrocene.dev/main/specification/index.h... , including things l…

  19. comment
    Comment #41954236

    I bridged my bluesky account, if you're on mastodon and want to talk to me here, you're welcome to. Not sure if you need to opt-in on the mastodon side to be bridged to bluesky. @j…

  20. comment
    Comment #41775824

    You don't generally need to license Arm chips unless you are designing your own chips for sale, like STM32 or Raspberry Pi do. This is something very few companies do, relative to …

  21. comment
    Comment #41550453

    In general in Rust, lifetimes enforce that references to a thing do not outlive the thing itself. Even in unsafe code, it is possible to tie the lifetime of the allocations to the …

  22. comment
    Comment #41541412

    Tock-OS, Oxid-OS (the safety version of Tock-OS, like freertos/safertos), and Hubris (from Oxide Computers) are the main three RTOSs, Embassy and RTIC are common frameworks (but no…

  23. comment
    Comment #41540773

    Phil's writing on OS development is always a wonderful read.

  24. story
  25. comment
    Comment #41131300

    Additionally, recursion and function pointers (including dynamic dispatch) are the other two "normal" language features that can defeat static stack analysis. There are techniques …