βš—οΈ Transmuter Architecture

An additional ASAP suite component, separate from NetAlchemy. It shares technical capabilities with the platform.

One Rust + Lua core Β· the same kernel embedded in many host runtimes via C FFI

🏷️ transformation-sdk v1.7.0
πŸ“… Updated 2026-06-01

πŸ”‘ Key Feature: One core, many runtimes

Transmuter is a Rust + Lua core with a stable C FFI: the SAME Lua kernel, embedded in whatever host runtime each integration needs (there is also a pure-Go Go+Lua engine).

Write your rules once; they run identically on Go, Java, Kotlin, JavaScript/TypeScript, Python, .NET, Swift… The logic is not reimplemented: it's mapped to the host language.

πŸ¦€ Rust + Lua core
🌐 N host runtimes via C FFI
πŸŒ™ 100% SDK compatibility
πŸ¦€
Rust + Lua Engine
High-Performance Native Runtime
⚑ Rust Core (FFI, Extensions, Store)
πŸ”§ mlua (LuaJIT or Lua 5.4)
πŸŒ™ Lua Kernel (transformation-sdk)
LuaJIT performance
Native crypto extensions
FFI for Go/Java/.NET
WASM support (future)
Zero-copy operations
Cross-platform libs
🐹
Go + Lua Engine
Pure Go Runtime (GopherLua)
πŸš€ Go Core (Gates, Events, Services)
πŸ”§ GopherLua (Pure Go Lua 5.1)
πŸŒ™ Lua Kernel (transformation-sdk)
Single binary deploy
No CGO required
Go ecosystem native
Goroutine concurrency
Easy cross-compile
Cloud-native ready

πŸŒ™ Shared Lua Kernel

Same Lua scripts work on BOTH engines

transformation-sdk
messageflow-sdk
config-loader-sdk
logger-sdk
security-sdk
Feature Rust + Lua Go + Lua
Lua Version LuaJIT / Lua 5.4 / Lua 5.5 Lua 5.1 (GopherLua)
Performance Highest (JIT) High
Deployment Shared library (.so/.dylib) Single binary
CGO Required Yes (for Go integration) No
Native Extensions Rust + FFI Go native
Best For Maximum performance, mobile, embedded Cloud-native, Kubernetes, microservices
Lua SDK Compatibility 100% 100%

Data Flow (Both Engines)

πŸ“₯ Gate (HTTP/TCP)
β†’
βš™οΈ Runtime (Rust/Go)
β†’
πŸŒ™ Lua Kernel
β†’
πŸ“€ Gate (HTTP/TCP)

🌐 Future Runtimes β€” the FFI as a bridge

The Rust engine exposes a stable C FFI API that is the foundation for multiple native runtimes. Each language will get its own bridge against the same Rust+Lua core β€” logic is not reimplemented, it's mapped.

The Lua kernel and SDKs (transformation, messageflow, config-loader…) work identically on any runtime. The bridge only translates host-language types to the engine.

Bridge Roadmap β€” one Rust core, N host languages

Target runtime Mechanism Primary use case Status
Go CGO + Rust shared lib (.so/.dylib) Cloud-native, microservices, NetAlchemy mesh βœ… Delivered
Java JNI over the C FFI JVM servers, enterprise backends ⏳ Planned
Kotlin Shared JNI with Java + optional Kotlin/Native Android (Adyton + 12 POS brands), KMP ⏳ Planned
.NET / C# P/Invoke over the C FFI Windows backends, existing integrations ⏳ Planned
Swift C interop (Swift consumes C headers directly) Native iOS / iPadOS / macOS ⏳ Planned
JavaScript / TypeScript N-API (Node.js) over the C FFI · WASM in browser Node backends, tooling, edge / browser ⏳ Planned
Python cffi / ctypes over the C FFI Data, scripting, automation, fintech analytics ⏳ Planned

Same Rust engine. Same Lua scripts. Same manifest. N host languages.

Diagram: one FFI, N runtimes

🐹 Go βœ…
β†˜
πŸ¦€ Rust Core
+ stable C FFI
+ shared Lua kernel
↙
β˜• Java ⏳
πŸ€– Kotlin ⏳
πŸ”· .NET / C# ⏳
🍎 Swift ⏳
🟨 JS / TS ⏳
🐍 Python ⏳