Altabel Group's Blog

As The Internet of Things continues to grow, huge amount of data is going to be generated. How huge is the “huge”? Really huge. I do mean that.

Physical devices across the globe are consuming and creating data to drive a continuously connected world. David Booth, CEO at BackOffice Associates believes that currently we are at the tipping point of the Internet of Things. He says, “It was not a big leap for the industry to realize that an IoT global network of continuously connected devices would mean that data would not only be created at geometric rates, but that it would become one of the most valuable commodities in the world.”

Alongside the fact that year 2016 was declared to be the year of the first Zettabyte in internet traffic, Cisco report says the number will reach 2.3 ZB by 2020. Before long we will be transferring this much data annually.

If it does not say anything to you, imagine a byte equals 1 character of text – a zettabyte would cover War And Peace by Leo Tolstoy(which is about 1,250 pages) at least 325 trillion times. Or if 1 gigabyte can store 960 minutes of music – technically a zettabyte would be able to store just over 2 billion years of music. If that still isn’t illustrative enough, let’s measure in cups of coffee. Cisco states that if the 11oz coffee on your desk equals to one gigabyte, a zettabyte would have the same volume as the Great Wall of China. This amount of information is mind-blowing. Zettabyte transformed Big Data into enormously Big Data.
 

The Internet of Things (IoT) is expanding rapidly and relentlessly. And as IoT grows, so do the volumes of data it generates. Ignoring this fact is not an option, and companies will do so at their own peril and risk.

Though there are many new start-up companies storing, analyzing and integrating massive amounts of big data created from the IoT, not many of them have actually considered how the IoT can and will transform organization thinking by implementing data quality and information governance.

With so much data being created, companies must understand what they want to do with it, what are their data requirements and ensure that they have access to the right data. Unless a company can find a way to accumulate, manage and, most important, monetize their data storage, data hoarding can be a real issue for them. Put simply, while the value IoT brings is in the information it creates, innovation gold lies in the filtered data an organization has extracted from the intermediate layer between the devices and the cloud (so called “fog”).

Obviously, data provides powerful potential for boosting analytics efforts. And analyzing the amount of data that is going to be created by the Internet of Things requires new, advanced analytic techniques. The good news is, artificial intelligence and cognitive computing are maturing at a fast pace.

When used properly analytics can help organizations translate IoT’s digital data into knowledge that will contribute to developing new products, offerings, and business models. IoT can provide useful insights into the world outside company walls, and help strategists and decision-makers understand their customers, products, and markets more clearly. It can drive so much more — including opportunities to integrate and automate business processes in ways never imagined before.

Rowan Trollope, Senior Vice President and General Manager of Cisco’s Internet of Things (IoT) and Applications, told participants at the Cisco Live conference, “One of the biggest mistakes you could make now is to underestimate the Internet of Things. This is a life or death issue for most of our customers. They have seen what has happened with Uber and taxi companies and with Netflix and Blockbuster”.

The bottom line is that IoT and Big Data can either disrupt your business or help you become more competitive compared to other businesses that are about to be disrupted.

 

alexandra-presniatsova

Alexandra Presniatsova

Business Development Manager

E-mail: Alex.Presniatsova@altabel.com
Skype: alex.presniatsova
LI Profile: Alexandra Presniatsova

 

altabel

Altabel Group

Professional Software Development

E-mail: contact@altabel.com
www.altabel.com

As computers (and sensors) get smaller, smarter and connected, our everyday objects, from clothing to lavatories to cars, get more intelligent. By so doing embedded software is essential to the operation of today’s smart devices.
 

Embedded systems control many devices in common use today. Ninety-eight percent of all microprocessors are manufactured as components of embedded systems. Manufacturers ‘build in’ embedded software in the electronics of e.g. cars, telephones, modems, robots, appliances, toys, security systems, pacemakers, televisions and set-top boxes, and digital watches, for example.

Embedded systems are not always standalone devices. Many embedded systems consist of small parts within a larger device that serves a more general purpose.

 
Specifics of embedded development:

  • The development of embedded systems requires a good combination of industry knowledge, up-to-date technology expertise and excellent quality and project management skills.
  • Code is typically written in C or C++, but various high-level programming languages, such as Python, JavaScript and even the Go programming language, are now also in common use to target microcontrollers and embedded systems. However the complexity is not in the lines of code, most of the times, since embedded software is more focused towards controlling and managing the system (or hardware).
  • Programmers spend nearly all of their time using their embedded software development environment, which is an integrated collection of software development tools that manage the entire embedded software development process: analyzing, designing, documenting, writing, compiling, debugging, testing, optimizing, and verifying software. The choice of an embedded software development environment is the most important determinant of the productivity and effectiveness of programmers.
  • Today’s embedded systems development spans sensor, device, gateway, and cloud. This dramatically increases the complexity of development, troubleshooting, and fault isolation.
  • Unlike smartphones and personal computers, which sells in millions, most embedded products such as ECG machines, PoS machines, Laboratory and Test equipment, Ticket vending machines, etc. have low sales volume.
  • Furthermore, the product life of embedded devices ranges to 7+ years in contrast to the 15-18 months life for smartphones and to 4-6 years life for laptops. Due to this limited sales volume and long product life, custom or chip-based development of embedded devices adds significant overheads in terms of supply chain inefficiencies, platform obsolescence, non-optimal cost structure, and barriers to adopt latest technologies.

 
Embedded vs. application software development
 

Embedded software development

Application software development

Embedded software is physically part of a device, loaded by the manufacturer, and cannot be changed or removed by the user.

Application software is an optional program that the user chooses, installs and can remove.

It’s important to consider not only algorithm performance, but also the overall system robustness, reliability, and cost in the architecture and design. It’s closely associated with hardware manufacturing. You can’t write embedded software in your bedroom and unleash it on the world. Either you make a device yourself, or you work for someone who does.

Application software is similar and different. You can do it for yourself or for The Man, with the difference that no manufacturing is involved so there is much less capital outlay.

Embedded software however is often less visible, but no less complicated. Unlike application software, embedded software has fixed hardware requirements and capabilities, addition of third-party hardware or software is strictly controlled. To manage quality risk, as well as to meet tighter standards for software certification, embedded software engineers need to leverage software simulation tools and certified code generators.

Application software is usually less complex than embedded devices. It has more flexible requirements and solutions.

Embedded systems often reside in machines that are expected to run continuously for years without errors and in some cases recover by themselves if an error occurs. Unreliable mechanical moving parts such as disk drives, switches or buttons are avoided.

Therefore the application software for personal computers is usually developed and tested less scrupulously.

Embedded software may use no operating system, or when they do use, a wide variety of operating systems can be chosen from, typically a real-time operating system. This runs from small one-person operations consisting of a run loop and a timer, to LynxOS, VxWorks, BeRTOS, ThreadX, to Windows CE or Linux (with patched kernel).

Standard computers generally use operating systems such as OS X, Windows or GNU/Linux.

 

Hot trends for Embedded s/w development: Big Data, Internet of Things, Connected Cars and Homes

The amount of data that’s being created and stored on a global level is almost inconceivable, and it just keeps growing, yet only a small percentage of data is actually analyzed.

The importance of BD doesn’t revolve around how much data you have, but what you do with it. You can take data from any source and analyze it to find answers that enable cost and time reductions, new product development and optimized offerings, and smart decision making. When you combine big data with high-powered analytics, you can accomplish business-related tasks such as:

  • Determining root causes of failures, issues and defects in near-real time.
  • Generating coupons at the point of sale based on the customer’s buying habits.
  • Recalculating entire risk portfolios in minutes.
  • Detecting fraudulent behavior before it affects your organization.

Big data affects organizations across practically every industry, from Banking, Education and Government to Health Care and Retail industry, etc.

The Internet of Things is yet another ubiquitous word in the world of embedded technologies. The core of IoT is the availability of the application or thing and its data to be a connectable ecosystem.

– For example, the Connected Home also known as the Smart Home, uses modern automation systems to provide a practical way of controlling electronic devices in the home. Connected Homes technology can include but is not limited to the scheduling and automatic operation of heating, security systems and lighting. This advanced technology allows these vital home functions to be controlled remotely from anywhere in the world using an internet connected device.

– The race to build the fully Connected Car, and ultimately the completely Autonomous vehicle, is also under way. Drivers around the world are getting used to the increasing amount of digital technology in their cars. Many of the normal features of the car such as monitors of performance data like speed, fuel efficiency, and gas tank levels; heating and air conditioning; and the audio system — all have been digitized in hopes of providing the driver with easier operation and better information. And the car, including smartphones and other devices carried onboard by drivers and passengers now reaches out to the surrounding world for music streamed from the cloud, real-time traffic information, and personalized roadside assistance. Recent innovations allow automobiles to monitor and adjust their position on the highway, alerting drivers if they are drifting out of their lane, and slowing down if they get too close to the car in front of them.

Naturally, smart homes, smart cars, and other connected products won’t just be aimed at home and private life. They’ll also have a major impact on business.

 
Conclusion

We’re just beginning to imagine the possibilities of embedded systems. Innovations in sensors, big data, and machine learning now make it possible for engineering teams to develop smarter and more autonomous systems that have the potential to dramatically improve designs and create new categories of products and services previously unimaginable.

Embedded software engineers develop embedded hardware and software solutions, custom-made for applications in various target markets. With capabilities that span the complete system and software lifecycle, Altabel Group is placed to manage entire projects from start to finish, working closely with customers to understand their needs and deliver excellent results. For more information on our work in the industry, please click here.

Thank you! And you’re always welcome with your questions.

 

Victoria Sazonchik

Victoria Sazonchik

Business Development Manager

E-mail: victoria.sazonchik@altabel.com
Skype: victoria_sazonchik
LI Profile: Victoria Sazonchik

 

altabel

Altabel Group

Professional Software Development

E-mail: contact@altabel.com
www.altabel.com

When we look into the current trends in programming, few cornerstones dominate in modern programming languages:
• How fast they are
• How smart they are
• Few bugs

These three features were taken into consideration while preparing this article. Let’s see what programming languages share these features and are most likely to be trending in the year 2017.
 
Rust

Back in the year 2014 when Mozilla first launched Rust, it has never been on trending hiring suggests. It sounds confusing but Rust may put great influence on the programming itself. Let’s see why.

Rust is low-level language which enables developers to write kernels, operating systems, browsers, databases and more. But it doesn’t require a developer to become a programming guru on a low-level basis.

Emerged as an upgrade of C and C++, Rust outperforms these super low-level languages in the following:

• Efficiency – Rust’s language goal is to enable fast, efficient programming
• Safety – with Rust, objects are managed without access to memory locations. It is impossible to reach the locations even accidentally.
 
Crystal

Crystal comes to mind when one thinks of an easy-to-learn and expressive programming language.

It is another Ruby-like language spotless from ambiguity because its code is easy to understand. It also boasts the speed of C-like languages.

Crystal has some unique features:
• Fibers-special easy-to-create lightweight channels to achieve concurrency
• Macros to avoid boilerplate code
• Great deal of built-in tools for different purposes

The project is in alpha stage. Its releases occur fast and are interesting to follow. Whenever awaits Crystal in the year 2017, many developers see the language as a trendsetter.
 
Nim

Nim has an ambition to fill the niche of a multipurpose programming language. It has adopted distinctive features of established pros like Rust, Python and even Lisp.

Such multisource adoption of different features starts from creation of a solid standard library and excellent third-party modules. But Nim aims to succeed in both these enterprises.

Though in its alpha-stage, Nim helps get the necessary results very quickly. This language complements the fast-changing software development.
 
Kotlin

JetBrains made its new programming language for JVM and Android and launched the 1.0 version in February, 2016. The company searched for ways to replace Java in programming of JetBrains’ tools and they created it. It is interesting to see what is to become of this pragmatic, Java-like language in 2017.

Kotlin is easy to learn because it is open-source and approachable. It wasn’t created in a lab; it came out from a certain need –to complete the goals, which Java fails to cover.

 
Elixir

Seen by many as an alternative to Node.js, Elixir is likely to evolve in the next couple of years. Its ecosystem is used for building scalable and maintainable applications.

The code is run in a series of lightweight processes, which are isolated and run concurrently in the same machine. Isolation of processes has many advantages, such as:
• Pauses reduction
• Isolative garbage collection
• Efficiency

It is Ruby-like, so why not dig into it for the next year?

What are your top five promising programming languages? Do you agree or disagree with any of the choices for this list?

 

Yuliya Tolkach

Yuliya Tolkach

Business Development Manager

E-mail: Yulia.Tolkach@altabel.com
Skype: yuliya_tolkach
LI Profile: Yuliya Tolkach

 

altabel

Altabel Group

Professional Software Development

E-mail: contact@altabel.com
www.altabel.com

In the rapidly changing world of IT only those people win who are developing all the time: if you stop — you will lose. Besides general philosophy of life, it’s also true for CMS. Trying to keep up with the time the developers of CMS Drupal have released a new version of Drupal 8.

Many improvements have been made in the interface by default which makes it easier for non- professional users to use CMS. There is practically everything you need to build the “mid-level” web site without using additional modules. So, let’s observe some changes:

• From the very beginning probably the most sensational news was the transfer to Symfony 2 components, which greatly simplified the usage for those developers who are already familiar with it, but probably scared off those who are used to functional programming in WordPress. However, it should be noted that every time the page is loaded in Drupal 7, all enabled modules are also uploaded, even if we don’t need some modules on certain pages, which leads to unnecessary uploading and waiting time increasing for the user who is carefully studying the website. Implementing the basic principles of Symphony, Drupal 8 downloads only those modules that you need for a particular page and nothing more. It accelerates page loading for your visitors and probably reduces memory consumption.
 

 
• The introduction of HTML5 can be attributed to a significant improvement in comparison with XHTML in Drupal 7. Sites that are made by using HTML5 have a better structure and functionality. HTML5 provides better work for a user either on a computer or on a mobile device.

• Anyone who has ever run a website knows that it is better to use a computer or a laptop as most features of the admin section would require the resources of the computer and not work on mobile devices. The Drupal 8 Mobile Initiative is a concerted effort to make Drupal 8 a first-class mobile platform. Not only the admin section works on mobile, but the templates for Drupal 8 are also adapted for devices. It’s more comfortable not only for administrators but also for visitors who use gadgets.

• One more pleasant news was the improvement of multilingualism. Multi Language Module enables its users to create phrases in many languages and display them on your website. It helps developers and users to implement a multilingual website.

• Drupal 8 contains one of the fastest and most popular template engines. Twig is a popular templating engine for PHP, which opens the door to more robust, scalable and secure themes. It should be noted that Twig is fast, secure and flexible.

Fast: Twig compiles templates into optimized PHP code. The performance losses are reduced to the minimum in comparison with an ordinary PHP code.

Secure: Twig has a sandbox mode to test untrusted template code. It makes possible to use Twig as a template language for applications where users may modify the template design.

Flexible: Twig has a flexible vocabulary and syntax. It enables developers to define their own tags and filters and create their own DSL (domain specific language).

• With Drupal 8 you have an opportunity to use the Views without your developer. Views contain a set of parameters that determine which content appears on the page and choose the fields to display, field order, etc., In Drupal 7 Views module was a separate module and depended on the CT Tools Suite module. Development of the Views for Drupal (VDC Initiative) enabled to embed Views in Drupal core 8, so that it appeared immediately after installation. It means that Views has a better integration. Besides, Drupal 8 has made the Views much easier, now a site administrator can delegate the work with the Views to technical specialists, as it does not require complex skills.

These are just some of the changes that came with Drupal 8. It’s a fantastic platform for developing a wide range of sites, from simple to extremely complex.

Remember to feed back by sharing your discoveries and creations in using Drupal 8!

 

Kate Kviatkovskaya

Kate Kviatkovskaya

Business Development Manager

E-mail: Kate.Kviatkovskaya@altabel.com
Skype: kate.kviatkovskaya
LI Profile: Kate Kviatkovskaya

 
altabel

Altabel Group

Professional Software Development

E-mail: contact@altabel.com
www.altabel.com

 
Machine learning

A breakthrough in the technology of artificial intelligence and its active use in practice is the trend of the last two-three years. If earlier the creation of a high-quality machine translation system required a decade, now startups can offer consumers quite a competitive product in this area within one year.

Machine learning is a new approach to information processing, it turns the machine into an intelligent device very fast. In many ways, the development boom based on machine learning programs happened due to the fact that almost everything you need can be found among free software. It is enough to download the development environment, a number of libraries and read the manual. For a week or two, you can write, for example, a program recognizing wine labels or even individuals.

AI opened a completely new universe that humanity will explore for centuries. This means that robots are getting smarter and can learn independently. They are even capable of transmitting their knowledge to each other. To do this, of course, communication infrastructure is necessary. With its help, the program, which has recently invented a new universal language, could teach the other machines.

By the way, people did not expect artificial intelligence to create a new language, it was a by-product performed while teaching machines to translate from different languages. The program has learned how to translate from the languages it hadn’t been asked to by itself. Hence, the researchers concluded that a computer system uses meta-level language for communication, a new sort of Esperanto, a universal language.

 
Robots and VR
 

Analytical agencies called 2016 the year of virtual reality technologies. According to the Digi Capital forecast, by 2020 the virtual reality market will come up to $ 30 billion. Today we have every reason to believe that in 2017 VR-technology will finally become mass.

This trend has affected robotics as well. Complex machine control via VR-helmets and screens shows that augmented reality is gaining popularity. At MWC in Barcelona 2016, all visitors were offered to try themselves as excavator operators, controlling real excavators via Oculus Rift helmet.

This is one of the main scenarios of applying VR in industry and business, which will be used in a variety of situations: unmanned vehicles control (trailers, drones, trucks), surgical operations, exploring out of reach places (the ocean bottom, mines, permafrost). However, the automation trend of the last decade is increasing in order to completely avoid people’s participation in these processes.

 
Artificial Intelligence
 

The idea of intelligent robots has been exciting minds for a long time. We are used to different fiction anthropomorphic golems, androids, perfect voice assistants. Moreover, the success of HBO Westworld recent show demonstrates that the interest in artificial intelligence is rapidly increasing.

Meanwhile, the representatives of different professions were asked to imagine AI as a professional assistant at work or even in the role of a leader. Intelligent Apps have the potential to transform the workplace by making everyday tasks easier and its users more effective. The prospect of getting help from the robot frightens 25% of people, 40% are against the robot leader. However, the majority of people can easily imagine robots among their colleagues- 35% want to see a robot as a personal assistant. Every fourth looks positive on robots to take a leading position.

 
Internet of Things

The internet of Things has been labeled as “the next Industrial Revolution” because of the way it will change the way people live, work, have fun and travel, as well as how governments and businesses interact with the world.

Most of us are used to applications, which allow us to switch tracks on the audio system, to open our cars, turn on the lights, change the temperature in the room. According to Ericsson ConsumerLab research, two out of five people expect applications to remember users’ preferences and configure home appliances in the nearest future. It is as a good way to save personal time that can be spent on tasks that are more important.

 
Unmanned vehicles
 

They can either be remote controlled or remote guided, or they can be autonomous vehicles which are capable of exploring the environment and navigating on their own. With the right technology, multiple cars could “talk” to one another and reduce the chance for crashes.

Every fourth interviewee said he would feel safer if all the cars would be driven by robots. Meanwhile, 65% said they would prefer to have an autonomous vehicle rather than drive themselves.

Self-driven cars – futuristic, comfortable and safe. However, at the moment none of the existing systems can completely take over driving. Even the most sophisticated systems can fail.

 
Augmented reality
 

Approximately four out of five users believe that a complete blending of real and virtual worlds will happen just within three years. Half of the respondents are already interested in buying special gloves or shoes that would control VR-objects (for example, for playing virtual instruments).

A well-known game Pokemon GO is a good example to demonstrate the real potential of augmented reality. Many people want to use similar possibilities not only in the games but in real life as well. More than half of users would like to have AR-glasses to see better in the dark and, for example, to be able to observe criminals. One out of three would like to use augmented reality to get rid of unpleasant elements of their landscape, such as graffiti and litter. Many people dream of not seeing street signs, uninteresting shop windows and billboards.

 
Security Paradox of “smart” devices
 

More than half of the respondents use applications and trackers that transmit alarm and danger warnings. Using such apps people expect to increase their personal safety level. The paradox is that 60% of those who feel more secure with a smartphone admit that would try to avoid those situations while not having a phone in the pocket. People rely on their smartphones capabilities too much. Meanwhile, they won’t know what to do if they lose the device or the battery dies. Three out of five people, who believe that the smartphone makes their lives safer, are in a bigger danger.

 
Social fragmentation
 

For every third respondent social networks have become a main source of information. However, social networks do not connect people from all around the world, on the contrary, they form small groups and communities. There is a chance that this fragmentation will only increase: every week, every day individuals exclude each other from friends or refuse to accept connection requests based on the opinions of other people.
 
We all know that making predictions about the course of technology’s future is challenging. Surprises can appear in any direction. Now we can only imagine those amazing opportunities we are going to explore in the nearest future.

Feel free to share your thoughts about technology prospects for the near future in comments below!

 

Darya Bertosh

Darya Bertosh

Business Development Manager

E-mail: darya.bertosh@altabel.com
Skype: darya.bertosh
LI Profile: Darya Bertosh

 

altabel

Altabel Group

Professional Software Development

E-mail: contact@altabel.com
www.altabel.com

By 2020, more than 24 billion internet-connected devices will be installed globally — that’s more than 4 devices for every human on earth.

The Internet of Things first reached users on PCs. Then it migrated to smartphones, tablets, smartwatches, and TVs.

This growth surely brings several benefits, as it will change the way people fulfill everyday tasks and potentially change the world. Having a smart home is undoubtedly cool and will amaze your guests, but smart lighting can also reduce overall energy consumption and lower your electric bill.

New developments would allow connected cars to link up with smart city infrastructure to create an entirely different ecosystem for the driver, who is simply used to the traditional way of getting from Point A to Point B. And there are many other examples of positive changes IoT may bring to our lifes.
But with all of these benefits comes risk, as the increase in connected devices gives hackers and cyber criminals more entry points.

Late last year, a group of hackers took down a power grid in a region of western Ukraine to cause the first blackout from a cyber attack. And this is likely just the beginning, as these hackers are looking for more ways to strike critical infrastructure, such as power grids, hydroelectric dams, chemical plants, and more.
 

 
What is already being done to Secure The IoT?

The great thing about IoT security is that previously ignored, it has now become an issue of high concern, even at the federal government level. Several measures are already being taken to gap holes and prevent security breaches at the device level, and efforts are being led to tackle major disasters before they come to pass.

Now security firms and manufacturers are joining ranks to help secure the IoT world before it spins out of control. IT giant Microsoft has started taking measures and has promised to add BitLocker encryption and Secure Boot technology to the Windows 10 IoT, their operating system for IoT devices and platforms such as the Raspberry Pi.

BitLocker is an encryption technology that can code entire disk volumes, and it has been featured in Windows operating systems since the Vista edition. This can be crucial to secure on-device data. Secure Boot is a security standard developed by members of the PC industry to help make sure that your PC boots using only software that is trusted by the PC manufacturer. Its implementation can prevent device hijacking.

The IoT security issue has also given rise to new alliances. A conglomeration of leading tech firms, including Vodafone, founded the Internet of Things Security Foundation, a non-profit body that will be responsible for vetting Internet-connected devices for vulnerabilities and flaws and will offer security assistance to tech providers, system adopters and end users.

Other companies are working on setting up platforms that will enable large networks of IoT devices to identify and authenticate each other in order to provide higher security and prevent data breaches.

 
What should we know to protect ourselves and minimize risks of hacking attacks?

Security must be addressed throughout the device lifecycle, from the initial design to the operational environment:

1. Secure booting: When power is first introduced to the device, the authenticity and integrity of the software on the device is verified using cryptographically generated digital signatures. In much the same way that a person signs a check or a legal document, a digital signature attached to the software image and verified by the device ensures that only the software that has been authorized to run on that device, and signed by the entity that authorized it, will be loaded. The foundation of trust has been established, but the device still needs protection from various run-time threats and malicious intentions.

2. Device authentication: When the device is plugged into the network, it should authenticate itself prior to receiving or transmitting data. Deeply embedded devices often do not have users sitting behind keyboards, waiting to input the credentials required to access the network. How, then, can we ensure that those devices are identified correctly prior to authorization? Just as user authentication allows a user to access a corporate network based on user name and password, machine authentication allows a device to access a network based on a similar set of credentials stored in a secure storage area.

3. Firewalling and IPS: The device also needs a firewall or deep packet inspection capability to control traffic that is destined to terminate at the device.

4. Updates and patches: Once the device is in operation, it will start receiving hot patches and software updates. Software updates and security patches must be delivered in a way that conserves the limited bandwidth and intermittent connectivity of an embedded device and absolutely eliminates the possibility of compromising functional safety.

What is evident is that the IoT will play an important role in our lives in the near future, and its security is one of the major issues that must be addressed via active participation by the entire global tech community. Next several years will show whether all of the innovations will revolutionize the world or will bring us to a new era of digital insecurity and chaos. Time will tell.

 

yana-khaidukova

Yana Khaidukova

Business Development Manager

E-mail: yana.khaidukova@altabel.com
Skype: yana_altabel
LI Profile: Yana Khaidukova

 

altabel

Altabel Group

Professional Software Development

E-mail: contact@altabel.com
www.altabel.com

 


 
Go was created in 2007 at Google as an experimental project. It was designed to be a fun language and at the same time it is productive, practical, expressive and powerful. Google Go can be considered the result of a rather conservative language evolution from languages such as C and C++.

Node.js is an increasingly popular platform that is built on fast, JavaScript-based runtime: V8. V8 is a JS virtual machine created by Google that is designed to build scalable, networked applications. It compiles JavaScript code to native machine code, using some complex optimizations. V8 also does the memory allocation and garbage collection of JS objects.

Recently, there have been criticisms about the value of using Node.js in a high-performance, networked application environment, and some developers have moved to the Go language. Not only developers but also some well-known companies, such as Google, DropBox, Docker, DigitalOcean and more have picked up Go for some of their projects.

Certainly, Node.js is still used by a much wider audience, has more modules, is easier to use and isn’t going anywhere anytime soon. However, Go is gaining more and more popularity. In this article we will take a look at the differences between Node.js and Go to reveal the strengths and weaknesses of each environment.
 
Performance

Due to JS’s dynamically-typed nature Node cannot reach the raw performance of CPU or memory bound tasks that Go can achieve in many tests. Go is about 3 times faster and more lightweight than Node.js in a production environment. Not to say that Node.js is slow, it’s fast enough for most use cases, but when you do hit a limit, Go can still go a long way.
 
Concurrency

One of the language’s peculiarities is the presence of goroutines, functions that can be executed concurrently with one another.

These can be launched simply by using a keyword. Go runtime contains a scheduler that coordinates the execution of an arbitrary number of goroutines on an arbitrary number of system threads (the M:N model). In this way it is possible to carry out rapid context switches in order to take advantage of all CPU cores. So, in a hypothetical web application written in Go a single process will be able to continue serving requests even if one of these is trying to execute a blocked operation.

Node suffers from JavaScript’s less than elegant concurrency support using the event-callback mechanism. However, for a lot of applications working with JS promises and the coming async generator support (also called “semi-coroutines”) will suffice. Something like the Koa framework is already supporting the async generator approach in Node.
 
Ease of use

Node.js is a much simpler platform to use, especially if you are already a JS developer. For Go you will need to learn some new programming concepts, such as: coroutines, channels, strict typing (with compilation), interfaces, structs, pointers, and some other differences.
 
Ecosystem

Both platforms have pretty active and growing ecosystems, but as Node.js has been around much longer and certainly it has a broader community of users and more tools that make certain software projects a lot easier and/or cheaper to implement.

Go is a younger language, however, it dynamically develops: the number of standard Go packages is growing steadily, currently at over 100, and the Go community packages can be searched easily.

In conclusion, I’d like to say that there is no ideal language/framework/tool that could be used by everyone otherwise there would be only one programming language and there wouldn’t be such debates as Go vs Node.js:) Every language is tailored to be used for specific use cases. But we need to admit that there are some things Go performs better in, at the same time it lacks some characteristics that Node.js provides.

And what advantages and disadvantages of using Node.js and Go have you come across?

 

Anna Kozik

Business Development Manager

E-mail: Anna.Kozik@altabel.com
Skype: kozik_anna
LI Profile: Anna Kozik

 

altabel

Altabel Group

Professional Software Development

E-mail: contact@altabel.com
www.altabel.com

%d bloggers like this: