From 837ec1969cc3702819982e5a6c8d33c1c23813d5 Mon Sep 17 00:00:00 2001 From: andrew Date: Sat, 16 Mar 2024 23:53:05 +0900 Subject: [PATCH] fix: #312 --- README.md | 57 ++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index dfb17998..f7dc51de 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@

Bebop

-

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

+

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

+ Apache License @@ -22,26 +23,60 @@
-## Intro +## Introduction + + +Bebop is a high-performance data interchange format designed for fast serialization and deserialization. -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. -![P12CpmA](https://user-images.githubusercontent.com/1297077/235745675-fc8a18e2-361f-4b7b-b9c9-47155e511b0a.png) + + + + + + + + + +
+
+        
+// 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.
-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. +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. -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/). +![Benchmark Graphs](https://user-images.githubusercontent.com/1297077/235745675-fc8a18e2-361f-4b7b-b9c9-47155e511b0a.png) -### Features +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](https://play.bebop.sh/). + +### Key Features - 🧙‍♂️  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. - 🐎  Snappy DX - integrate `bebopc` into your project with ease. Language support available in [VSCode](https://marketplace.visualstudio.com/items?itemName=betwixt.bebop-lang). -- 🍃  Light - Bebop has zero deps and a tiny runtime footprint. Generated code is tightly optimized. -- 🌗  RPC - build efficent APIs with [Tempo](https://docs.bebop.sh/tempo/). +- 🍃  Lightweight - Bebop has zero dependencies and a tiny runtime footprint. Generated code is tightly optimized. +- 🌗  RPC - build efficient APIs with [Tempo](https://docs.bebop.sh/tempo/). - ☁️  Runs everywhere - browsers, serverless platforms, and on bare metal. - 📚  Extendable - write extensions for the compiler [in any language](https://docs.bebop.sh/chords/what-are-chords/). -**👉 For more information check out the [docs](https://docs.bebop.sh). 👈** - +**👉 For more information, check out the [documentation](https://docs.bebop.sh). 👈** [_See You Space Cowboy_...](https://www.youtube.com/watch?v=u1UZHXB_r6g)