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

Cordless Drill Driver, should this be in every tool kit?

Should you have a cordless drill driver in your tool kit?  Deciding on where to spend your money to build up a useful tool kit is challengin...