Martin Heller
Contributing Writer

The best open source programming language

feature
Sep 10, 20073 mins

Is Perl, PHP, Python, or Ruby best? Do Java and JavaScript count?

When we started working on the Bossies, we divided the broad Application Development group into many subcategories, including Language. It seemed like a good idea at the time.

Finally, we realized that there probably is no such thing as a “best” language, be it a natural language or a computer language. The most we could do would be to pick best languages for specific applications, and even that would be difficult. It left us to identify languages that have become widely supported and perhaps acknowledge languages that have found a strong niche.

In that spirit, let us acknowledge the vibrancy of the growing Ruby community, especially as applied to the Web via Ruby on Rails. Ruby itself is an elegant object-oriented language with support for sophisticated programming constructs, including closures. Further, Ruby has broken out in a big way this year, with new versions for Java (JRuby) and Microsoft’s Dynamic Language Runtime (IronRuby). Unless these variants begin to introduce language differences, these dual ports promise to make Ruby the new widely accepted scripting language.

Let us also acknowledge that JavaScript/ECMAScript is the de facto standard language for programming Web clients. While alternatives are beginning to emerge, JavaScript is still the primary language for creating interactive client-side user interfaces for Web applications, and it’s one of the essential pillars of AJAX (Asynchronous JavaScript and XML).

Is JavaScript pure open source? If you stick to the ECMAScript subset, absolutely. In real life, however, client-side Web applications usually need to use the extensions to JavaScript and the DOM of individual browsers, whether the browsers are open source or proprietary. Many open source implementations of JavaScript are available for pure scripting, such as Rhino. The richness and performance of the JVM make it an ideal platform for development of new languages, and features in Java 6 and the upcoming Java 7 make such languages even easier to implement. As a result, a new crop of innovative languages is coming up: Groovy, a high-level Java superset released in January; Scala, which combines features from several distinct programming philosophies; and of course JRuby.

This year saw the release of GPLv3, the latest version of one of the most important open source licenses. Its development has led to spirited debate and reexamined what it means for a project to be open source. Is Sun’s slow release of Java source code or the availability of an unsanctioned open source implementation of .Net sufficient? Like many folks, we don’t take an absolutist perspective. We use the tools that work, and we celebrate open source communities for creating so many useful languages and development tools — and for making them widely available at no cost.

Senior contributing editor Andrew Binstock contributed to this article.

Martin Heller

Martin Heller is a contributing writer at InfoWorld. Formerly a web and Windows programming consultant, he developed databases, software, and websites from his office in Andover, Massachusetts, from 1986 to 2010. From 2010 to August of 2012, Martin was vice president of technology and education at Alpha Software. From March 2013 to January 2014, he was chairman of Tubifi, maker of a cloud-based video editor, having previously served as CEO.

Martin is the author or co-author of nearly a dozen PC software packages and half a dozen Web applications. He is also the author of several books on Windows programming. As a consultant, Martin has worked with companies of all sizes to design, develop, improve, and/or debug Windows, web, and database applications, and has performed strategic business consulting for high-tech corporations ranging from tiny to Fortune 100 and from local to multinational.

Martin’s specialties include programming languages C++, Python, C#, JavaScript, and SQL, and databases PostgreSQL, MySQL, Microsoft SQL Server, Oracle Database, Google Cloud Spanner, CockroachDB, MongoDB, Cassandra, and Couchbase. He writes about software development, data management, analytics, AI, and machine learning, contributing technology analyses, explainers, how-to articles, and hands-on reviews of software development tools, data platforms, AI models, machine learning libraries, and much more.

More from this author