Shared memory
Zinc.
Share data across languages.
Let programs read and write the same memory without copying or serializing the data.
At a glance
- Language
- Rust
- Focus
- Shared memory
- Source
- GitHub
Rust core · 8 language adapters · Linux & macOS
One shared memory region
PythonProcess
RustProcess
TypeScriptProcess
01 / The problem
Why it exists.
Moving data between programs often means copying it or converting it into another format. Zinc lets programs in different languages use the same memory instead.
02 / The approach
How it works.
A Rust core maps shared memory into each process. Language adapters use the same C interface, so every program reads and writes the same bytes.
Adapters support Python, Go, Node, Bun, Deno, C++, Java, and C#. Zinc works on Linux and macOS. Windows is not supported.
memorysystemscross-language
03 / Contribute
Help improve Zinc.
Try Zinc, report a bug, or suggest a change in the repository.