Game Changing Mobility

knowledge engineering blog

Month: February 2019

What makes Kotlin the fastest Growing Language?

Kotlin is an open-source, statically-typed language primarily developed by JetBrains programmers based in Saint Petersburg, Russia. Statically typed programming language means Kotlin performs type checking at compile-time as opposed to run-time.

kotlin

Java was once among the most popular, most favourite programming language, however, looking at the limitations and errors caused by Java, developers required a desperate rescue. That’s when the JetBrains developers created Kotlin which proved to be much more efficient than Java. Kotlin has advanced benefits in terms of reliability, efficiency, runtime performance and maintenance when compared to Java, yet fully interoperable with Java, provides seamless integration with Java frameworks and libraries, and support backward compatibility. Kotlin also boasts about the fact that fewer lines of code are required to solve a problem resulting in clean, concise, easy to write and understand the code. Kotlin is developed just recently and is already gaining popularity among developers. Kotlin is becoming a strong competition to Java. The common issues that are a cause of frustration to Java developers are well covered in this young rival.

In May 2017, Kotlin was named as the official language of Android by Google. The team just decided to name it after an island and that’s why the name Kotlin (from Kotlin Island, near St. Petersburg).

Stack Overflow says that Kotlin is becoming developer’s favourite programming language and is outranking languages like Python and JavaScript. According to some survey reports, around 80% of Kotlin developers are using Kotlin as a programming language, around 30% use it for Backend/server-side applications and another 30% use it for SDK/libraries.

Coursera, Atlassian, Basecamp, Pinterest, Keepsafe are already using Kotlin in their mobile applications.

 

What makes Kotlin the fast growing language?

  1. Concise – This is the biggest advantage of Kotlin over other programming languages that you can solve the same kind of problem using fewer lines of code with a reduced number of bugs and crashes. Also, it makes the code more readable, easy to make changes and to maintain.
  2. Safe – Kotlin helps developers write robust and stable code. Kotlin’s smarter and safer compiler detect errors at compile itself and perform lots of compile-time checks reducing runtime errors.
  3. Interoperable – Kotlin is fully interoperable with Java. The existing codebase can interact with Kotlin and all existing libraries in Android can be used in Kotlin as well.
  4. Better Productivity – As it requires lesser lines of code, results in better productivity.

There are other lots of features in Kotlin that will speed up the daily development tasks.

kotlin2
Kotlin has undoubtedly won the heart of developers and has become a highly competing programming language. As it is open source and bring all advantages of a modern programming language into the Android platform, it is a great fit for Android developers. Migrating to Kotlin will really be a piece of cake for them. With all the cool features of functional programming, Kotlin is only getting brighter and better in Android community, however, only time can tell whether the popularity achieved by Kotlin in Android community can be achieved in other communities.

- Susan B John

 

Google Fuchsia – What to expect

We know that Google already has two operating systems: Android and Chrome OS. Google is currently developing a new operating system called ‘Fuchsia’. Fuchsia is a cross-device, cross-platform and open source operating system from Google. The Android and Chrome OS are based on Linux kernel, whereas Fuchsia is based on new microkernel called ‘Zircon’(derived from operating system ‘Little Kernel’). Zircon is previously known as Magenta. Fuchsia is written in the mix of languages C, C++, Dart, Go, Python, Rust, Shell and Swift. The initial release was on 15 August 2016 on GitHub.

fuschia

Google has not yet revealed further details about Fuchsia at Google I/O officially. We are still awaiting to know more about Google’s vision on Fuchsia. There are different rumors surrounding the Fuchsia. We don’t know exactly what it’s for, whether if Google eventually replacing Android by Fuchsia, or just another project by Google.

Some interesting clues in the Fuchsia code suggest it can run on everything from dashboard infotainment systems for vehicles, on all gadgets, embedded devices like traffic lights and smart watches, all the way up to smartphones, tablets and PCs.

Advantages

  • Free and open source

  • Graphical User Interface: Fuchsia currently provides two different layouts, mobile design called ‘Armadillo’ and the traditional desktop design known as ‘Capybara’. The mobile design will drop the App Drawer and a shortcut model for a combined view of all recent apps, quick settings, Google Feed etc. The desktop design is still work in progress, using a taskbar that contains only time at right side, a placeholder for quick setting, and something like the start button at left side.

  • Cross-device OS: In today’s world, almost everyone has multiple devices like phone, desktop, laptop, tablet etc., Google is attempting to run Fuchsia in all devices simultaneously. Maintaining progress and context are some of the challenges with this implementation. If you have signed in with your Google Account on Fuchsia, then your applications get saved automatically across all the devices that are signed in with the same account. In Fuchsia, Google uses ledger as distributed storage, and everything is stored in cloud.

  • Split-Screen Mode: Fuchsia provides another new feature called ‘Split-screen mode’. Split-screen mode occurs when we drag one app onto another app, then we will enter split-screen mode with those all merged apps by taking up the top and bottom portions as per our linking takes place. We can add any number of apps into this group in order to use them all at once.

  • Security: Fuchsia provides more security than Android as encrypted user keys are built into the software to ensure that the information is protected every time there is an update in the software.

Armadillo – Mobile layout

Armadillo

Capybara – Desktop layout

capybara

In short, Fuchsia is Google’s attempt to unite the entire digital world under a single operating system. Not only it will look the same across a range of devices like various digital gadgets, PC, mobile phones etc., it is also designed to better accommodate voice interactions and provide more frequent security updates. We have to wait and watch to see whether Fuchsia would replace Android and Chrome OS or it would just become a part of them.

- Aswin Sasi