Juan Hurtado
06/30/2026, 2:26 AM1.2.3 of Ghost, the byte-first, zero-reflection serialization engine for Kotlin Multiplatform.
🔗 Release Notes & Changelog: github.com/juanchurtado1991/…/v1.2.3
🚀 What's New in v1.2.3:
• _Dynamic Perfect Hash Sizing_: The compiler now automatically sizes dispatch tables starting at`128`(scaling up to`8192`on demand). This reduces metadata heap footprint by_50% to 87.5%_for small/medium models.
• _Android UI Thread Bypass_: Optimized`getLocalPool()`to cache the main UI thread, completely bypassing`ThreadLocal`lookups on the main thread.
• _ByteArray Support_: Native serialization/deserialization for`ByteArray`fields using raw token span capture.
• _Robustness & Fixes_: Resolved KSP compilation limits on large models (tested up to 100+ fields), fixed duplicate property collection on overrides, and added`@GhostFallback`support for enums. Our KMP verification suite is now at_825/825 passing tests_!
📊 Now featured on HTTP Arena! Ghost is now listed in the official HTTP Arena Benchmarks! The community benchmarks show ktor-ghost achieving: 🚀 +66% higher throughput (RPS) 📉 50% less RAM usage ... compared to standard Ktor configurations.
👉 Check out the official benchmarks: http-arena.com/#sort=rps:-1&q=kotlin 👉 Try the interactive web playground: juanchurtado1991.github.io/ghost-serializer
Give it a try in your KMP projects:
kotlin
plugins {
id("com.ghostserializer.ghost") version "1.2.3"
}
Feedback, issues, and stars are highly appreciated! 🌟joseph_ivie
06/30/2026, 6:25 PMJuan Hurtado
07/01/2026, 3:26 AMPhil Richardson
07/07/2026, 3:25 PMjoseph_ivie
07/07/2026, 3:27 PMJuan Hurtado
07/07/2026, 3:32 PMjoseph_ivie
07/07/2026, 3:34 PMJuan Hurtado
07/09/2026, 4:57 AMghost-api + ghost-serialization) comes in at ~336 KB on JVM — that's what actually ships. ghost-compiler is build-time only (KSP processor), doesn't end up in the final binary. For comparison, kotlinx-serialization (core + json) is ~653 KB.