News

New Stats Find Dynamic Languages on the Rise by Open Source Developers

Dynamic programming languages have started accounting for a greater percentage of code used by developers of open source projects over the past year, according to a survey released today. The increased usage of JavaScript and PHP in particular, suggests that static programming languages such as C, C++ and Java are being used less for open source projects.

The survey was conducted by Black Duck Software, whose software crawls more than 4,300 open source repositories and tracks 1,500 licenses. Even though it sells software to enterprises, Black Duck (which also owns the Koders.com free search engine for open source software and code) is a viable resource for tracking code usage, said IDC analyst Al Hilwa.

"It's difficult to get statistics for accounting for code but they do a decent job at crawling data," Hilwa said in an interview. The findings show 36 percent of all projects in the past year included JavaScript, making it the fastest growing scripting language, according to Black Duck. Overall the share of JavaScript code is now 2.1 percent higher than last year, PHP code is .3 percent higher and Ruby has a .2 percent greater share. At the same time, the share of C and C++ both has declined .6 percent and Java has declined .7 percent. SQL usage is up 1.1 percent.

That shouldn't be interpreted that development of C, C++ and Java are declining, said Black Duck executive VP Peter Vescuso. "It's not diminishing in terms of the number of lines of code, in fact it's growing, it's just shift in terms of the overall share of all open source code," Vescusso said in an interview. It means "the dynamic Web oriented programming languages, are growing, JavaScript and PHP in particular." Among some other data points shared by Black Duck:

  • 65% of open source code is C, C++, and Java
  • 80% of open source is C, C++, Java, Shell and JavaScript. 
  • C is the only language that has exceeded 1 billion lines-of-code

 The growth of scripting language use by open source developers is not necessarily surprising but validates a move toward more client facing applications, IDC's Hilwa said. "These shifts are slow but it shows over time there seems to be some growth that has taken place toward the Web architecture in general," Hilwa said. " Java, C++ and C are used much more often for the back end whereas JavaScript and PHP are really about the Web tier or the front end of the application. That tells you that for the typical new application there's a lot more focus on the front end than there used to be."

Black Duck intends to provide free access to the data, which it will routinely update. It can be accessed here. The company for some time has offered data on licensing, which is updated daily and can be accessed here.

About the Author

Jeffrey Schwartz is editor of Redmond magazine and also covers cloud computing for Virtualization Review's Cloud Report. In addition, he writes the Channeling the Cloud column for Redmond Channel Partner. Follow him on Twitter @JeffreySchwartz.

comments powered by Disqus

Featured

  • VS Code v1.99 Is All About Copilot Chat AI, Including Agent Mode

    Agent Mode provides an autonomous editing experience where Copilot plans and executes tasks to fulfill requests. It determines relevant files, applies code changes, suggests terminal commands, and iterates to resolve issues, all while keeping users in control to review and confirm actions.

  • Windows Community Toolkit v8.2 Adds Native AOT Support

    Microsoft shipped Windows Community Toolkit v8.2, an incremental update to the open-source collection of helper functions and other resources designed to simplify the development of Windows applications. The main new feature is support for native ahead-of-time (AOT) compilation.

  • New 'Visual Studio Hub' 1-Stop-Shop for GitHub Copilot Resources, More

    Unsurprisingly, GitHub Copilot resources are front-and-center in Microsoft's new Visual Studio Hub, a one-stop-shop for all things concerning your favorite IDE.

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

Subscribe on YouTube