Apps in the Asuka language with each platform's own widgets, on iOS, Android, macOS, Windows, Linux and the web. Asuka renders with each platform's widgets (UIKit on iOS, Android Views and Material 3 on Android, AppKit on the Mac, Win32 drawn as Windows 11's, GTK 4 and libadwaita on Linux, the DOM in a browser) and updates them with fine-grained signals: a change touches only the views that read it.
Warning
Alpha. Asuka is pre-1.0 and changes daily. There is no API stability, no backwards compatibility, and no migration guide yet.
component Counter {
state count = 0
SafeArea {
align: .center
justify: .center
Text("Count: {count}")
Button("Add") {
variant: .filled
on press { count += 1 }
}
}
}
app { Counter() }
- A language for UI: statically typed, declarative components whose state is bound where it's read, async tasks owned by the component that started them, and errors the compiler sees (a tour of the language).
- A small core in C: signals, layout (flexbox and grid), the view tree and its batches to the platform, and a VM, built for each platform with its own compiler; no garbage collector, no runtime of another language.
- Native controls: stacks and tabs with the platform's navigation, lists, text fields, pickers, sheets, alerts, menus, web views, video, and your own native views.
asuka dev: each save compiles the app to bytecode and reloads it in the running app in milliseconds, its state kept: on the simulator, an emulator or a phone, in a browser, or as a window on your Mac, PC or Linux machine.asuka build: the app compiled to C and built with the core: a signed.ipafor the App Store, an.aabfor Google Play, a Mac.app(Apple silicon, or Intel) with its.dmg, a Windows folder, a Linux prefix as a.deb, an.rpm, an AppImage, a.tar.gzand a Flatpak manifest, and a static site with the core as WebAssembly;asuka publishuploads them, numbered after the store's last build, to TestFlight (its groups, App Review) or a Play track.asuka test:testblocks run on a fake host that lays the app out as a phone would, driven by what the screen shows.
You need, for phones, Xcode (iOS) or Android Studio with an NDK (Android); for the Mac, Xcode's command line tools; for the web, Zig; Windows LLVM's clang, Linux a C compiler and GTK 4.14 with libadwaita 1.5. See Getting started.
curl -fsSL https://asuka.egoist.dev/install.sh | sh
# Windows, in PowerShell: irm https://asuka.egoist.dev/install.ps1 | iex
asuka new hello
cd hello
asuka dev --platform ios # or android, web; on a Mac, PC or Linux, asuka dev alone runs it there
asuka test # its test blocksSee the documentation for the guides, and
examples for apps. The documentation is also in
Chinese (中文文档) and
Japanese (日本語ドキュメント).
MIT