Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

I did a quick test to see how much Arduino code is limiting the speed of 3D printing electronics. Would love to get your opinion. Let me know your thoughts.

Files

Previews only

8-bit Arduino Mega Speed Test vs Great Cow BASIC compiler

Chuck tests how much the Arduino code is limiting the speed of 3D printers and other products that may need more speed to do math calculations or fast processing. He compares the Arduino code to an open source compile called Great Cow BASIC to see if it offers any improvement at all.

Comments

Anonymous

It would be interesting to compare these with (hand coded) assembly language.

elproducts

Essentially Great Cow Basic is hand coded assembly. There is some redundancy because of the commands but I find it very efficient. It produces an assembly file that can be directly opened in MPLAB X and debugged/assembled without modification. Many C compilers don't produce such pure assembly code.

Bart van der Ouderaa

How much does the cow compiler optimize the code? Adding those numbers to a variable that isn't used is something that in a modern compiler is a candidate for removal. I've seen statements disappear for less.