[sdiy] Programming Language of choice
sleepy_dog at gmx.de
sleepy_dog at gmx.de
Mon Feb 29 00:58:49 CET 2016
I like C++ for some things. Bigger MCUs where I'd use an RTOS on
definitely. And it's not just syntactic sugar. But one should know what
to use of it on an MCU and what not to use.
But I'm certainly not one of those luring anyone like you described.
Actually being decently proficient in C++ does involve some learning
beyond C and it has extra gotchas that could bite you you know where
especially with regards to memory and speed contrained systems - but not
constrained to that.
So for someone who only dabbles in this, it could pose a too great
investment of time perhaps better spent on actually doing stuff ;-)
For psychedelic weirdness you needn't go to C++ land, though. If you see
source code where C preprocessor hacks are used more than actual C to
get things done, creating a hard to debug mess, it may feel quite
psychedelic easily.
I for one, know C++, and will happily continue to use it in MCU
projects. You now may screech in horror;-)
Steve
> Chris Juried wrote:
> (from a Yahoo account that google thinks is spam due to: "It has a
> from address in yahoo.com but has failed yahoo.com's required tests
> for authentication.")
>
>>> I was wondering what the groups' consensus is on the most prominent programming language for a beginner in the world of MCUs.
> Depends what you mean by "MCU". If you're on a Raspberry Pi I would
> say start with Python - great scripting lanuage, lots of libraries,
> lots of online resources to learn from.
>
> If you're closer to the metal and mean microcontrollers like AVRs or
> the smaller ARM machines (I'm talking single-core running up to a
> couple hundred MHz, lots of peripherals, running either no OS or an
> RTOS), then C is the only language you need to learn.
>
> Some might tempt you with C++ and the lie that "it's like C, but
> better", in the same sense that an apple is "like a woolly mammoth,
> but better". It might look a bit like C if you squint, but that's
> just syntactic sugar to lure you into their psychedelic world of
> weirdness.
>
> Neil
> --
> http://www.njohnson.co.uk
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
>
More information about the Synth-diy
mailing list