TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using the Rust standard library with the NuttX RTOS

62 pointsby fork-bomber4 months ago

5 comments

cantrelate3 months ago
As a side note, Zephyr RTOS (hosted at the Linux Foundation) already supports writing applications in Rust <a href="https:&#x2F;&#x2F;github.com&#x2F;zephyrproject-rtos&#x2F;zephyr-lang-rust">https:&#x2F;&#x2F;github.com&#x2F;zephyrproject-rtos&#x2F;zephyr-lang-rust</a>
the__alchemist4 months ago
Interesting. RTOS is a major embedded ecosystem component that rust currently lacks.<p>For anyone not familiar: NuttX is notable as the RTOS used on the open-source PX4 flight controller firmware, which is ubiquitous in commercial UASs.
评论 #42844556 未加载
评论 #42844808 未加载
评论 #42844829 未加载
评论 #42844852 未加载
评论 #42844870 未加载
评论 #42844700 未加载
loeg4 months ago
So like, taking a step back, is NuttX POSIX or POSIX-like (if there&#x27;s a file namespace with &#x2F;dev in it &#x2F; you can use the Nix package)?<p>And... does it have a global memory allocator (using stdlib packages that use alloc)? I can&#x27;t really tell if this is an RTOS for microcontrollers or like, 32-bit ARM and don&#x27;t have any background on it. And how does that interact with RTOS guarantees?
评论 #42845083 未加载
sshine4 months ago
Some years into Rust firmware with no classic RTOS experience: I get the feeling that embedded async Rust is a little like an RTOS library toolkit. Why do you need an OS abstraction when you can handcraft an embedded async runtime? Component reuse?
评论 #42847642 未加载
评论 #42856667 未加载
junon4 months ago
Not sure if the author is the one who added support but it&#x27;d be great to get a somewhat in depth explanation as to how a target was added to Rust! The docs surrounding this kind of... leave a lot to the imagination.