Fast Track to Kotlin Native Training in Sweden

  • Learn via: Classroom / Virtual Classroom / Online
  • Duration: 2 Days
  • Price: Please contact for booking options
We can host this training at your preferred location. Contact us!

Kotlin is a superb choice for JVM development, and now the recommended language for Android. With Kotlin Native you can bring the power and simplicity of Kotlin to platforms where Virtual Machines are not applicable or desirable. Kotlin Native uses LLVM to produce native instructions that execute directly on the target platform e.g. MacOS, ARM and WebAssembly.

In this course you will learn how to use Kotlin alongside native applications and libraries written in C, C++, Objective-C and Swift. You will learn how to generate Kotlin library wrappers using headers from these other languages. With the generated wrappers you will write Kotlin that easily calls into native API’s and makes marshalling data back and forth trivial. You will also learn how to consume Kotlin Native libraries from other environments.

Finally, you will see how this fits into the wider Kotlin ecosystem by creating multi-platform projects that target the JVM, Android, JS and Native platforms.


Delegates must be confident Kotlin developers. Prior exposure to C/C++ terminology and concepts is very helpful but not essential.


  • Understand where Kotlin Native fits in the ecosystem
  • Use Kotlin to create native apps, libraries and frameworks
  • Know which libraries are available on what platforms
  • Be comfortable consuming C and Objective-C libraries
  • Have confidence manually managing C data type memory
  • Create hierarchical Gradle multi-platform projects

Introduction to Kotlin Native

  • Expanding Kotlin beyond the JVM
  • Understanding the LLVM Compiler Tools
  • Platforms supported by Kotlin Native
  • JVM functionality not available in Native
  • Choosing between the CLion and IntelliJ IDEs
  • Deconstructing a simple native project

Interoperating with C Libraries

  • Working with the provided platform libraries
  • Importing headers from external C libraries
  • Making sense of Kotlin types for native data
  • The role of CVariables, CPointers and CValues
  • Exchanging string data between Kotlin and C
  • Representing C data structures using CStructs
  • Memory management via alloc, free & memScoped
  • Invoking Kotlin callacks from C and vice versa
  • Using StableRef to extend object lifetimes

Interoperating with Objective-C / Swift

  • Working with the provided platform libraries
  • Importing headers from Objective-C / Swift
  • What Swift features are not supported
  • How Swift APIs are mapped to Kotlin

Multithreading and Coroutines

  • The dangers of shared mutable state
  • Constraints on sharing data across threads
  • Using @SharedImmutable and @ThreadLocal
  • Initialising the runtime when creating native threads
  • Utilising Kotlin’s built-in Worker type
  • Consuming results via Future objects
  • Freezing data and DetachedObjectGraph objects
  • Breaking the rules using the Atomic types
  • Transferring object ownership between threads
  • Limits on using coroutines in Kotlin Native

Creating Multiplatform Gradle Projects

  • Choosing between the Groovy and Kotlin DSLs
  • The Kotlin Multiplatform Gradle Plugin
  • Targeting different native platforms
  • The default folder naming conventions
  • Specifying repos and project dependencies
  • Controlling compiler and linker options
  • Creating hierarchies and sub-projects


Contact us for more detail about our trainings and for all other enquiries!

Upcoming Trainings

Join our public courses in our Sweden facilities. Private class trainings will be organized at the location of your preference, according to your schedule.

Classroom / Virtual Classroom
07 suoidnemánnu 2024
Stockholm, Malmö, Göteborg
2 Days
Classroom / Virtual Classroom
12 suoidnemánnu 2024
Stockholm, Malmö, Göteborg
2 Days
Classroom / Virtual Classroom
25 suoidnemánnu 2024
Stockholm, Malmö, Göteborg
2 Days
Classroom / Virtual Classroom
24 suoidnemánnu 2024
Stockholm, Malmö, Göteborg
2 Days
Classroom / Virtual Classroom
27 suoidnemánnu 2024
Stockholm, Malmö, Göteborg
2 Days
Classroom / Virtual Classroom
15 čakčamánnu 2024
Stockholm, Malmö, Göteborg
2 Days
Classroom / Virtual Classroom
24 čakčamánnu 2024
Stockholm, Malmö, Göteborg
2 Days
Classroom / Virtual Classroom
24 čakčamánnu 2024
Stockholm, Malmö, Göteborg
2 Days
Fast Track to Kotlin Native Training Course in Sweden

Sweden is a Nordic country that borders Norway, Finland and Denmark. The name "Sweden" originated from the "Svear", a people mentioned by the Roman author Tacitus. While being the largest Nordic country, Sweden is the fifth-largest country in Europe. Sweden has a total population of 10.4 million. The capital and largest city is Stockholm. About 15 percent of the country lies within the Arctic Circle, so that's why from May until mid-July, sunlight lasts all day in the north of the Arctic Circle. On the other hand, during December, the capital citt experiences only about 5.5 hours of daylight.

When in Sweden, visiting Stockholm's Old Town Gamla Stan, Sweden's most popular museum Vasa Museum and a UNESCO World Heritage Site; Drottningholm Palace is highly recommended.

Empower yourself with our extensive selection of IT courses, covering programming, data analytics, software development, business skills, cloud computing, cybersecurity, project management. Experience personalized training and expert guidance from our instructors, who will come to your chosen training venue anywhere in Sweden.
By using this website you agree to let us use cookies. For further information about our use of cookies, check out our Cookie Policy.