JavaScript and PHP Use Growing in Open Source, Says Black Duck Software

Evaluation of Nearly Six Billion Lines of Code Shows C Still Leads But Losing Share

WALTHAM, Mass., August 12, 2009 - Black Duck Software, global provider of products and services for accelerating software development through the managed use of open source software, today released analysis of data from its Black Duck® KnowledgeBase™showing shifts in the growth of programming languages used in open source projects. The analysis, which looked at language usage, determined by counting lines of source code across all open source projects, shows static programming languages losing share to dynamic languages.

When analyzing project releases from the past 12-months, static programming languages C, C++ and Java are being used less often (-1.8 percentage points of share) in open source projects than dynamic languages JavaScript and PHP (+2.4 percentage points). Also gaining are SQL (up over 1 percentage point) and Ruby (+0.2 percentage point).

Data points drawn from the analysis include:

  • 36% of projects with a release in the last 12 months included JavaScript, the most-used and fastest-growing scripting language. More projects overall have used JavaScript than Java by a margin of 3 percentage points.
  • 65% of open source code is C, C++, and Java.
  • 80% of open source is C, C++, Java, Shell and JavaScript. JavaScript is the only one of these languages gaining in share – up over 2 percentage points in terms of number of lines of code.
  • C is the only language that has broken the billion lines-of-code barrier.

"Black Duck's data is consistent with what IDC is finding on the shift of application development towards web architectures,” said Al Hilwa, Program Director for Application Development Software at IDC. “Languages associated with web applications such as JavaScript and PHP are showing greater growth when compared with traditional languages used for business logic of applications such as Java, C and C++," Mr. Hilwa continued.

Table1: Market Share by Language for All Open Source Code

Language
All Projects
- Share (%)
Trailing 12
-Month Share (%)
Trailing 12
-Month Gain/Loss (%)

C

40.91

40.34

-0.6

C++

14.02

13.43

-0.6

Java

10.95

10.29

-0.7

Shell

8.96

7.05

-1.9

Javascript

5.55

7.6

2.1

PHP

4.86

5.19

0.3

Perl

3.2

2.43

-0.8

Python

2.73

2.63

-0.1

SQL

1.6

2.65

1.1

C#

1.24

1.32

0.1

Assembler

1.23

0.83

-0.4

Pascal

0.91

0.73

-0.2

Ruby

0.78

1.01

0.2

TCL

0.4

0.28

-0.1

Ada

0.39

0.22

-0.2

The “All Projects - Share” column shows the results for all open source projects in the KnowledgeBase. The “Trailing 12-Month Share” narrows the results to show only results for code that was published or released in the most recent 12-month period, reflecting recent trends in language choice by open source developers.

Black Duck Software gathers information by continuously spidering the Internet collecting open source code and binary files into the Black Duck KnowledgeBase, a comprehensive database of open source software and associated license and other information. The KnowledgeBase covers over 200,000 projects collected from over 4,300 code forges and repositories. Black Duck, which has collected information on tens of billions of lines of code, never deletes data and has amassed a significant amount of code that is no longer available from the original hosting sites.

The Black Duck OSS resource center contains a variety of data about open source projects and licensing. The project page is dynamically updated with language market share data as code is added to the Black Duck KnowledgeBase. The OSS project page also displays a list of top search terms from Koders.com, Black Duck Software’s free open source code search engine.

About Black Duck Software

Black Duck Software is the leading global provider of products and services for accelerating software development through the managed use of open source and third-party code. Black Duck™ enables companies to shorten time-to-market and reduce development and maintenance costs while mitigating the risks and challenges associated with open source reuse, including hidden license obligations, security vulnerabilities, unsupported open source and version proliferation. Black Duck Software is among the 500 largest software companies in the world, according to Softwaremag.com. The company is headquartered near Boston and has offices in San Francisco, Amsterdam and Hong Kong, as well as distribution partners throughout the world.

Black Duck, Know Your Code and the Black Duck logo are registered trademarks of Black Duck Software, Inc. in the United States and other jurisdictions. Koders is a trademark of Black Duck Software, Inc. All other trademarks are the property of their respective holders.

Press Contacts

Peter Vescuso
Black Duck Software
press@blackducksoftware.com
+1 781-891-5100


 

 

Latest Tweets

Black Duck Software (6 hours ago)
RT @TriumphCISO: Tox: Open-source, P2P Skype alternative: If you like the convenience of Skype, but you are ... http://t.co/77ZKatYzg7 #inf…
Black Duck Software (7 hours ago)
RT @clearvisioncm: Useful round up. RT @black_duck_sw Start your week off right by catching up on all the latest news in open source: http:…
Black Duck Software (9 hours ago)
5 tips on migrating to open-source software | TechRepublic http://t.co/X3R4jCnidP
Black Duck Software (10 hours ago)
RT @sjvn: Vault: The Linux Foundation's new storage-focused tradeshow via @ZDNet http://t.co/NzBIaYosWa #storage #Linux by @sjvn
Black Duck Software (11 hours ago)
RT @dassault3ds: New Blog Post: Open-source Thinking is Revolutionizing Medical Device Development http://t.co/iQWC0iGihI

Black Duck Software
8 New England Executive Park, Burlington, MA 01803

Contact Us

Legal Notices | Privacy Policy | Site map
Open Source Delivers | Ohloh | Open Source Think Tank