Why does it take so long to compile and so long to write to an ESP32 using the Arduino IDE and C-code, whereas with Thonny and micropython, it’s so much quicker by a factor of 10! – I realize there is no compilation with python, but writing to flash? … why so short for Thonny IDE yet very long for Arduino IDO ? … (I’m trying to figure out where to put my coding learning/focus for IoT work).
That’s because Python is a scripting language and C is a compiled language.
See this to learn the differences:https://www.tutorialspoint.com/is-python-a-scripting-language
How long does it take to upload using Arduino IDE? It will depend on the code, libraries used, etc.
You can also set a higher baud rate to write to your ESP32. Even though it’s basically using USB to serial converter you can get very high connection speeds.
With compilation it takes longer to compile all of the libraries that you use in a project. The good thing is that once you’ve compiled a library once it is cached for the next upload so should be much faster.