Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Kotlin Blueprints
  • Table Of Contents Toc
  • Feedback & Rating feedback
Kotlin Blueprints

Kotlin Blueprints

By : Belagali, Trivedi, Akshay Chordiya
4.5 (2)
close
close
Kotlin Blueprints

Kotlin Blueprints

4.5 (2)
By: Belagali, Trivedi, Akshay Chordiya

Overview of this book

Kotlin is a powerful language that has applications in a wide variety of fields. It is a concise, safe, interoperable, and tool-friendly language. The Android team has also announced first-class support for Kotlin, which is an added boost to the language. Kotlin’s growth is fueled through carefully designed business and technology benefits. The collection of projects demonstrates the versatility of the language and enables you to build standalone applications on your own. You’ll build comprehensive applications using the various features of Kotlin. Scale, performance, and high availability lie at the heart of the projects, and the lessons learned throughout this book. You’ll learn how to build a social media aggregator app that will help you efficiently track various feeds, develop a geospatial webservice with Kotlin and Spring Boot, build responsive web applications with Kotlin, build a REST API for a news feed reader, and build a server-side chat application with Kotlin. It also covers the various libraries and frameworks used in the projects. Through the course of building applications, you’ll not only get to grips with the various features of Kotlin, but you’ll also discover how to design and prototype professional-grade applications.
Table of Contents (9 chapters)
close
close

Installing Kotlin Native


We can install Kotlin Native from the source, or grab the binaries from the web. Feel free to go with any method you prefer; the end result will be the same.

Installing from the source

In order to install Kotlin Native on our machine, we need to compile it from the source. Follow these steps to download the source and compile it:

  1. Clone the Kotlin Native compiler source using the following command:
      git clone https://github.com/JetBrains/kotlin-native.git
  1. Let's switch to the cloned directory using  cd kotlin-native.
  2. Download the dependencies using ./gradlew dependencies:update.
  3. Then build the compiler and libraries. We should use ./gradlew bundle, but it can take a few hours to build. Therefore, we will build only with the host compiler and the libraries using ./gradlew dist distPlatformLibs, which should build pretty quickly.
  4. Add the Kotlin compiler to the environment variables (the steps to add it vary). The following command should ideally work on most systems:export...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY