Skip to content

towerstrike/opcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ opcode - Zero-copy binary serialization with compile-time guarantees 🎩 A blazing fast binary serialization library that uses opcode-based dispatch for maximum performance. Unlike traditional serialization formats, opcode generates fixed binary layouts with compile-time size calculation, zero-copy deserialization, and automatic protocol versioning. Key Features:

πŸš€ Opcode dispatch - Single byte reads for enum variants πŸ“ Compile-time sizes - Know your message sizes at compile time πŸ”₯ Zero-copy deserialization - Borrow data directly from buffers πŸ”„ Protocol versioning - Evolve schemas without breaking compatibility πŸ“¦ Varint encoding - Automatic space-efficient integer encoding 🌊 Streaming support - Process large messages without buffering βš™οΈ SIMD optimizations - Hardware-accelerated encoding/decoding πŸ›‘οΈ Wire format stability - Guaranteed binary compatibility

Perfect for high-performance network protocols, game networking, embedded systems, and anywhere you need predictable, fast binary serialization.

Currently being ported and teased out from another library I am working on. Nothing to use yet, check back in very soon!

About

⚑ opcode - Zero-copy binary serialization with compile-time guarantees 🎩

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published