https://github.com/ttypic/kmm-embedded-c
Extending KMM shared module with C/C++ code. Repo for https://hackernoon.com/how-to-extend-a-kmm-shared-module-with-cc-code
https://github.com/ttypic/kmm-embedded-c
c kmm-library kmm-sample kotlin-multiplatform
Last synced: 16 days ago
JSON representation
Extending KMM shared module with C/C++ code. Repo for https://hackernoon.com/how-to-extend-a-kmm-shared-module-with-cc-code
- Host: GitHub
- URL: https://github.com/ttypic/kmm-embedded-c
- Owner: ttypic
- Created: 2023-01-29T09:38:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-11T19:27:15.000Z (about 2 years ago)
- Last Synced: 2025-04-18T10:23:32.850Z (22 days ago)
- Topics: c, kmm-library, kmm-sample, kotlin-multiplatform
- Language: C
- Homepage:
- Size: 62.5 KB
- Stars: 15
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Extending a KMM Shared Module With C/C++ Code
This repository contains sample code for [tutotial I've written at Hackernoon](https://hackernoon.com/how-to-extend-a-kmm-shared-module-with-cc-code)
_This tutorial was inspired by [Zipline library](https://github.com/cashapp/zipline)._
## Content
This repository contains code for Kotlin Multiplatform library for iOS and Android targets, which
provides Kotlin bindings for C-implementations of SHA-256 hash function.Build configuration doesn't contains custom gradle tasks or any shell-script. For iOS target
it uses [CKlib gradle plugin](https://github.com/touchlab/cklib) and for Android target it uses regular Android gradle plugin's NDK.