• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Anduino vs Thonny IDE performance times

Q&A Forum › Anduino vs Thonny IDE performance times
0 Vote Up Vote Down
Joe Margevicius asked 4 years ago

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

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
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.
Regards,
Sara
 

0 Vote Up Vote Down
Steve Mercer answered 4 years ago

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.

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

That’s right, Steve.
Thanks for your answer.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.