Sujet : Re: So You Think You Can Const?
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.lang.cDate : 08. Jan 2025, 17:24:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250108081818.247@kylheku.com>
References : 1 2
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2025-01-08, David Brown <
david.brown@hesbynett.no> wrote:
On 07/01/2025 20:32, Julio Di Egidio wrote:
Hi everybody,
I am back to programming in C after many years:
indeed I have forgotten so many things, including
how much I love this language. :)
In particular, I am using C90, and compiling with
`gcc ... -ansi -pedantic -Wall -Wextra` (as I have
the requirement to ideally support any device).
>
What devices do not have at least C99 compilers available - and yet /do/
have standard C90 compilers available? What sort of code are you
writing that should ideally run on an AVR Tiny with 2K of flash and 64
bytes of ram, a DSP with 24-bit chars, and a TOP100 supercomputer? Have
you thought about this in more detail?
I suspect that C90 is mainly related to retrocomputing now. Programs
written in C90 will compile in installations of old operating systems.
These maybe actual old installations on the original hardware, or
historic installations re-created by retrocomputing enthusiasts on the
original hardware or simulated hardware.
There is probably a bit of legacy code out there requiring C90 support
in a compiler, but maintenance on that code doesn't have to continue
in C90.
-- TXR Programming Language: http://nongnu.org/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca