r/FlutterDev • • Jul 18 '24 • All-Seeing Upvote 1

Community We build Code Push for Flutter - AMA!

(The following is written by Eric Seidel of Shorebird)

Hey all.  I co-founded the Flutter project 10 years ago and lead the Flutter and Dart teams at Google until 2022.  Since then I started a new company, Shorebird, around Flutter, where we’ve solved the #1 most upvoted Flutter issue: code push.  Code push has been out on Android for over a year now, and iOS for a few months.  We currently deliver millions of patches a month for thousands of developers.

AMA about anything Shorebird, Dart, Flutter, etc.  ~Felix Angelov~ (author of Bloc, Mason, Dart Frog, etc.) wrote a ton of Shorebird as did ~Bryan Oltman~ (former TL responsible for a bunch of Google’s internal usage of Flutter), we’d love to answer your questions here.

If you miss us here, we’re also always available on Discord (we run our company in the public there): ~https://discord.gg/shorebird~.

Accounts participating in this AMA:
u/eseidelShorebird: Eric Seidel

u/felangel1: Felix Angelov

u/BryanShorebird: Bryan Oltman

The AMA will begin at 1:00 PM US Eastern Time

120 Upvotes

48 comments sorted by

View all comments

Show parent comments

4

u/felangel1 Jul 18 '24 edited Jul 18 '24

Thanks! Small changes causing unexpected performance changes is an issue we’ve been working on for much of the last year. (e.g. ~https://github.com/shorebirdtech/shorebird/issues/1892~) At this point, we expect most customers should never experience any performance issues on iOS. If you haven’t already, we highly recommend re-releasing with the latest version of Shorebird and Flutter since a patch is always built using the same Flutter version as the release. If you are still experiencing significant performance issues with the latest version of Shorebird we’d love to work with you to diagnose the issue. The best way to reach us is either via Discord (https://discord.gg/shorebird) or by filing an issue on GitHub (https://github.com/shorebirdtech/shorebird/issues/new/choose)

1

u/k0ntrol Jul 20 '24

Is the performance hit due to JIT, temporary and stops once the user installs the updated version ? If that's the case then it's a massive win.

1

u/felangel1 Jul 20 '24

Only code modified in the patch will be interpreted (slower). Once the user updates to the next release, it’ll run at full speed again (entirely on the cpu).

1

u/k0ntrol Jul 20 '24

This should be put forward, that's massive

1

u/k0ntrol Jul 21 '24

Another question. How does this relate to android feature delivery ? As I understand it play feature delivery is essentially code push, but I've not used it so I'm not sure.