Which language is next?

A reader recently asked what programming language will next take the control world by storm. The question is important, because a lot of system integrators and application developers are looking for the “right” answer. Unfortunately, there is no single right answer. Different problems require different languages.

03/01/2007


A reader recently asked what programming language will next take the control world by storm. The question is important, because a lot of system integrators and application developers are looking for the “right” answer. Unfortunately, there is no single right answer. Different problems require different languages. Fortunately, asking—and answering—a couple of questions can help pick the “right” language. These questions involve the target users, application type, expected size of the user base, and long term support strategy.

First, ask if the target users are shop floor or general. Shop floor systems are predominately Microsoft based, while general use applications often run on Unix or Linux. Microsoft-targeted systems should use a language well integrated into the Microsoft environment, such as VB.Net and C#. Unix and Linux systems have a broader choice of options and often use open source languages.

Application type also affects language choice. If the application contains a significant user interface, then JavaScript and the AJAX model (Asynchronous JavaScript and XML) for the client is the current best solution. If the application has a database and Web server side, then a scripting language such as Pearl, PHP, Python, or Ruby is a good solution.

If the application is heavily communication and database oriented, then a strongly type-checked object-oriented language such as C++, C#, or Java are good solutions. If the application is real-time or near-real-time, then a language such as C++ is good because of its ability to control execution cycles and enforce strong type checking.

Expected size of the user base and long term support strategy also help determine the best programming language. Small user bases typically have a dozen installations with a couple of dozen users at each installation. In these cases, a VB-like (Visual Basic) language is a very good choice. It minimizes the development effort and allows a reasonable testing environment, but still provides a professional interface. Because the user base is small, the support effort must also be small and VB-like languages are easy to maintain.

Large user bases will have hundreds of installations and potentially hundreds of users per implementation. The cost to fix and upgrade the installations due to an error can be large. A large user base application requires a professional development and test environment and a strongly type checked language such as C# or Java.

Many custom integrator applications are targeted for shop floor users. They typically have a dozen installations, offer a Web-based interface, contain some database and communication elements, and are not normally real-time.

My default choice for these applications is the AJAX model, using JavaScript for the client-side user interface and VB.Net for the server-side applications. The server side could be written in Ruby, Pearl, Python, or PHP, but these languages are focused on serving up XML and Web pages with limited support for the communication requirements that are common to control applications.

Successful applications have been written in almost every conceivable language, including Smalltalk, Lisp, FORTRAN and APL. However, a successful control application should use a language that will survive as long as the control system and have support from a well established company.

Few things get software people more agitated than language discussions. Exchanges can take on a religious fervor, based on obscure language constructs and syntax preferences. Despite the risk, I will boldly predict that the next programming languages to take the control world by storm will be JavaScript and VB.Net for small user base systems and JavaScript and C# for large user base systems.


Author Information
Dennis Brandl, dbrandl@brconsulting.com , is president of BR&L Consulting, located in Cary, NC, a firm which is focused on manufacturing IT.




The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers. Vote now (if qualified)!
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Maximize ROI with integrated control system approach; Microcontrollers vs. PLCs; Power quality; Accelerate and rewire IIoT; Traits for excellent engineers
HMI effectiveness; Distributed I/O; Engineers' Choice Award finalists; System Integrator advice; Inside Machines
Women in engineering; Engineering Leaders Under 40; PID benefits and drawbacks; Ladder logic; Cloud computing
Programmable logic controllers (PLCs) represent the logic (decision) part of the control loop of sense, decide, and actuate. As we know, PLCs aren’t the only option for making decisions in a control loop, but they are likely why you’re here.
This digital report explains how plant engineers and subject matter experts (SME) need support for time series data and its many challenges.
This article collection contains several articles on how advancements in vision system designs, computing power, algorithms, optics, and communications are making machine vision more cost effective than ever before.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Control room technology innovation; Practical approaches to corrosion protection; Pipeline regulator revises quality programs
Cloud, mobility, and remote operations; SCADA and contextual mobility; Custom UPS empowering a secure pipeline
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers. Vote now (if qualified)!
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Maximize ROI with integrated control system approach; Microcontrollers vs. PLCs; Power quality; Accelerate and rewire IIoT; Traits for excellent engineers
HMI effectiveness; Distributed I/O; Engineers' Choice Award finalists; System Integrator advice; Inside Machines
Women in engineering; Engineering Leaders Under 40; PID benefits and drawbacks; Ladder logic; Cloud computing
Programmable logic controllers (PLCs) represent the logic (decision) part of the control loop of sense, decide, and actuate. As we know, PLCs aren’t the only option for making decisions in a control loop, but they are likely why you’re here.
This digital report explains how plant engineers and subject matter experts (SME) need support for time series data and its many challenges.
This article collection contains several articles on how advancements in vision system designs, computing power, algorithms, optics, and communications are making machine vision more cost effective than ever before.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Control room technology innovation; Practical approaches to corrosion protection; Pipeline regulator revises quality programs
Cloud, mobility, and remote operations; SCADA and contextual mobility; Custom UPS empowering a secure pipeline
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by Control Engineering subscribers. Vote now (if qualified)!
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
Each year, a panel of Control Engineering and Plant Engineering editors and industry expert judges select the System Integrator of the Year Award winners in three categories.
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Maximize ROI with integrated control system approach; Microcontrollers vs. PLCs; Power quality; Accelerate and rewire IIoT; Traits for excellent engineers
HMI effectiveness; Distributed I/O; Engineers' Choice Award finalists; System Integrator advice; Inside Machines
Women in engineering; Engineering Leaders Under 40; PID benefits and drawbacks; Ladder logic; Cloud computing
Programmable logic controllers (PLCs) represent the logic (decision) part of the control loop of sense, decide, and actuate. As we know, PLCs aren’t the only option for making decisions in a control loop, but they are likely why you’re here.
This digital report explains how plant engineers and subject matter experts (SME) need support for time series data and its many challenges.
This article collection contains several articles on how advancements in vision system designs, computing power, algorithms, optics, and communications are making machine vision more cost effective than ever before.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Control room technology innovation; Practical approaches to corrosion protection; Pipeline regulator revises quality programs
Cloud, mobility, and remote operations; SCADA and contextual mobility; Custom UPS empowering a secure pipeline
Infrastructure for natural gas expansion; Artificial lift methods; Disruptive technology and fugitive gas emissions
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
click me