Skip to content

mitander/zrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zrpc

Zig binary RPC prototype

Requirements

Download and verify Zig compiler:

./zig/download.sh  # Downloads Zig compiler
./zig/zig version  # Verify installation

Build & Run

Build and run both components (in separate terminals):

./zig/zig build run-server
./zig/zig build run-client

Features

  • Binary protocol with fixed-size message headers
  • Arena allocators for efficient memory management
  • Type-safe serialization/deserialization

Limitations

  • Currently demonstrates single RPC method (add)
  • Basic TCP transport layer without TLS
  • Minimal error handling and recovery

License

MIT License - See LICENSE

About

Zig binary RPC prototype

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published