|
7 | 7 |
|
8 | 8 | <div align="center">
|
9 | 9 | <h1>Bebop</h1>
|
10 |
| - <h3>No ceremony, just code.<br/> Blazing fast, typesafe binary serialization.</h3> |
| 10 | + <h3>No ceremony, just code.<br/> Blazing fast, typesafe binary serialization.</h3> |
| 11 | + |
11 | 12 | <a href="https://github.com/betwixt-labs/bebop/blob/main/LICENSE.txt">
|
12 | 13 | <img alt="Apache License" src="https://img.shields.io/github/license/betwixt-labs/bebop" />
|
13 | 14 | </a>
|
|
22 | 23 |
|
23 | 24 | <br />
|
24 | 25 |
|
25 |
| -## Intro |
| 26 | +## Introduction |
| 27 | + |
| 28 | + |
| 29 | +Bebop is a high-performance data interchange format designed for fast serialization and deserialization. |
26 | 30 |
|
27 |
| -Bebop is an insanely fast data interchange format. Think JSON, except binary. Or think Protocol Buffers, except faster with a better DevEx. In fact, in benchmarks, Bebop is 100 TIMES faster than Protocol Buffers and 1000 TIMES faster than JSON. |
28 | 31 |
|
29 |
| - |
| 32 | +<table> |
| 33 | + <tr> |
| 34 | + <td> |
| 35 | + <pre lang="c"> |
| 36 | + <code> |
| 37 | +// Example Bebop Schema |
| 38 | +struct Person { |
| 39 | + string name; |
| 40 | + uint32 age; |
| 41 | +} |
| 42 | + </code> |
| 43 | + </pre> |
| 44 | + </td> |
| 45 | + <td> |
| 46 | + <pre lang="typescript"> |
| 47 | + <code> |
| 48 | +// Generated TypeScript Code |
| 49 | +new Person({ |
| 50 | + name: "Spike Spiegel", |
| 51 | + age: 27 |
| 52 | +}).encode(); |
| 53 | + </code> |
| 54 | + </pre> |
| 55 | + </td> |
| 56 | + </tr> |
| 57 | + <tr> |
| 58 | + <td>Write concise and expressive schemas with Bebop's intuitive syntax.</td> |
| 59 | + <td>Using a generated class to persist data.</td> |
| 60 | + </tr> |
| 61 | +</table> |
30 | 62 |
|
31 |
| -Bebop is designed to be a modern, developer-friendly, and high-performance alternative to existing serialization formats. It's a great fit for any application that needs to serialize data, especially in performance-critical scenarios. |
| 63 | +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. |
32 | 64 |
|
33 |
| -If you want to get familiar with the schema language and see what the generated code looks like, try out the [playground](https://play.bebop.sh/). |
| 65 | + |
34 | 66 |
|
35 |
| -### Features |
| 67 | +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. |
| 68 | + |
| 69 | +To explore the schema language and see examples of the generated code, check out the [playground](https://play.bebop.sh/). |
| 70 | + |
| 71 | +### Key Features |
36 | 72 |
|
37 | 73 | - 🧙♂️ Supports [Typescript](https://docs.bebop.sh/guide/getting-started-typescript/), [C#](https://docs.bebop.sh/guide/getting-started-csharp/), [Rust](https://docs.bebop.sh/guide/getting-started-rust/), C++, and more.
|
38 | 74 | - 🐎 Snappy DX - integrate `bebopc` into your project with ease. Language support available in [VSCode](https://marketplace.visualstudio.com/items?itemName=betwixt.bebop-lang).
|
39 |
| -- 🍃 Light - Bebop has zero deps and a tiny runtime footprint. Generated code is tightly optimized. |
40 |
| -- 🌗 RPC - build efficent APIs with [Tempo](https://docs.bebop.sh/tempo/). |
| 75 | +- 🍃 Lightweight - Bebop has zero dependencies and a tiny runtime footprint. Generated code is tightly optimized. |
| 76 | +- 🌗 RPC - build efficient APIs with [Tempo](https://docs.bebop.sh/tempo/). |
41 | 77 | - ☁️ Runs everywhere - browsers, serverless platforms, and on bare metal.
|
42 | 78 | - 📚 Extendable - write extensions for the compiler [in any language](https://docs.bebop.sh/chords/what-are-chords/).
|
43 | 79 |
|
44 |
| -**👉 For more information check out the [docs](https://docs.bebop.sh). 👈** |
45 |
| - |
| 80 | +**👉 For more information, check out the [documentation](https://docs.bebop.sh). 👈** |
46 | 81 |
|
47 | 82 | [_See You Space Cowboy_...](https://www.youtube.com/watch?v=u1UZHXB_r6g)
|
0 commit comments