Rule-driven transformation, decisioning and formats — embedded as a library inside your applications and the gateways you already operate.
No new services, no network hops, no stack rewrite: libnetalchemy brings the full NetAlchemy engine into your process, in the language you already use.
The use case that created the library: giving established gateways the logic they don't ship with — without touching their code.
A ~50-line LuaJIT plugin loads the library and the gateway gains message transformation, validation with autoreply and rule-based decisioning.
A gRPC extension runs the real engine — even imported as a pure Go package, no CGO: one static binary.
Field-by-field mapping, validation gates with business responses, resolution and decisioning, and JSON · msgpack · YAML · ISO 8583 codecs per call — capabilities none of those products support natively.
Published matrix: 1,500,000 requests through all four gateways with the engine inside — zero failures, latency on par with the leaders.
For any language: bindings with each runtime's native model — N-API, JNI, NIF, P/Invoke, Ruby extension — over a single library per platform.
Go applications import the engine as a package: one static binary, no shared library, no C toolchain. Same performance — measured, not promised.
Field-by-field mappings, masks, amounts, DST-aware dates — declared in readable YAML, reloadable without recompiling.
The same rule as a business gate: accept, reject or autoreply — the logic lives in the rule, not in your code.
JSON, msgpack, YAML and ISO 8583 per call: the message comes in one format and leaves in another.
SHA-256, HMAC, HKDF, JOSE (JWS ES256/EdDSA, JWE-GCM, JWKS, keygen), HOTP and data access through named connections — no drivers, no crypto libraries in your app.
netalchemy.py — stdlib ctypes, no build, no dependencies.
N-API addon netalchemy.node: one binary serves all three runtimes — 6/6 desktop prebuilts.
Single JVM binding over JNI (com.netalchemy.bridge) — two-stage loading.
P/Invoke (NetAlchemyEngine) with native library resolver.
NIF with dirty schedulers — transform/validate never block the BEAM.
Native C extension (ext/netalchemy).
netalchemy crate — compile-time linking (build.rs + rpath), no dynamic loader.
netalchemy.hpp header-only RAII, C++17, dependency-free.
Native bridging header; on iOS it links the static XCFramework.
netalchemy.dart — dart:ffi, the runtime's official interop.
Pure import libnetalchemy-go: the engine as a package, no CGO, no .so.
Direct C-ABI: generated C header / CALL from the core — proven with GnuCOBOL.