Skip to content

Commit 30ba42a

Browse files
authored
[rfw] Remove scripting language integration section from README (#10726)
Fixes: [#179586](flutter/flutter#179586) ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent 40f248d commit 30ba42a

File tree

3 files changed

+5
-31
lines changed

3 files changed

+5
-31
lines changed

packages/rfw/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.1.1
2+
3+
* Removes obsolete scripting language integration section in README.md.
4+
15
## 1.1.0
26

37
* Adds support for the `Flexible` core widget.

packages/rfw/README.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -936,36 +936,6 @@ This example also shows how an application can implement custom local
936936
code for events; in this case, incrementing a counter (both of the
937937
"remote" widgets are just different ways of implementing a counter).
938938

939-
### Integrating with scripting language runtimes
940-
941-
The example in `example/wasm` shows how a program could fetch logic in
942-
addition to UI, in this case using Wasm compiled from C (and let us
943-
briefly appreciate the absurdity of using C as a scripting language
944-
for an application written in Dart).
945-
946-
In this example, as written, the Dart client could support any
947-
application whose data model consisted of a single integer and whose
948-
logic could be expressed in C without external dependencies.
949-
950-
This example could be extended to have the C program export data in
951-
the Remote Flutter Widgets binary data blob format which could be
952-
parsed using `decodeDataBlob` and passed to `DynamicContent.update`
953-
(thus allowing any structured data supported by RFW), and similarly
954-
arguments could be passed to the Wasm code using the same format
955-
(encoding using `encodeDataBlob`) to allow arbitrary structured data
956-
to be communicated from the interface to the Wasm logic. In addition,
957-
the Wasm logic could be provided with WASI interface bindings or with
958-
custom bindings that expose platform capabilities (e.g. from Flutter
959-
plugins), greatly extending the scope of what could be implemented in
960-
the Wasm logic.
961-
962-
As of the time of writing, `package:wasm` does not support Android,
963-
iOS, or web, so this demo is limited to desktop environments. The
964-
underlying Wasmer runtime supports Android and iOS already, and
965-
obviously Wasm in general is supported by web browsers, so it is
966-
expected that these limitations are only temporary (modulo policy
967-
concerns on iOS, anyway).
968-
969939
## Contributing
970940

971941
See [CONTRIBUTING.md](https://github.com/flutter/packages/blob/main/packages/rfw/CONTRIBUTING.md)

packages/rfw/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: rfw
22
description: "Remote Flutter widgets: a library for rendering declarative widget description files at runtime."
33
repository: https://github.com/flutter/packages/tree/main/packages/rfw
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+rfw%22
5-
version: 1.1.0
5+
version: 1.1.1
66

77
environment:
88
sdk: ^3.9.0

0 commit comments

Comments
 (0)