Kotlin Native Training Overview

This Kotlin Native training course teaches attendees how to use Kotlin alongside native applications and libraries written in C, C++, Objective-C, and Swift. Students learn how to generate Kotlin library wrappers using headers from these other languages. Participants then learn how to write Kotlin that easily calls into native API’s and how to consume Kotlin Native libraries from other environments. Finally, attendees put it all together to see how everything fits into the wider Kotlin ecosystem by creating multi-platform projects that target the JVM, Android, JS, and Native platforms.

Location and Pricing

This course is taught as a private online class for teams of 3 or more. All our private online courses are hands-on, instructor-led, and customizable to fit your group’s goals and needs. To receive a customized proposal and price quote, please contact us.

Kotlin Native Training Objectives

All students will learn how to:

  • 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

Kotlin Native Training Outline

Expand All | Collapse All | Printer-Friendly

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 
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 
  • Initializing the runtime when creating native threads
  • Utilizing Kotlin’s built-in 
  • Consuming results via 
  • Freezing data and 
  • Breaking the rules using the 
  • 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
Conclusion
Request Pricing for Kotlin Native

Lecture percentage

50%

Lecture/Demo

Lab percentage

50%

Lab

Course Number:

MBL-220

Duration:

2 Days

Prerequisites:

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

Training Materials:

All attendees receive comprehensive courseware.

Course outline and materials are copyrighted and owned by Instil Software.

Software Requirements:

  • Windows or Mac minimum 8 GB RAM
  • Android Studio installed
  • Provided lab files from Accelebrate

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us Train For Us

Have you read our Google reviews?

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Fax: +1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2020 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.