Saturday, June 8, 2024

033 DON'T LET MICROPYTHON'S GARBAGE COLLECTOR RUIN YOUR PROGRAM

Like most high-level languages, there needs to be a feature to clean up the mess programmers leave.  In low level languages the program is required to clear up unused variables, pointers etc.  Micropython's device to automatically do this is called the Garbage Collector.  It works great, BUT, it takes time to execute and it can cause intermittent pauses in your program.  In this video, we cover this problem in detail with a very real and practical problem and solution.

Cheers!
Chris



No comments:

Post a Comment

045 Scheduler Side Trip Plan (Robot Driving Instructions)

This video details the robot driving instruction creation and coding.  The robot needs to travel from place to place which is a lot more cha...