From bf1d9c5980dc4b0d6d7433fd4d454de7a00d6849 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 12 Aug 2022 13:40:45 +0200 Subject: [PATCH] Add a short README for the c++ dataflow example --- examples/c++-dataflow/README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 examples/c++-dataflow/README.md diff --git a/examples/c++-dataflow/README.md b/examples/c++-dataflow/README.md new file mode 100644 index 00000000..f910af62 --- /dev/null +++ b/examples/c++-dataflow/README.md @@ -0,0 +1,5 @@ +# Dora C++ Dataflow Example + +This example shows how to create dora operators and custom nodes with C++. + +Dora does not provide a C++ API yet, but we can create adapters for either the C or Rust API. The `operator-rust-api` and `node-rust-api` folders implement an example operator and node based on dora's Rust API, using the `cxx` crate for bridging. The `operator-c-api` and `node-c-api` show how to create operators and nodes based on dora's C API. Both approaches work, so you can choose the API that fits your application better.