Skip to main content
Works everywhere. TypeScript, Zig, any language with C-FFI.

TypeScript Entrypoints

Voltaire provides three entrypoints with identical APIs for different performance profiles:
All entrypoints implement the same VoltaireAPI interface - switch by changing the import path.
For detailed performance comparisons and choosing the right entrypoint, see Runtime Implementations.

Installation by Language

Then import from any entrypoint:

First Class Support

TypeScript, Zig, and C - fully supported with complete APIs and documentation

C-FFI Support

Swift, Go, Python, Kotlin, and any language with foreign function interface support
C-FFI bindings require manual memory management. Always call corresponding _free functions to prevent leaks.

Consistent API

The Voltaire API is consistent across all languages.

Looking for Help

We’re looking for contributors to help build idiomatic wrappers for:
  • Go - Native bindings via cgo
  • Python - Bindings via ctypes/cffi
  • Swift - Fully implemented but lacking tests and complete documentation
  • Kotlin - Android/JVM bindings
Interested in contributing? Check out src/c_api.zig for the C-FFI interface and src/primitives.h for the generated C header. Join our Telegram or open an issue on GitHub.