Back to browse
GitHub Repository

JavaScript Binary Transfer (JSBT) – a binary serialization format designed for JavaScript → JavaScript communication.

36 starsTypeScript

JSBT – binary serialization for real JavaScript object graphs

by cheprasov·Apr 23, 2026·1 point·0 comments

AI Analysis

●●●BangerBig BrainZero to OneWizardry

Finally handles circular refs and Maps where JSON and MessagePack both fail.

Strengths
  • Native JavaScript type support including circular refs and shared objects.
  • Aggressive size deduplication for large repetitive structured data payloads.
  • Class instance reconstruction with optional prototype restoration built in.
Weaknesses
  • New format requires adoption on both ends of JS-to-JS communication channels.
  • Security considerations around class reconstruction need careful handling.
Target Audience

JavaScript developers building distributed systems

Similar To

MessagePack · CBOR · Protocol Buffers

Similar Projects

Open Source●●Solid

Fory C++ Serialization – Polymorphism, Circular Refs, 12x vs. Protobuf

Fory pushes most serialization work into compile-time C++ via a FORY_STRUCT macro so deserialization is inlined and avoids runtime reflection — that alone is an impressive engineering move. Add first-class polymorphism over smart pointers, shared/circular reference tracking, and a single binary wire format across six languages, and you get a rare combo: expressive native C++ types plus cross-language compatibility. The main question is ecosystem adoption and whether the language runtimes and benchmarks hold up in messy real-world schemas.

WizardryNiche Gem
chaokunyang
313mo ago