News for hackers. Stuff that matters.
Re:Are We Modules Yet? by dlivingston on Wednesday May 01, 2024 @01:40PM (#40226585)
What's stopping Rust from being used in embedded?
Re:Are We Modules Yet? by isopede on Wednesday May 01, 2024 @01:49PM (#40226714)
Among other things, tooling and vendor libraries. Vendor libraries are often composed of thousands upon thousands of lines of auto-generated C headers and written in some bespoke format. Demonstration code and/or sample drivers are almost invariably provided in C. Of course you _can_ rewrite these in Rust, but if you're an engineer trying to get shit working, you'd first basically have to reinvent the whole wheel just to do bringup.

I don't even want to talk about the state of proprietary vendor tooling...

Re:Are We Modules Yet? by j-krieger on Wednesday May 01, 2024 @01:44PM (#40226636)
Documentation is severely lacking and vendor specific libraries and build systems are sometimes interfering with cargo.

There‘s also the problem of rust-analyzer being relatively flaky in general and even more so when being used with environment specific / KConfig / build system feature flags that enable or disable certain library headers.