Hacker News new | ask | show | jobs
by fauigerzigerk 2370 days ago
I agree with starting to learn. But whether or not Flutter is the right choice may depend the app.

Flutter allegedly consumes about twice as much memory as a native app. So I guess it matters who the target audience is and what kind of device specification can be expected.

Disclaimer: I have never written a Flutter app and I'm not sure if the information I have found is still up-to-date.

2 comments

Can you give any sources for twice as much memory argument of flutter compared to native? What do you mean with memory exactly, is resulting binary twice as big or does the flutter app neads twice as much main memory?
I was looking for some benchmarks two weeks ago because I find Flutter interesting, and I found two benchmarks showing twice as much RAM usage at runtime (not the app binary) for some simple demo app. I no longer have the link, but I can try to find it.

Edit: What I have also found is that there are plans (or ongoing work) to port Flutter to Apple's Metal framework, which should cut memory usage by a lot on iOS.

Edit 2: Here's one of the benchmarks: https://thoughtbot.com/blog/examining-performance-difference...

Hey cool thank you! This is an interessting question how different cross platform approaches compare in terms of performance.
>> Flutter allegedly consumes about twice as much memory as a native app.

Would be interesting to benchmark Flutter's memory use vs. the app that was never built because of the lack of time, steep learning curve, boredom, etc, to deliver both iOS and Android natively.