Business

TypeScript’s Quiet, Steady Rise Among Programming Languages

Microsoft’s programming language TypeScript has become one of the most popular languages among developers, at least according to a report published by the analyst firm RedMonk this week.

TypeScript jumped from number 16 to number 12, just behind Apple’s programming language Swift in RedMonk’s semiannual rankings, which were last published in August. Microsoft unveiled TypeScript in 2012, and while it hasn’t grown as quickly as Swift—which has grown faster than any other language, ever since RedMonk started compiling the rankings in 2011—TypeScript’s own ascendance is impressive, given the sheer number of available programming languages.

More and more applications these days use TypeScript. Google’s programming framework Angular, the second most popular tool of its type according to data released last year by the startup NPM, is written in TypeScript. So is Vue, an increasingly popular framework finding a home both among smaller companies and tech giants like Alibaba.

But RedMonk doesn’t look at how many jobs are available for people skilled in a particular language, nor how many companies actually use the language. Instead, the firm tries to spot trends in developer interest by looking at how many projects on GitHub use certain languages, and how many questions are asked about those languages on the programmer Q&A site Stack Overflow. The idea is to get a sense of where the software development profession is heading.

TypeScript is essentially a variant of JavaScript, which long has been the most popular language in RedMonk’s rankings. Practically all web applications use at least a little JavaScript on the browser side, and many now use the language on the server side as well. JavaScript is also used for mobile and desktop applications. But while that language has changed a lot since it was first introduced in 1995, it wasn’t originally designed as a language for building complex applications.

TypeScript tries to address this by adding a number of features specifically designed to make it easier to build larger projects, such as Microsoft’s desktop code editor VS Code, which was written in the language. TypeScript code can be translated, or “compiled” in programmer lingo, into JavaScript code so that it can run in browsers or anywhere else that JavaScript runs.

Being backed by a tech giant also boosts TypeScript’s steady rise. (Microsoft has released a number of programming languages, most notably C#, which clocks in at number five on RedMonk’s rankings.) But Microsoft isn’t the only company trying to tackle the issues TypeScript addresses. Google released a programming language called Dart in 2011 that had similar goals. TypeScript has been more successful than Dart, in part because unlike Google’s language, which has its own syntax, TypeScript uses JavaScript’s existing syntax—making it easier for programmers who already know JavaScript to learn TypeScript.

The other big mover in RedMonk’s ratings is a language called Kotlin, which rose from number 28 to 20. It’s the second fastest growing language in RedMonk’s rankings, thanks in large part to Google’s announcement in 2017 that it would officially support the language on its Android operating system. Further down the rankings, the scientific programming language Julia continued its slow and steady growth, climbing from 33 to 31.

After a decade marked by the introduction of new programming languages like Google’s Go and Mozilla’s Rust, along with renewed interest in older languages like Erlang and Haskell, it looked like things were settling into a new status quo when RedMonk released its previous rankings last August. Kotlin, Swift, and TypeScript had all actually slipped slightly. Those sorts of minor shifts are to be expected and don’t necessarily mean fewer people were using the languages, but it looked like things were settling down.

The continued growth of Kotlin and TypeScript shows that things just don’t stay still for long in the world of programming.


More Great WIRED Stories

Products You May Like

Articles You May Like

The Case Against Apple Weaponizes the Cult of Cupertino
A Deepfake Nude Generator Reveals a Chilling Look at Its Victims
The Science of Crypto Forensics Survives a Court Battle—for Now
Bug Zappers Are Swarming on Amazon
Here Comes the Flood of Plug-In Hybrids

Leave a Reply