J
Jan Panteltje
Guest
On a sunny day (Sat, 1 Jun 2019 07:50:19 +0100) it happened Tom Gardner
<spamjunk@blueyonder.co.uk> wrote in <LepIE.530049$fq5.523213@fx27.am4>:
Yes this is true.
But if you want no [multitasking] OS and no task switching
still programming in C (or asm) is more logical.
Not all OSes are multitasking, old CP/M comes to mind.
I once wrote a clone of that (in Z80 asm of course).
That thing then ran the Software Toolworks C80 C compiler on top of it.
My advice:
Start from the bottom up!
The point is also that even without OS you can have many libraries,
I have written many C libraries, and also asm libraries for Microchip PIC.
The advantage of the C libraries is [1]) that that is portable to many micros.
Having libraries makes life so much simpler and coding so much faster,
and it gets better over time as you create more.
[1] I hope it is not all replaced by 'pythons'.
'duinos are cheap, and have a large following that is for sure.
But there are other things at the horizon from China.
ARM was sold by the UK to Japan last year, not sure where that will go,
mm now geting real serious.
<spamjunk@blueyonder.co.uk> wrote in <LepIE.530049$fq5.523213@fx27.am4>:
What you gain on the swings you lose on the roundabouts.
While I am certainly no fan of C++ (e.g. see the C++ FQA),
one advantage of the Arduino class machines is that you are
programming against bare silicon.
Having an operating system in a hard real-time system can
be a real impediment and a steep learning curve.
Yes this is true.
But if you want no [multitasking] OS and no task switching
still programming in C (or asm) is more logical.
Not all OSes are multitasking, old CP/M comes to mind.
I once wrote a clone of that (in Z80 asm of course).
That thing then ran the Software Toolworks C80 C compiler on top of it.
My advice:
Start from the bottom up!
The point is also that even without OS you can have many libraries,
I have written many C libraries, and also asm libraries for Microchip PIC.
The advantage of the C libraries is [1]) that that is portable to many micros.
Having libraries makes life so much simpler and coding so much faster,
and it gets better over time as you create more.
[1] I hope it is not all replaced by 'pythons'.
'duinos are cheap, and have a large following that is for sure.
But there are other things at the horizon from China.
ARM was sold by the UK to Japan last year, not sure where that will go,
mm now geting real serious.