Online Magazine - Mobile App & eCommerce November 2022 Issue by Rajib Roy - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

simplify the development

For both native & cross-platform apps, you will get process of cross-platform

combined benefits. Such as, developers can share mobile applications

the codebase for both iOS & Android. Also, Developers

can write similar server logic for the server layer.

21 Online Magazine - Mobile Apps & E-Commerce : Issue 24 . November. 2022

Image 77

Image 78

Image 79

Image 80

MOBILE APPS

Also, they can maintain a single codebase data storage, networking, analytics & other application logic for both Android & iOS apps.

Kotlin multi platform kit allows other platforms like Linux, Windows & the Web.

Kotlin is basically one such programming language that has been designed to compile JavaScript and native code.

JetBrains, a software development company,

developed it, and it’s been open-source since February Did You Know?

2016. Leading brands like Netflix, VMWare & Philips use KMM for product reliability & optimizing speeds.

In just three years, Kotlin

is now used by 7.8% of

the industry experts.

How Does Kotlin Multiplatform Run?

According

to

As Kotlin enables multiple mobile platforms to reuse StackOverflow,

Kotlin

pieces of code, we can take Android & iOS, for instance.

was the 4th most

beloved language in

Developers already familiar with the Kotlin

2020 with 62.9% votes.

programming language will find it easy to start using KMM in their development projects.

Kotlin is used by global

companies like Google,

As Android has a virtual machine, the shared logic NetFlix, Amazon, Trello,

code can be converted into Java bytecode & layer can and more.

be executed on JVM.

On the other hand, iOS doesn’t involve any virtual

Kotlin is now listed

machine. In this case, the code will be converted into among the top 20

programming

native code that can be executed on iOS.

languages by Redmonk.

22 Online Magazine - Mobile Apps & E-Commerce : Issue 24 . November. 2022

Image 81

Image 82

Image 83

MOBILE APPS

Kotlin compiler front converts the code into an intermediate representation (IR), and the backend converts that intermediate representation into machine-executable code.

Kotlin provides platform-specific compilers. For different platforms, it provides different compilers like- Kotlin/ JVM, Kotlin/ JavaScript, and Kotlin/ Native. Each version has platform-specific libraries, tools & extensions Benefits Of Kotlin Multiplatform