pleroma.debian.social

pleroma.debian.social

huh, why is micropython not taught in unis? Dead easy to get the program structured as you need it, to run etc.
Once everything works, you can rewrite in C for performance.
replies
2
announces
0
likes
0

@werdahias
Assuming performance is even an issue.

@cccpresser yeah, true. Though in this case it'll need to be in C. Still, it's so much faster to prototype in python

@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.