Retrogamecoding(.org) > Other Languages

C into the future

(1/3) > >>

Richly:
This is what TIOBE have to say this month about the C programming language


--- Quote ---The C programming language has a score of 11.303%, which is its lowest score ever since we started the TIOBE index back in 2001. One of the main reasons for this drop is that C is hardly suitable for the booming fields of web and mobile app development. Moreover the C programming language doesn't evolve like the other big languages such as Java, C++ and C#. There is a "new" C11 standard available but this contains only minor changes. The constraint that C object code should remain small and fast doesn't help here. Moreover, adding C++ like features is also out of the picture because that's what C++ is for already. So C is a bit stuck. Yet another reason why C is getting into trouble is that there is no big company promoting the language. Oracle supports Java, Microsoft supports C++, C# and TypeScript, Google supports Java, Python, Go, Dart and JavaScript, Apple promotes Swift and Objective-C, etc. but none of them supports C publicly.
--- End quote ---

I don't know. Although there may be some truth in what they say, it seems a bit pessimistic to me.

They state that C "doesn't evolve like the other big programming languages" as if that should always be considered to be a problem. There are however be a lot of programs out there written in C, many of them quite old; constantly 'evolving' the language would create backward compatibility issues for a lot of software. The new C11 standard "contains only minor changes"; no doubt because not much needed to be changed!! If it ain't broke...

Worse, the article suggests that one of the reasons for this lack of evolution (stability I would call it) is the '"constraint that C object code should remain small and fast". I'm not entirely sure I would consider this to be a 'constraint'!

The logic of their argument seems to be, taken to the extreme, that the language should constantly change thereby creating backward compatibility issues and, in order to help this along, it should be open to becoming big and slow!

C may well have it's lowest popularity score on the TIOBE Index since 2001 but it is still at number 2 and more popular than all those other languages the article mentions, except Java, which can hardly be described as "getting into trouble". So, neither Microsoft, Google nor Apple supports C. Well, somebody does because it remains at number 2 in the index.

Okay, so C may well not be the most suitable language for mobile and app development and this is a growing area; but C is and remains suitable for many many other tasks: the right tool for the right job...

wang renxin:
I think one reason that few people consider C a preferred web and mobile development language is it's hard to write applications from scratch, so people use other popular languages as enhanced and reformative C. But they can't deny C is the most popular language for open source communities. C is the base of web and mobile environment.

n00b:
Comparing C to languages like Java or C# is kind of pointless. C really can't be used efficiently for interfacing with a lot of modern day web frameworks. But C can't be replaced by any of the languages that are used for such task because C is still the best at what it does, which is the development of low-level, often resource intensive task. If you implemented the same algorithm for something like a game engine a parser, C is going to beat Java, Python, C#, or any of the other popular languages everytime. The only way you could squeeze out more speed in your application is to write it in assembly. But I am pretty sure most modern C compilers can produce more optimized code than we can by this point.

Tomaaz:
TIOBE again? Really?

EDIT Nowadays, any general "programming languages popularity" ranking is pointless. Only specific ones make sense. Languages for OSes development, languages for web development, general programming scripting languages, programming languages used in business, programming languages for mobile development, programming languages for education etc. But comparing C, PHP and Scratch in one ranking is just a waste of time.

ScriptBasic:

--- Quote ---C really can't be used efficiently for interfacing with a lot of modern day web frameworks.
--- End quote ---

WTF

What language do think operating systems and most of API libraries are written in?

That doesn't count as framework?

Navigation

[0] Message Index

[#] Next page

Go to full version