Truthfully I think it depends on the application. If you're just writing a plain old CLI application, you should probably just use C++ because of C's lackluster out of the box functionality. In...
Truthfully I think it depends on the application. If you're just writing a plain old CLI application, you should probably just use C++ because of C's lackluster out of the box functionality.
In the case of specific microcontrollers you may need to write a utility library. I wrote some rust code for the GBA and had to do just that (stdlib doesnt work on embedded platforms of course).
In general i think having a single utility library you move from project to project is probably not the way to go, but building one up per-project is totally reasonable. This may involve some copying and pasting :p
Truthfully I think it depends on the application. If you're just writing a plain old CLI application, you should probably just use C++ because of C's lackluster out of the box functionality.
In the case of specific microcontrollers you may need to write a utility library. I wrote some rust code for the GBA and had to do just that (stdlib doesnt work on embedded platforms of course).
In general i think having a single utility library you move from project to project is probably not the way to go, but building one up per-project is totally reasonable. This may involve some copying and pasting :p