:: Re: [DNG] Why C/C++ ?
Página Principal
Delete this message
Reply to this message
Autor: onefang
Data:  
Para: dng
Assunto: Re: [DNG] Why C/C++ ?
On 2024-08-09 07:59:51, Dan Purgert via Dng wrote:
> On Aug 09, 2024, Didier Kryn wrote:
> > Le 09/08/2024 à 00:10, karl@??? a écrit :
> > > Hendrik Boom:
> > > > On Thu, Aug 08, 2024 at 09:35:50AM -0500, o1bigtenor via Dng wrote:
> > > ...
> > > > > Why is C/C++ so absolutely wonderful?
> > > C is a really nice language compared to assembler.
> > > Though at the time, the assembler of e.g. MC68000 was
> > > a little high level lang. inspired with mult. adressing
> > > modes. [...]
> > >
> >
> >     Fully agree about C. [...]
> >
> >     The problem of C is that it is much more subtle than it looks, and it
> > contains a lot of pitfalls. There is a new, more secure language,
> > which has the distinctive feature of having been accepted into the
> > Linux kernel: Rust, but it is not yet stable.
>
> Nor does it work on microcontrollers ;)
>
> (...yet)


Um, C works fine for microcontrollers. When I programmed that tiny (RAM
less than a kilobyte) microcontroller in assembler to create a USB
keyboard (plus some extras that the client needed) last decade, there was
indeed an example written in C already.

Or did you mean Rust and Linux don't work on microcontrollers?

I should finish waking up. lol

--
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.