No, it really isn't. It's 2024, people who should know better should stop saying this.
No, it really isn't. It's 2024, people who should know better should stop saying this.
Wanting to wait until 1.0 to get started is a respectable choice. I prefer to get a head start, compile against master every few weeks, and change what needs changing.
* In other words, I think it's trying to do way too much and would have benefitted from aggressive scope reduction years ago.
Zig has near-seamless C interop and the Zig compiler is also C cross-compiler:
https://zig.news/kristoff/cross-compile-a-c-c-project-with-z...
https://techcommunity.microsoft.com/blog/surfaceitpro/open-s... / https://github.com/microsoft/windows-drivers-rs
Usually there are some options. Rust is supported (to a degree) on both Linux and Windows. Both macOS and Windows support C++, which if used correctly is at least safer than C.
I've ported and used Nim in a couple of RTOS'es and it's pretty straightforward. Of course there wouldn't be official support or anything, but it wouldn't be too hard. Mapping pointers to Nims RC refs would be a bit tricky, but doable.