Skip to content

Commit 837ec19

Browse files
authoredMar 16, 2024··
fix: #312
1 parent 836fabc commit 837ec19

File tree

1 file changed

+46
-11
lines changed

1 file changed

+46
-11
lines changed
 

‎README.md

+46-11
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
<div align="center">
99
<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+
1112
<a href="https://github.com/betwixt-labs/bebop/blob/main/LICENSE.txt">
1213
<img alt="Apache License" src="https://img.shields.io/github/license/betwixt-labs/bebop" />
1314
</a>
@@ -22,26 +23,60 @@
2223

2324
<br />
2425

25-
## Intro
26+
## Introduction
27+
28+
29+
Bebop is a high-performance data interchange format designed for fast serialization and deserialization.
2630

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.
2831

29-
![P12CpmA](https://user-images.githubusercontent.com/1297077/235745675-fc8a18e2-361f-4b7b-b9c9-47155e511b0a.png)
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>
3062

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.
3264

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+
![Benchmark Graphs](https://user-images.githubusercontent.com/1297077/235745675-fc8a18e2-361f-4b7b-b9c9-47155e511b0a.png)
3466

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
3672

3773
- 🧙‍♂️&nbsp; 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.
3874
- 🐎&nbsp; Snappy DX - integrate `bebopc` into your project with ease. Language support available in [VSCode](https://marketplace.visualstudio.com/items?itemName=betwixt.bebop-lang).
39-
- 🍃&nbsp; Light - Bebop has zero deps and a tiny runtime footprint. Generated code is tightly optimized.
40-
- 🌗&nbsp; RPC - build efficent APIs with [Tempo](https://docs.bebop.sh/tempo/).
75+
- 🍃&nbsp; Lightweight - Bebop has zero dependencies and a tiny runtime footprint. Generated code is tightly optimized.
76+
- 🌗&nbsp; RPC - build efficient APIs with [Tempo](https://docs.bebop.sh/tempo/).
4177
- ☁️&nbsp; Runs everywhere - browsers, serverless platforms, and on bare metal.
4278
- 📚&nbsp; Extendable - write extensions for the compiler [in any language](https://docs.bebop.sh/chords/what-are-chords/).
4379

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). 👈**
4681

4782
[_See You Space Cowboy_...](https://www.youtube.com/watch?v=u1UZHXB_r6g)

0 commit comments

Comments
 (0)
Please sign in to comment.