Wednesday, July 21, 2021

Marketing research: Kotlin: Case Studies | 20 minutes reading time | Faire, a startup

July 21, 2021

Here is the link.

I chose to read one of case studies: 

Here is the article. 


My takeaways:

  1. Faire: Up to 1K requests per second
  2. 788,020 lines of code within 6,078 Kotlin files, 45 engineers actively commiting code
  3. At the end of 2020, Faire raised 170M at a 2.5B valuation and is now looking to expand into Europe.

Like most startups, at the beginning of its journey Faire was looking for an efficient solution to base its tech stack on. Having started with Java, a year in, the company started looking for other options, and opted for Kotlin. They now use Kotlin for their Android app and for the website backend, which successfully handles up to 1K requests per second.

The current backend repo has 788,020 lines of code within 6,078 Kotlin files, with roughly 45 engineers actively committing code and more onboarding every week.

We chatted with Jeff Gulbronson, a software engineer who has been with Faire since it was a year old, about Faire and why it chose Kotlin. The key benefits of Kotlin he identified were:

  • Kotlin improves developers’ productivity thanks to its modern language features, and helps avoid common Java mistakes.
  • Interop with Java makes it easy to use existing Java libraries.
  • Easy to get started as a Java developer, making hiring easier.
  • Using Kotlin makes the engineering team happier.

Let’s look at Faire’s journey together with Jeff.

About Faire

Originating in the US, Faire is a wholesale marketplace that aims to help small and medium businesses (SMBs) to compete against the likes of Amazon and Walmart and chase their dreams.

The platform is backed by investors, such as Y Combinator, Sequoia Capital, and DST Global. At the end of 2020, Faire raised 170M at a 2.5B valuation and is now looking to expand into Europe.


 

Architecture Overview

Faire’s backend monolith is written entirely in Kotlin, as are the new services they create as they seek to replace the old monolith system. They make use of both traditional Java libraries, such as Hibernate for ORM, and Guice for dependency injection, as well as libraries written in Kotlin such as Wire for protocol buffers and OkHTTP for network requests. The architecture is standard – a MySQL database, Redis for caching, and then Amazon’s Simple Queue Service (SQS) to run jobs asynchronously.



When an HTTP request comes in, it hits an external load balancer (an Amazon Elastic Load Balancer).

The request is routed to the Kubernetes cluster, where it arrives at an Nginx instance to see which service to route to.

The code is split into two main groups: web server and worker pods. Web server pods service incoming HTTP requests, and enqueue jobs. The jobs are handled by the worker pods, which also handle recurring tasks such as "Run this piece of code every day at 1 am".

MySQL is the primary data store, and Redis is used for caching. Faire uses an event-streaming service (Kinesis Firehose) to stream data into their data warehouse.

Why Kotlin?

While Java was a fine language choice, Faire started looking for a programming language that would be more expressive and fix some of its shortcomings. Jeff worked with Kotlin at Square and had been exposed to how powerful it is. He suggested trying Kotlin and seeing if it would be a better fit for Faire to replace Java.

Kotlin had full interop with the JVM, behaved similarly to Java, but cut down on the rough edges with features such as nullable types, object keyword, mutable vs immutable collections, and more.

“We decided to switch because we liked the velocity of new Kotlin features, and felt the features available at the time made it worth switching to. The fact that the Java interop is first-tier made it extremely easy to introduce Kotlin to the codebase, as there was little to no risk if we decided to switch back to Java in the future.”

For Faire, Kotlin in many ways came across as a “better Java”, for Faire and they jumped into the migration process.

Java to Kotlin Migration: Challenges and Benefits

The initial commit to add Kotlin was only a few files: one to convert a simple existing Java file to Kotlin, and then a couple of updates to the team’s Maven files to update the build system.

They started the migration process by using the Java-to-Kotlin converter built into IntelliJ IDEA. Automated conversion isn’t perfect and requires some manual work to make the code fluent. There were cases where a Java Integer would be converted to a Kotlin Int, only for the team to find out that field is in fact nullable (sometimes in tests, other times in staging).

Migration to Kotlin helped to reveal previously made assumptions about the nullability of different variables. In Java, extra validation would have to be added to call-sites to catch and prevent errors; with Kotlin, this work could be delegated by leveraging the type system and relying on the compiler. This resulted in less boilerplate code for null checks and improved quality by eliminating human mistakes.

In early 2018 there weren't many other companies using Kotlin for the backend, so it was tough to find external resources for specific issues. Faire developers overcame these issues through trial and error. For example, Kotlin leans towards final by default, which in some cases conflicts with how Hibernate works. They eventually learned how to properly integrate with Java libraries and built up best practices, and as more of the code was converted to Kotlin, they saw fewer and fewer NPEs.

“Finally Kotlin let us use a modern language that new hires are happy to use. Really it's like ‘Java Next’, which I think is the sweet spot for server use cases.”

Today the community generates lots of helpful materials. But when it’s your first exposure to a technology, it can be tricky to navigate them. To get daily access to Kotlin news and discussions join our community Slack.

Favorite features

“Java Interop — it feels weird to call this a feature, but we would not have been able to migrate to Kotlin without it. I was extremely impressed by how thoughtful the language creators were around interop, which with the exception of a few nuances, made it extremely easy to migrate our codebase.”

  • Data classes — data classes were a godsend in terms of debuggability (via toString), but also in terms of correctness (via equals and hashCode). On the server, the team is constantly creating small classes to move data around.
  • Type system (including read-only collections) — Java libraries provided some of the features that Kotlin gives first-class support for. One such case is ImmutableList and ImmutableSet which are provided by Guava. Another is using the @Nullable and @NotNull annotations to document variables. Kotlin puts all of these into the type system with List vs MutableList, and List vs List?. Having first-class support for these in the type system means the language can offer support for them via the standard library, and it doesn’t feel like they’re hacked on to the language. Simply put, this makes the development experience much nicer and lets the language do more of the work.
  • Lambda expressions and type inference — these deserve a special mention, they are again another godsend for us coming from Java (this was pre-Java 11, so no var keyword). Passing a function around in Java was a nightmare from a type system perspective, which meant we very rarely did it. And having to declare all types (even though IntelliJ IDEA helped) was a drag. With those two features combined, it feels like we can write the code we want (e.g. pass a lambda to a function to be invoked), as there is Java to resist it with its lack of functional support.

Summary

Converting from Java to Kotlin was fun and easy for Faire thanks to the excellent interop between Java and Kotlin. It also brought an additional advantage to the startup in terms of recruiting. Being able to work in a more modern language was compelling to a lot of the developers. And for many it was a new opportunity to write Kotlin in a production environment. Eventually, Faire found almost all of its developers much happier and more productive.



Marketing research: React native | My 20 minutes study | What to choose?

 

React Native vs. NativeScript vs. Ionic: App Development Comparison Is Here

Are you a fan of JavaScript technologies?

JavaScript is the most popular technology and language to learn among developers. Web developers, app developers, and tech enthusiasts believe that JavaScript builds the base for crafting superior applications which can withstand the competition.

According to the 2017 Stack Overflow Report, JavaScript was the most popular technology among developers. The rise of JavaScript frameworks over the recent years shows its capability to power the modern web application development. The approaches like cross-platform app development and hybrid app development captured the significant attention of developers, business owners, and giant tech organizations. Here, in this article, we will talk about the top 3 JavaScript frameworks – React Native, Ionic, and NativeScript and discuss the key differences between them.

Well, this post does not solve your confusion for selecting best among three but you will be getting an overview of each framework. You should consider how each of these frameworks can help you build future-ready apps by analyzing their features and drawbacks.

React Native vs. NativeScript vs. Ionic: What To Gain From Each?

React Native: Top-Trending Cross-Platform Development Framework

Developed and maintained by Facebook, React Native has a unique characteristic of ‘learn once, write anywhere’. It enables you to build cross-platform apps focusing on consistent development experience using JavaScript and React. React Native uses native components in order to deliver a native experience for iOS and Android platform.

Virtual DOM, one of the key features behind its popularity refers to the only rendering sub-components which are changed instead of rendering the entire page on each change. This overall improves performance and enables developers to create apps leveraging a single codebase with React Native development.

Here Are The Benefits Of React Native:
  • A strong community of developers
  • Native performance across all the platforms
  • Rich mobile UI declarative components
  • Use of Native SDKs
  • Single codebase to develop apps for the majority of the platforms
What Are The Drawbacks Of React Native?
  • Occupies more memory compared to the native apps
  • iOS components are more reliable than Android
  • Need to write platform-specific code
Who is Using React Native?
  • Facebook
  • Instagram
  • Pinterest
  • Bloomberg
  • Skype
  • Tesla
  • Uber
  • Walmart
  • Wix

NativeScript: Build Native Experience On Mobile By Leveraging TypeScript/JavaScript

This is a most-talked framework over the recent years.

It is popular for giving 100% native API access and therefore delivering the finest native experience. NativeScript allows the developer to build apps for iOS and Android using a single codebase in JavaScript, Angular, TypeScript, or Vue.js.

It is developed by Progress and community and gained enormous popularity after the few days of public release. The key feature of the NativeScript framework is direct interaction with native APIs.

For example, if you are calling NativeScript Button API, it directly calls the UIButton on iOS or com. android. widget. The button on Android.

NativeScript also provides Angular and Vue Integrations which is a plus for developers. Also, JavaScript can directly access native code so there is no need to write separate binding layers in platform-specific languages like Objective-C, Swift, or Java.

Why Is NativeScript Popular?
  • 100% Native API access for the finest user experience
  • One single code base for multiple platforms
  • Angular and Vue Interaction for building cross-platform apps
  • Reusability of components
The Disadvantages of NativeScript
  • Application size is bigger than native and hybrid apps
  • Development of UI requires great skills as there’s no HTML
Who is Using NativeScript?
  • com
  • Work Box
  • Zege Technologies
  • GeekyAnts
  • Zdravel
  • Organaza
  • Daily Nanny
  • Dwitch

Now, we are moving towards the Ionic framework which is built with an aim to simplify hybrid app development.

Ionic: JavaScript-Based Hybrid Mobile App Development Framework

Created by Max Lynch, Ben Sperry and Adam Bradley of Drifty Co. in 2013, Ionic provides complete open-source SDK for hybrid app development. You can leverage web technologies such as HTML, CSS, and JavaScript to build hybrid mobile apps.

If you are building apps with the Ionic framework, you need to use Apache Cordova plugins to access native functionality. The best thing about Ionic is it lets you build apps for Android, iOS, Windows, and web using a single code base.

Ionic focuses on performance and aims to deliver user experience according to the modern web standards. Ionic 3 is built on Angular which enables developers to create custom components. It offers fast development lifecycle and time-to-market that together makes it one of the widely used mobile app development frameworks at present.

The Pros of the Ionic Framework:
  • Apps can be built using JavaScript, HTML, and CSS
  • Great community support
  • The single code base for multiple platforms
  • A wide range of plugins are available
  • Rapid and efficient prototyping of an app
  • Angular components can be used
The Cons of Ionic:
  • Not suitable for high performance and UI-driven apps
  • Uses plugins to wrap app in the native container
  • Performance issues
  • Lack of native components

According to Wikipedia, In 2015, Ionic developers created over 1.3M apps with the SDK.

Who is Using Ionic?
  • MarketWatch
  • Pacifica
  • Untappd
  • Nationwide
  • Sworkit
  • JustWatch
  • Vertfolio

Major Differences Between Ionic, React Native, and NativeScript: How To Choose Best One?

Apparently, you can’t decide which is best as every framework has different approaches to the development producing different results. Each one has its own strengths, weaknesses, and methodologies. Choosing best depends on your needs and factors like time-to-market, budget, and audiences.
Here, we are highlighting the major differences among these 3 frameworks so you choose wisely.

Platform: Hybrid or Cross-Platform?

Ionic offers a complete solution for hybrid app development whereas, NativeScript and React Native target cross-platform app development. React Native and NativeScript aim to deliver native-like performances using languages which give access to the native APIs. On the other hand, Hybrid apps are web applications built using web technologies like HTML, CSS, and JavaScript. Once built, the app is wrapped in a native container using Apache Cordova plugin.

Hybrid apps are easier to maintain and faster to build. It allows developers to use a single code base for multiple platforms. Ionic is embraced by many and it has a wide community dedicated to making Ionic one of the topnotch frameworks out there.

Cross-platform apps are performance-oriented though, one can’t overlook the performance of native app development. That’s pretty clear. Native apps are platform-specific and written in the platform-specific language.

Community Support And Expansion:

These three frameworks are built with different purposes. Each has a great community support with an aim of future enhancement. React Native is backed by Facebook, Ionic is developed by Drifty.co, and NativeScript is created by Progress – every organization possesses great skills and expertise to take the development environment to the next level.

Performance And Ease Of Development:

Ionic app development is rapid, simpler, and efficient compared to the other two. However, the other two frameworks are given priority when it comes to native-like performance. Developers have said that the Android components in React Native are less reliable than iOS components.

NativeScript development is the most favorable choice for cross-platform apps as it gives the 100% native API access in order to generate a smoother, flawless, and amazing user experience.

Ionic is not ideal for developing graphics-intensive apps because every time you need to wrap application in a native container that can decrease your app’s performance.

If we talk about ease of development, React Native recommends using React, NativeScript allows you to use TypeScript, JavaScript, Angular, or Vue. js, and Ionic uses Angular.

Choose Ionic When:

  • Angular is your favorite language
  • When you want to build one single code for the majority of the platforms
  • When time-to-market of your app is considered
  • Build highly interactive apps with great UI

React Native is suitable, when:

  • You want native performance using native interfaces
  • High-performance native apps for Android and iOS
  • Hardware functionalities can be accessed via the specific platform, not any third-party plugins

NativeScript is your ideal framework in scenarios like:

  • When you choose a cross-platform approach for your needs
  • Truly native experience with complete native API access
  • JavaScript/Typescript everywhere
  • When you want to leverage Angular for web components

Marketing research: React native | startups | My project at work | 20 minutes study

 July 21, 2021

Here is the article. 

React Native For Startups: Cut Your Costs, Not Corners

Starting a new business is always a head-over-heels act, especially when it comes to a tech startup. Well, we can’t say that because every company looks like a technology company following a technology-driven model of a business.

Every company is a technology company, no matter what product or service it provides. The companies that embrace this fact are the ones that shape our world.

– Forbes Technology Council

A number of times we have observed that tech startups will sooner get wider attention but miserably fail to keep it intact. Sustainability of idea is one of the pain points tech industry worries about at the moment. We are observing a huge rise in tech startups but at the same time, we can’t ignore the number of failed startups so far.

Despite our beliefs that our ideas are unique and mind-boggling, only an idea is not sufficient to survive. That’s the reality of today’s world. Along with the idea, one needs proper implementation, marketing, plan of scaling, and capability to adopt changes.

It is quite obvious that failures are unavoidable. Lack of strong idea, poor implementation strategy, and market awareness often considered as major reasons behind the failure of startups.

Talking about tech startups, your idea is the first key factor for success and selection of technology for a startup is second.

Apparently, there are more influential factors like budget, market-need, team, strategy, and effective go-ahead plan to call it a success.

The abundance of technologies made it complicated to decide suitable technology for the startup. In fact, choosing the right framework or technology is a tedious process. Each day we get in touch with a new framework, tool, or technology that has something different to offer than others.

Planning Your App Is Associated With Some Serious Challenges Like:

  • The need for constant investment
  • Use of modern technologies to stand out from the crowd
  • Exceptional user experience is a must-have factor
  • A right marketing approach to capture attention

Right from the plan to marketing and maintenance, startups can’t afford to overlook any factor mentioned above.

“Ideas are easy. It’s the execution of ideas that really separates the sheep from the goats.”
― Sue Grafton

User experience and use of advanced technologies are certainly playing a bigger role in any startup app development. Making most out of technologies without spending too much really seems a challenge. But thanks to the modern frameworks like React Native which made development easier, faster, and cost-effective.

We have already compared React Native with other frameworks like React Native vs. NativeScript vs. Ionic that can help better understand React Native framework.

Let’s get straightforward.

React Native For Startups: A New Formula For Success

Microsoft’s Skype is using React Native.

What’s the big deal?

Microsoft already has Xamarin, a cross-platform app development tool to write native Android, iOS, and Windows apps. But recognizing React Native’s capability, Skype is one of the largest React Native applications in the world with millions of users.

Why Do We Recommend React Native For the Startups?

Take a look at the below list of startups who use React Native in the development environment:

  • Delivery.com
  • Chop
  • Discord App
  • UberEats
  • Wix.com
  • Gyroscope
  • Townske

The list goes long. From Fortune 500 companies to startups, organizations are capitalizing on React Native App Development to build successful companies from their billion-dollar ideas.

Not only Startups but the giant tech behemoths are also using React Native to become one of the trendsetters out there:
  • Facebook
  • Instagram
  • Facebook Ads Manager
  • F8
  • Pinterest
  • Skype
  • Facebook Analytics
  • Walmart
  • Uber
  • Tesla
  • Artsy
  • Baidu Mobile
  • Salesforce
  • Vogue
  • Bloomberg

Here Are Several Scenarios You Need To Consider For Startups:

If budget is a stumbling block, ‘write once and run on major mobile platforms’ can help

Yes, React Native is cross-platform development tool supporting Android and iOS platforms. The budget remains a most look-after factor for any startup. Writing different codebase for different platforms requires higher budget and React Native solves this problem.

What’s more, it also helps to grab the attention of investors who consider UI/UX of any app as an important factor. In order to validate startups’ idea, MVP (Minimum Viable Product) needs to be designed emphasizing market analysis and users’ mindsets. React Native helps startups to build MVPs incredibly faster with the use of modern technologies.

React Native for startup app development enables looking after other essential phases of startups including marketing, strategizing, and analyzing. It doesn’t occupy more time and efforts in development as you don’t need to build code for different platforms separately. For this reason, React Native framework is appreciated by the Startup community.

User experience won’t be a problem with React Native

User experience is a crucial factor in the success of any startups.

The key attraction of this framework is the ability to deliver truly-native and outstanding user experience. Startups can utilize this and catch the attention of their user base through high-quality UI components and native-like experiences.

Easy, reusable, and native components provide faster time-to-market

In this jam-packed market where the majority of professionals are thinking to launch their own services, undertaking and marketing your idea is a grueling process. Startup not only needs to come up with a good idea, but they also need to deliver it fast with some promotional strategy.

When you choose a modern framework like React Native, it is easier focusing on marketing strategy rather worrying about development. It offers easy-to-use and reusable components that speed up the development process with the highest efficiency possible.

Already have an app on the native platform? Switching to React Native is easier

Have you already developed your apps on native platforms? Do you want to migrate to React Native? It’s easier than you think. It doesn’t require re-writing of your app and makes migration easier.

Stability of framework due to Facebook will bring more amazing features

This is again to be worthy of attention.

In the tech industry, changes are being applied very quickly and it is being treated as a concern for the future in terms of sustainability.

It is very important to choose a framework or tool which has acquired great scalability over the times. React Native is powered by Facebook and enjoys a dominant position in the list of one of the strongest communities across the world. In the upcoming time, we expect more robust features and the use of powerful concepts from this community that would surely attract developers and organizations worldwide.

What Are Your Thoughts?

Do you want to execute your idea using modern and enhanced technologies? React Native can reduce the cost and time that can be channelized into another part of app development such as marketing, development enhancement, and scaling strategy. It befits startups app development due to its cross-platform, rapid, and effective development approach.
We are one of the leading React Native app development company helping you build better and usable apps having customer-first mindsets. Our team of skilled professionals will help you right from the ideation to the implementation. We have helped many startups adopting the right strategy to stand out from the crowd?

Kotlin vs React Native: A Detailed Comparison Between Two Top Mobile App Development Platforms | My 20 minutes reading | Kotlin vs React Native

July 21, 2021
Here is the article. 

React Native vs Kotlin: A Comparison From Cross-Platform Development Perspective

The recent release of Kotlin Multiplatform fully supports cross-platform development and it is equipped with many modern features. React Native uses dominant position and tops the chart of top cross-platform development tool.

With the release of Flutter – Google’s UI toolkit with cross-platform support, React Native is somewhat losing its charm. Both have their own set of limitations and benefits but what to choose and when remains a tough question.

We hope to see Kotlin Multiplatform a big success as it makes it easy to share business logic between multiple platforms and write platform-specific code where it’s required.

FAQs Related To Kotlin vs React Native:

  • Should I learn to react native or Kotlin?

React Native app development allows to create native Android, iOS, and UWP apps using the same codebase. Kotlin, a cross-platform and general-purpose programming language is a great alternative to react native as it allows developers to build UI using native standard libraries.

  • Is Kotlin better than React Native?

This depends on the requirement. Both are backed by powerful communities and used to build cross-platform applications with native platform capabilities. 

Let’s begin.

Any comparison of tools – be it from the user’s point of view or business’s point of view depends on diverse factors. This includes performance, learning curve, cost, language support, community, and development time.

Before we go for a detailed comparison between these two cross-platform development tools, let’s know each in detail.

What Is Kotlin?

Kotlin is a cross-platform, general-purpose, free, and open-source programming language. It is considered ‘pragmatic’ and initially designed for JVM. It is an officially supported programming language for Android app development. It is fully interoperable with Java and one of the most popular programming languages among android developers.

It is developed by JetBrains and made open source in 2012. One of the key benefits of Kotlin app development is its support for multiplatform programming.

Kotlin is in news once again because of Kotlin Multiplatform Mobile – KMM. KMM is an SDK that allows developers to build cross-platform apps. It was launched recently (alpha version) – in August 2020 and quite new to the development world. Developers can use a single codebase for the business logic and only need to write platform-specific code separately.

Cross-platform capabilities are undoubtedly important for businesses. Facebook’s React Native is also a popular choice for building apps with cross-platform compatibility.

Good Read: Top Examples Of Popular Apps Built With Kotlin

What Is React Native?

Built and maintained by Facebook, React Native is an open-source mobile application framework. It is very popular among app developers to build apps for iOS, Android, UWP, and web. This JavaScript-based framework has gained tremendous popularity. React native is used by the world’s leading technology giants like –

  • Facebook
  • Microsoft
  • Uber
  • Airbnb
  • Pinterest
  • Bloomberg and many Fortune 500 companies.

Developers can use React – a JavaScript library for UI and JavaScript to develop native-like applications.

It was released in 2015 and quickly became one of the top mobile app platforms. This open-source project became a global success and resulted in wide adoption worldwide.

Good Read: Top 26 Popular Apps Developed In React Native

React Native vs Kotlin Comparison Based On Several Factors:

  • Performance:

React Native offers a native-like experience by allowing developers to build apps using JavaScript and native modules. React Native is faster and provides a native look and feel on both Android and iOS platforms. JavaScript is used to interact with native APIs and native components, making app development faster and efficient. It is a great option if you just starting up and you want to increase your user base within limited resources and budget.

However, if your project requires a graphics-intensive app, computation-intensive functions, and seamless UI experience, then going for native app development yields a better result.

Kotlin, on the other side, allows developers to seamlessly write platform-specific code and share business logic already written in Kotlin. Apps written with Kotlin are faster and offer impeccable experience across devices and platforms.

  • Development Experience:

Hot reloading, ready-to-use components, and native development capabilities are some of the key features of react native that makes it a favorite among the developers. Developers find it easy to leverage JavaScript along with native UI to build iOS and Android apps using the same code base.

The multiplatform development capability of Kotlin allows developers to reuse multiplatform logic and write platform-specific code whenever required. This makes development faster and hassle-free. It doesn’t impose any pre-defined way on how you build UIs. Kotlin community is consistently making effort to increase developers’ productivity and enhance the overall development experience.

  • Users And Community:

React Native is widely used by the world’s leading tech companies like Instagram, Uber, Facebook, Tesla, Salesforce, Skype, and many more. It had the 2nd highest number of contributors for any repository in GitHub in 2018.

Source: octoverse.github.com

The thriving community of developers and product engineers are significantly making contributions to this open-source project, making it one of the widely-adopted and mostly-discussed cross-platform app development platform.

Kotlin is famous among Java enthusiasts as it is fully interoperable with Java. After Google made Kotlin an official language for Android app development, it came into the limelight. Kotlin is used by several leading companies like –

  • Corda
  • Evernote
  • Coursera
  • Atlassian
  • Spring

Kotlin Multiplatform is being used in a production environment by these companies –

  • Quizlet
  • VMware
  • Autodesk
  • Yandex
  • Chalk

A growing community of open-source developers is exchanging knowledge, support each other, and constantly making it a more powerful and advanced programming language.

  • Cost And Time:

One app, multiple platforms – this is one of the significant benefits of cross-platform development. If budget is your constraint, React Native is the best option. React Native is the best option for startups, MVP, and prototyping as it is faster and easy to work with. You can build iOS and Android apps at the same time using the same code base.

Both are free and open-source with support from a wide range of libraries and modules. Kotlin apps are also faster to build and require fewer resources than native app development. Teams are smaller in the size and thus easier to manage. Kotlin code can be compiled into JVM, iOS, Android, Linux, Windows, Mac, and other embedded systems. Kotlin makes cross-platform development efficient, faster, and enjoyable.

  • Learning Curve:

Despite the maximum use of JavaScript and powerful libraries, React Native has a steep learning curve due to JSX. It is not difficult to learn though as it is JavaScript XML which allows the use of HTML in React.

Due to the wide adoption and potential of React Native, you can easily find developers and required skillset.

Kotlin, on the other hand, offers a very small learning curve as compared to other cross-platform tools. The reason being it is fully interoperable with Java, and experience Java and web developers find it easier to learn and use.

What Are The Pros And Cons of React Native?

Advantages Of React Native:
  • Use of JavaScript and React
  • Great community and support
  • Ready-to-use modules and libraries
  • Reusable code
  • Hot reloading – faster reload for quick changes
  • Good for small teams and MVP
  • Native-like user experience
Disadvantages Of React Native:
  • Performance issues
  • Limited iOS and Android Support
  • Memory management issues
  • JS bridge for native platforms

What Are The Pros And Cons Of Kotlin?

Advantages Of Kotlin:
  • Concise and simpler syntax
  • Cross-platform support
  • Modern, safe language
  • Easy to debug
  • Strong community and support
  • Interoperable with Java
  • Compatible with all Java frameworks and libraries
Disadvantages Of Kotlin:
  • Relatively new
  • Still in the evolving phase
  • Limited resources
  • Slower than Java