(no title)
mraleph | 2 years ago
That's not how Flutter works on either of the platforms it supports.
When you run natively (e.g. mobile, desktop, etc) Skia or Impeller execute natively and all your Dart code is compiled ahead-of-time to native code as well. No JS or Wasm is involved anywhere in the stack. No JIT compilation in release binaries, only during development.
When you run on the Web - then naturally Skia is compiled to Wasm and Dart code is compiled to JS or Wasm, JS VM will end up running both of those. No Dart VM is involved anywhere here.
fxtentacle|2 years ago
(EDIT: WARNING that link crashes Firefox on my phone)
https://superdash.flutter.dev/
it sure looks like there are parts of the Dart VM in the call stack. Maybe I should have said Dart runtime?
But anyway, the dart example app stutters on my Android phone and the website stutters on my quad-core laptop with a mobile 3080. And it's basically just tappy chicken, so a simple 2D side scroller.
fxtentacle|2 years ago
(From https://github.com/AvaloniaUI/Avalonia/discussions/6831#disc... )
flashback2199|2 years ago
https://bonfire-engine.github.io/examples/bonfire-v3