[sdiy] Programming Language Recommendation
Brian Willoughby
brianw at audiobanshee.com
Sat Dec 5 22:25:26 CET 2020
I agree with all of what Jay is saying. 100%
Brian
On Dec 3, 2020, at 12:09, Jay Schwichtenberg <jschwich53 at comcast.net> wrote:
> I was an embedded/bare metal HW/SW engineer and will say working with embedded ARM uCs C.
>
> C++ usually complicates things and is overkill for run of the mill embedded stuff. Don't know if it is still true but at one time the C++ libraries had a lot of bloat and took up a lot of storage. I've also found C++ harder to debug when people start overloading and abstracting things.
>
> If you do need to run object based code you can in C. Take all the data for an object and put it into a structure and then pass a pointer to the structure around through the code. This is more or less the equivalent of a 'this structure' that objects have in C++. The data is isolated to a single object and just use a new structure with different data for another object. Also follow C++ and make you own constructors and destructors to setup and shutdown things.
>
> Jay S.
>
More information about the Synth-diy
mailing list