Using C & native platforms in Kotlin: Building a multi-platform advanced library

preview_player
Показать описание

Kotlin/Multiplatform is an amazing tech which allows you to develop your business code once and deploy it to every mobile platform. However, to do things, you need to access APIs that are either provided by the platform in its native language (Obj-C, Swift) or as native libraries (C, C++, Rust). In this live coding talk, we will see how to use different types of APIs in a Kotlin Multi-platform library that can be used on Kotlin/Multiplatform. Using Cryptography primitives as an excuse, we will see how to configure, compile, test and deploy a simple algorithmic library, and how to use it in a Kotlin/Multiplatform Mobile (KMM) project. We will first demonstrate how to create a library with a native C dependency for the JVM, Android, Kotlin/Native & iOS, the Web, and more specifically to align JVM JNI, Kotlin/Native C-interop and JS WebAssembly. Finally, we will explore how to use Swift iOS SDKs in conjunction with Kotlin Android SDKs to commonize advanced platform features, such as embedded cryptography.

Speaker: Salomon Brys

#kotlinconf #kotlin #kmp
Рекомендации по теме
Комментарии
Автор

Bro was dedicated to rub JetBrains hard for the unresolved YouTrack tickets 😂

Awesome talk thought, very detailed, to the point, and the slide animations are 👏

HoussamElbadissi
Автор

I can't believe this is a JetBrains conference hahaha. The guy starter firing at them

pow_ext
Автор

the use cases ? I wish you shared all the potential use cases. Encryption as presented here is one use case. What else would we need C-interop for, in today's world ? Or Rust interop ?

__J____ff
Автор

i need those emojis. and that flip... lol 😂

duckydude
visit shbcf.ru