Once everything works, you can rewrite in C for performance.
@werdahias
Assuming performance is even an issue.
- replies
- 0
- announces
- 0
- likes
- 0
@werdahias We talked about this exact topic just now at my uni in the context of mechatronics students. The simple reason: they need to be able to do this in C/C++ because they need to be able to understand the hardware. If you just teach them Python, why would they ever need to understand how memory works?
This topic probably will get re-evaluated once microcontrollers become even more powerful than they already are.
Yes, I program my RP2040 in micropython because performance is not an issue.
@werdahias And I have students who argue: why even learn Python if all I need to know is how to write a good prompt? Sigh...
So no, they get to learn C/C++ so that they *have to learn*. That's why the don't get to take the easy way out. If they can do C/C++ then picking up Python will be easy for them.