Nate Biggs
Nate Biggs
Consider the following code: ``` class A { int get foo => 3; int get bar => throw 'bad'; } void main() { final a = A(); debugger(); //
Adds support for loading dynamic module files to the Flutter wasm entrypoint script. The Dart SDK already tries to import this function when dynamic modules are enabled. ## Pre-launch Checklist...
Adds support for the experimental dynamic module feature to Flutter builds targeting wasm. Also adds the necessary loading mechanism to the entrypoint/embedder script to allow Flutter to load the additional...
Use this Future to gate compiled code post-processing on whether or not we know the app is a Flutter app. The wrapper logic we include depends on whether or not...
When users are running hot reloadable code, we store the dill file representing the previous program state as a base64 encoded string of the serialized dill file: https://github.com/dart-lang/dart-pad/blob/main/pkgs/dartpad_ui/lib/model.dart#L88 We should...
The wasm instruction set is constantly evolving as new proposals and features are added to the spec. We could implement usage of newer instructions as individual flags but it's difficult...
I have wasm code that is set up in such a way that I know if a deferred function is called, the module containing it will already have been loaded....
The Dart team is experimenting with using binaryen tools to support our deferred loading feature for users targeting wasm. We currently have experimental support for the feature by having the...
The wasm-split tool only has support for splitting functions but it does not support splitting globals. Rather than leave every global in the main module as an export, ideally the...
For a large file, wasm-split with --multi-split takes 3.5+ minutes to separate the file into ~350 submodules. My understanding is that --multi-split basically invokes split mode iteratively. I imagine it...