Giter Site home page Giter Site logo

betwixt-labs / bebop Goto Github PK

View Code? Open in Web Editor NEW
1.8K 15.0 32.0 107.52 MB

๐ŸŽทNo ceremony, just code. Blazing fast, typesafe binary serialization.

Home Page: https://bebop.sh/

License: Apache License 2.0

C# 65.53% TypeScript 13.69% JavaScript 0.42% Batchfile 0.05% Dart 1.03% Shell 1.44% HTML 1.07% CSS 0.16% C++ 1.86% Makefile 0.01% CMake 0.22% Rust 10.67% PowerShell 0.81% Python 2.06% Go 0.99%
serialization deserialization real-time marshalling rpc zero-copy c-sharp typescript dart javascript json cpp compiler rust

bebop's Introduction

Bebop

Bebop

No ceremony, just code.
Blazing fast, typesafe binary serialization.

Apache License Discord
Twitter

Introduction

Bebop is a high-performance data interchange format designed for fast serialization and deserialization.

        
// Example Bebop Schema
struct Person {
  string name;
  uint32 age;
}
        
      
        
// Generated TypeScript Code
new Person({
    name: "Spike Spiegel",
    age: 27
}).encode();
        
      
Write concise and expressive schemas with Bebop's intuitive syntax. Using a generated class to persist data.

It combines the simplicity of JSON with the efficiency of binary formats, delivering exceptional performance. In benchmarks, Bebop outperforms Protocol Buffers by approximately 10 times in both C# and TypeScript. Compared to JSON, Bebop is roughly 10 times faster in C# and about 5 times faster in TypeScript.

Benchmark Graphs

Bebop provides a modern, developer-friendly experience while ensuring top-notch performance. It is the ideal choice for any application that requires efficient data serialization, especially in performance-critical scenarios.

To explore the schema language and see examples of the generated code, check out the playground.

Key Features

  • ๐Ÿง™โ€โ™‚๏ธย  Supports Typescript, C#, Rust, C++, and more.
  • ๐ŸŽย  Snappy DX - integrate bebopc into your project with ease. Language support available in VSCode.
  • ๐Ÿƒย  Lightweight - Bebop has zero dependencies and a tiny runtime footprint. Generated code is tightly optimized.
  • ๐ŸŒ—ย  RPC - build efficient APIs with Tempo.
  • โ˜๏ธย  Runs everywhere - browsers, serverless platforms, and on bare metal.
  • ๐Ÿ“šย  Extendable - write extensions for the compiler in any language.

๐Ÿ‘‰ For more information, check out the documentation. ๐Ÿ‘ˆ

See You Space Cowboy...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.