[sdiy] Programming Language Recommendation
Jay Schwichtenberg
jschwich53 at comcast.net
Thu Dec 3 21:09:34 CET 2020
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.
On 12/2/2020 6:45 PM, Shawn Rakestraw wrote:
> Please don't go into extreme detail (unless you really want to). I ask
> too many simple questions and I feel bad that everyone spends great
> amounts of time with it.
>
> I am thinking about programming ARM chips like the STM32 for something
> like Braids. I know that I will not be making my own Braids module
> anytime soon, but I would like to start thinking about the language I
> need to learn. I know the most about C++. I also realize that my
> question may be better asked as what libraries should I load / study
> up on.
>
> Thanks guys/gals
>
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at synth-diy.org
> http://synth-diy.org/mailman/listinfo/synth-diy
> Selling or trading? Use marketplace at synth-diy.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20201203/7175561f/attachment.htm>
More information about the Synth-diy
mailing list