An example of building a clojure library for iOS with graalvm native-image.
Built with membrane.
Grease is back!
Check the #graalvm-mobile channel on the Clojurians Slack (join here) for the lastest news.
See examples/gol
Watch the project in action on the Apropos Clojure Podcast.
Show Notes
- Download and update all submodules
git submodule update --init --recursive- Download dependencies
./scripts/download-deps- Install autoconf
brew install autoconf- Build static JDK and prep libffi
./scripts/setup- Build macOS native iame
./scripts/compile-shared- Build app
./scripts/build-sharedFound in examples/ directory.
examples/ants - Classic ant sim
examples/gol - Game of Life
examples/objc - Objective-c interop
t3tr0s-bare - Tetris
snake - Snake
Copyright © 2026 Adrian
Distributed under the GPLv2 License. See LICENSE.
