From 1c4a40d756d750ae932e2af172e38a1db231f875 Mon Sep 17 00:00:00 2001 From: Li Feng Date: Wed, 1 Feb 2023 09:09:25 +1100 Subject: [PATCH] Remove the mention of experimental features from readme as these are now fairly well tested. Also remove some redudant headers. --- README.md | 10 +++++----- support-lib/cpp/DataView.hpp | 3 +-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2b1d2e3c..83290c6f 100644 --- a/README.md +++ b/README.md @@ -267,10 +267,10 @@ value known to the compiler at compile time, then there is no runtime overhead. You may also call it with a dynamic value, in that case it's a fast array indexing operation. -## Experimantal WASM support +## WASM support Djinni can generate code that bridges C++ (that compiles to Web Assembly) and -Javascript/TypeScript in web browsers. This feature is currently experimental. +Javascript/TypeScript in web browsers. For WASM, Djinni generates: - C++ code, which should be compiled into the WASM bindary @@ -305,10 +305,10 @@ The command to run Wasm/TypeScript unit tests is `bazel run //test-suite:server-ts`. You will need the `tsc` compiler and the `browserify` tool to run these tests. -## Experimental async interface support +## Async interface support -With the new yaml type `future<>` we can now write Djinni interfaces that -return results asynchronously more easily. +With the new yaml type `future<>` we can now write Djinni interfaces that return +results asynchronously more easily. Instead of writing this: diff --git a/support-lib/cpp/DataView.hpp b/support-lib/cpp/DataView.hpp index 771ad7ae..d9e6f111 100644 --- a/support-lib/cpp/DataView.hpp +++ b/support-lib/cpp/DataView.hpp @@ -16,9 +16,8 @@ #pragma once +#include #include -#include -#include namespace djinni {