Altabel Group's Blog

Archive for October 2016

Internet of Things(IoT) is extremely broad phrase, and can mean a great many different things. But it does not change the fact that each day more and more devices all over the world are being connected to the Internet. At that rate, Internet of Things (IoT) development projects are gaining popularity to say the least.

It is definitely the trend. This brings up a question: what programming languages are the most popular for IoT project? Well, according to the Eclipse Foundation survey, Java, JavaScript, C, and Python are the top four programming choices for developers who are building IoT solutions. Let’s look into them!


Though some people question the use of Java in IoT it is not surprising to see Java as being the most popular among developers who are working on IoT solutions. The practicality of the statement “write once, run anywhere” still predetermines the choice in a great measure.

Java advantages are apparent. It is an object-oriented and platform independent language. Thus coding and debugging can be done on desktop and moved to any chip with a Java Virtual Machine afterwards. Therefore code can be run not only on places where JVMs are common (servers and smartphones), but also on the smallest machines. Minimum hardware dependency is a huge plus. This also means that Java is great from an economic standpoint: devotion to Java coding can pay back across various platforms.

Besides, by now Java has attracted an active community of millions software developers and is being taught as one of the primary programming languages in the majority of engineering degree programs. Consequently, finding someone skilled in Java programming should not constitute a problem.

Last but not the least, maturity and stability of this language make it even more attractive. When there are devices that are going to be remotely managed and provisioned for a long period of time, Java’s stability and care about backwards compatibility become important.

It should be taken into consideration thought that your choice of IoT platform should support Java. You should make sure available hardware support libraries should have control functions according to your requirements too.


Combining some knowledge from other languages JavaScript has not only proven itself worthy on both the client and server side of the web, but it also has a huge potential in the growing Internet of Things domain.

The main difference between Javascript and Java is that JavaScript is a scripting language that has a range of existing libraries, plugins, and APIs, and many of them can be used to create complicated IoT apps easier and faster. Instead of building a range of new libraries and plugins, developers are free to reuse and further develop existing solutions around the web for absolutely new implementations.

Remarkably, applications that listen for events and respond when events occur are a strength of a JavaScript. Effective and secure communications and interactivity are of paramount importance in the IoT, and there are great systems for dealing with requests and events. For example, maintains an open connection between the server and the browser and thus enables the server to push updates to the browser as they happen. This gives you a chance to see the changes in the IoT network without a page refresh. By providing real time event based communication across multiple devices really comes in handy.

Additionally, much of the Internet is built on JavaScript and huge portion of the web functionality is enabled through JavaScript. Connecting up the web to our IoT devices and using the language that web pages and web apps already speak lead to simplicity in management.

It’s important to mention however, that Javascript would be a bad choice for lightweight embedded controllers.


Created to program the telephone switches C programming language has almost monopolized embedded systems programming. Its proximity to machine language makes it impressively fast.

C can create compact and faster runtime code. Still it should be noted that runtime speed isn’t the primary aspect of development to consider. Development speed should also be takes into account (and other languages may be much more efficient in that).

Another vote for stems from the fact that majority of the modern languages follow the syntax of C, which means that it is easy to learn and effective in accomplishing advanced tasks.

As both completing complex tasks and finding developers with extensive experience in C is relatively easy, its applicability to IoT projects speaks for itself.

Still, there are some drawbacks of C that make it less preferred in today’s development world, e.g. poor data security and no run time checking mechanism.


Although Python originally is widely chosen for Web development, it has significantly gained popularity in the IoT coding arena for the past few years. Such huge advantages as its flexibility, writability, error reduction, and readability contributed to that greatly. Distribution of compact executable code is easy. Working in programming teams is easy. Known as organized and neat, its elegant syntax is great for database arrangement. Sure, Python is a good choice for building applications that take data, convert it into any sort of a database format and draw upon the tables for control information. Python also has libraries for all 3 main IoT protocols such as TCP/IP, Bluetooth and NFC.

Additionally, IoT projects involve lots of data analytics and Python has rich modules for that.

Finally, major IoT hardware platforms and micro-controllers, e.g. Arduino, Raspberry PI, Intel Galileo, are enabled for interactive communication through Python.

Probably, the main problem for Python is its runtime speed, especially in comparison to C. Still there is a number of ways to optimize the code so it runs more efficiently.

Steady increase in popularity of Python for IoT is evident.

So which programming language is the best for IoT?

No definite answer, guys… All the above languages influence the IoT space up to an extent. However, the preference of language today depends on the end use of the app, product or service you want to create. What do you think? I’d love to hear your thoughts in the comments!



Alexandra Presniatsova

Business Development Manager

Skype: alex.presniatsova
LI Profile: Alexandra Presniatsova



Altabel Group

Professional Software Development


We see this “Is Java out of business?” question pop up year after year. They say that Java is the least feature-rich language of the popular languages on the JVM and the slowest to move on new features in the last decade. There are also people who believe that because so many new JVM languages are being invented is proof that the Java language is lacking and that Java is no longer meeting the needs of many developers. And yet, by all external markers, Java is alive, well, and growing.

Here are several proofs for it:

1. TIOBE ranked Java as its top language of 2015 currently shows it enjoying 5% growth in use since 2014, more than any other programming language.

2. RedMonk has recently published the latest edition of its bi-annual list of the top programming languages. Compiled with the help of data obtained from GitHub and StackOverflow, this list tells us about the usage and discussion of a language on the web. Just like the previous years Java is among the top of the programming languages.

3. Further, the PYPL Index, which ranks languages based on how often language tutorials are searched on Google, shows Java clearly out in front with 23.9% of the total search volume.

Since Java first appeared it has gained enormous popularity. Its rapid ascension and wide acceptance can be traced to its design and programming features, particularly in its promise that you can write a program once, and run it anywhere. Java was chosen as the programming language for network computers (NC) and has been perceived as a universal front end for the enterprise database. As stated in Java language white paper by Sun Microsystems: “Java is a simple, object-oriented, distributed, interpreted, robust, secure, architecture neutral, portable, multithreaded, and dynamic.”

So here are the most common and significant advantages of Java that helped it to take its high position in a quite competitive environment of programming languages:

  • Java is easy to learn.
    Java was designed to be easy to use and is therefore easy to write, compile, debug, and learn than other programming languages.
  • Java is platform-independent.
    One of the most significant advantages of Java is its ability to move easily from one computer system to another. The ability to run the same program on many different systems is crucial to World Wide Web software, and Java succeeds at this by being platform-independent at both the source and binary levels.
  • Java is secure.
    Java considers security as part of its design. The Java language, compiler, interpreter, and runtime environment were each developed with security in mind.
  • Java is robust.
    Robust means reliability. Java puts a lot of emphasis on early checking for possible errors, as Java compilers are able to detect many problems that would first show up during execution time in other languages.
  • Java is multithreaded.
    Multithreaded is the capability for a program to perform several tasks simultaneously within a program. In Java, multithreaded programming has been smoothly integrated into it, while in other languages, operating system-specific procedures have to be called in order to enable multithreading.

Nonetheless things changed since the time when Java was created. In the recent years, many important languages have appeared and left an impact on the technology world. Due to their simplicity and user-friendliness, they have managed to surpass the more established languages. So we tried to make a list of reasons why Java is going to stay on the grind in the nearest future:

1. Java is time-proved.
You generally need a strong reason to switch from a language you’re currently using: it requires time to practice and learn new languages, and you have to be confident that the language you’re considering switching to will be supported in the long term. Nobody wants to build software in a language that will be obsolete in five years’ time.

2. JVM and the Java Ecosystem.
The Java Virtual Machine, or JVM. compiles programs into bytecode, which is then interpreted and run by the JVM. Because the JVM sits above your specific hardware and OS, it allows Java to be run on anything, a Windows machine, a Mac, or an obscure some flavor of Linux.

The big advantage granted by the JVM is in this increased compatibility and the stability it affords. Because your application runs in the VM instead of directly on your hardware, you can program said application once and trust that it is executable on every device with a Java VM implementation. This principle is the basis for Java’s core messaging: “Write once, run everywhere.” And it makes Java applications very resilient to underlying changes in the environment.

3. Java and the Internet of Things.
“I really think Java’s future is in IoT. I’d like to see Oracle and partners focused on a complete end-to-end storage solution for Java, from devices through gateways to enterprise back-ends. Building that story and making a success of it will help cement the next 20 years for Java. Not only is that a massive opportunity for the industry, but also one I think Java can do quite well,” said Mike Milinkovich, Executive Director of the Eclipse Foundation.

Oracle agrees. Per VP of Development Georges Saab, “Java is an excellent tech for IoT. Many of the challenges in IoT are many of the challenges of desktop and client Java helped address in the 1990s. You have many different hardware environments out there. You want to have your developers look at any part of the system, understand it and move on. Java is one of the few technologies out there that lets you do that.”
Thus, Java might have its detractors, and some of their arguments might even be reasonable. Nonetheless Java has evolved a lot since its inception, holds the lead in many areas of software development and has more prospects for the future. So, in our opinion, its survivability is not in doubt.

And what do you think? Is Java going to become one of the dead languages? Or it has all chances to survive? Feel free to share your thoughts in comments below!



Yana Khaidukova

Business Development Manager

Skype: yana_altabel
LI Profile: Yana Khaidukova



Altabel Group

Professional Software Development


%d bloggers like this: