|
|
|
|
|
by bayindirh
480 days ago
|
|
I don't think changing to Rust code completely is something attainable. I guess some older or more closer to the metal parts will stay in C, but parts seeing more traffic and evolution will be more rusty after some time, and both will have its uses and have their islands inside the codebase. gccrs will allow the whole thing to be built with GCC toolchain in a single swoop. If banks are still using COBOL and FORTRAN here and there, this will be the most probable possibility in my eyes. |
|
I suppose the biggest reason is that C programmers are more likely than not trained to kinda know what the assembly will look like in many cases, or have a very good idea of how an optimizer compiler will optimize things.
This reminds me I need to do some non-trivial embedded project with Rust to see how it behaves in that regard. I'm not sure if the abstraction gets in the way.