Liste des Groupes | Revenir à cl c |
On Sun, 24 Mar 2024 23:07:44 +0000I am not sure how IAR's tools would count as a "lesser C compiler". They make very solid C tools for specific embedded targets. And they have lots of the optimisations that some people get worked up about - including, IIRC, whole-program optimisations.
bart <bc@freeuk.com> wrote:
On 24/03/2024 20:49, Keith Thompson wrote:What is "lesser C compiler"?bart <bc@freeuk.com> writes:Perhaps many settle for using C but using a lesser C compiler or one
[...]But what people want are the conveniences and familiarity of a HLL,[...]
without the bloody-mindedness of an optimising C compiler.
>
Exactly which people want that?
>
The evidence suggests that, while some people undoubtedly want that
(and it's a perfectly legitimate desire), there isn't enough demand
to induce anyone to actually produce such a thing and for it to
catch on. Developers have had decades to define and implement the
kind of language you're talking about. Why haven't they?
with optimisation turned off.
>
Something like IAR ? Yes, people use it.
Something like TI? People use it when they have no other choice.TI's C tools are a bit more varied in quality over their range of targets. They have a particular bizarre non-conformity that they do not zero-initialise variables that have no explicit initialisation - a fact that is documented as a small note in the middle of the manual (for the two TI compiler manuals I have read).
20 years ago there were Diab Data, Kiel and few others. I didn't hearI tried out Diab Data for the 68k some 25 years ago. It was /way/ better than anything else around, but outside our budget at the time. People sometimes complain that type-based alias analysis, or optimisations based on the UB of signed integer overflow are somehow "new" optimisations by "evil" gcc developers designed to "win benchmarks" even though they "break" user code. Diab Data was doing this kind of optimisation long before gcc.
about them lately.
Microchip, I'd guess, still has its own compilers for many of theirI think some of Microchip's old tools are the ones that I used that really could be called "lesser C compilers". One I remember had support for structs, and support for arrays, but not for arrays of structs or structs containing arrays.
families, but that's because they have to. "Bigger" compilers dont want
to support this chips.
On the opposite edge of scale, IBM has compilers for their mainframes
and for POWER/AIX. The former are used widely. The later are quickly
losing to "bigger' compilers running on the same platform.
As to tcc, mcc, lccwin etc... those only used by hobbyists. Never by
pro. The only "lesser" PC-hosted PC-targeting C compilers that are used
by significant amount of pro developers are Intel and
Borland/Embarcadero, the later strictly for historical reasons.
Embarcadero switched their dev suits to "bigger" compiler quite a few
years ago, but some people like their old stuff. Well, may be, National
Instruments compiler still used? I really don't know.
Les messages affichés proviennent d'usenet.