Live data from Hacker News

Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

blog.codemagic.io

91–100 of 186 posts

Re: Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

#91
post #39

Was hoping to see a comparison with https://www.nativescript.org/

This needs to be higher up -- Nativescript is Flutter's biggest competition and IMO it's better than Flutter, because it doesn't require investing in Dart and switching to the Flutter "ecosystem" completely.

Didn't know about Nativescript. Did you try it already?

Re: Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

#92
post #83

Earlier quoted context omitted.

Isn't there the danger that Apple just forbids/bans this remote code reloading/replacement to protect their users? I mean it's a loophole that can get abused (and likely is) for stuff that wouldn't make it through the review process in first place..

Definitely crossed my mind. It'd be easy enough to submit a legitimate app and then modify the content it serves to be something malicious. No idea if/when a follow up review might catch that outside of user reporting. But in the scenario where apple decides to no longer allow OTA updates, you're just back to the extended review process that native apps have to go through, so I think the productivity gains make it wo…

I always wondered why Someone doesn’t make a YouTube like app that connects to content repositories via end to end encryption so Apple can’t see what content you are accessing. You could connect to something like Khan Academy for educational videos. This would also allow you to connect to Pornhub or something similar in a native experience without Apple being able to stop it.

Re: Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

#93
post #88

A lot of the power that flutter has comes from hot-reload. Dart + JIT powers this. I noticed that SwiftUI does this too. I wonder if SwiftUI composits and paints onto an underlying CALayer just like flutter does.

Swift UI hot reload i'm guessing is less flexible than flutter's

Re: Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

#94
post #39

Was hoping to see a comparison with https://www.nativescript.org/

This needs to be higher up -- Nativescript is Flutter's biggest competition and IMO it's better than Flutter, because it doesn't require investing in Dart and switching to the Flutter "ecosystem" completely.

How is it different from being the angular / vue.js edition of react native? Does it implement its own render & view layer in c++ like flutter does?

Re: Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

#95
post #30

Looking at Flutter vs React Native, the only comparison of interest for, perhaps most of us, Flutter for the win! Lower dev resources and way lower cpu usage. Dart is lovely, the docs are great, wide array of great UI widgets, and easy animation. As for hot reloading, well, you just have to experience the difference.

> Lower dev resources Learning a completely new language in Dart to even get started with Flutter doesn't seem like low dev resources. With React Native you are using: - Javascript which most devs have a grasp on in 2020 - JSX which really isn't much different to HTML - Styling is practically just CSS with slightly different property formatting and naming If you've decided to go down the RN then theres a decent chanc…

If you are an iOS or Android developer already, learning dart vs the mess that is javascript seems more appealing. I would imagine something similar for non-JS backend developers.

Web devs are not the only kind of developer out there.

Re: Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

#96

Earlier quoted context omitted.

Because they carry around 10+ versions of compatibility debt

Why can't they release breaking changes under a major release?

Because there are many, many angry people with existing codebases that they would break, and you would get something like the python 2 to 3 saga.

iOS already pushes way too many breaking changes with every major swift release. A real break would be too much. They do it incrementally via things like jetpack compose or swift UI.

Re: Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

#97

Don't miss the link at the bottom of the article to CPU utilization numbers. tl;dr: Flutter and React Native are dramatically easier to develop for than native toolkits and Flutter CPU utilization is better than native toolkits. That... is not what I was expecting.

Flutter is what I call the game engine design, that happens to simulate mobile UI toolkits. It's a native c++ render and view layer, so it has the potential to be as performant as native iOS & Android code.

Re: Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

#98
post #68

X vs Y thing is always fun to read. We would all agree that Native apps are still better than RN and Flutter ones. So choosing either platform is a decision you need to take whether you want something fast and compromise on few thinks like look and performance or you want something solid. Secondly the issue with flutter is Dart. If you're a startup with 3 guys, working on Go lang for backend APIs, React / Svelte for…

Flutter isn’t going to get shelved. It is the UI framework for Fuchsia. I agree Dart is its biggest problem but Fuchsia prides itself on not having a single system language so I’m sure you’ll be able to target the flutter framework from kotlin and swift and rust and go soon. Also Dart isn’t hard.

TBH skimming the dart language, the only thing that was holding me back was the lack of optional types, and with dart 2.7 it looks like they've added it:

https://medium.com/dartlang/dart-2-7-a3710ec54e97

Re: Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

#99
post #83

Earlier quoted context omitted.

Definitely crossed my mind. It'd be easy enough to submit a legitimate app and then modify the content it serves to be something malicious. No idea if/when a follow up review might catch that outside of user reporting. But in the scenario where apple decides to no longer allow OTA updates, you're just back to the extended review process that native apps have to go through, so I think the productivity gains make it wo…

I always wondered why Someone doesn’t make a YouTube like app that connects to content repositories via end to end encryption so Apple can’t see what content you are accessing. You could connect to something like Khan Academy for educational videos. This would also allow you to connect to Pornhub or something similar in a native experience without Apple being able to stop it.

Yes you can do that, and get banned as soon as Apple finds out.

Re: Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment

#100
post #83

Earlier quoted context omitted.

Definitely crossed my mind. It'd be easy enough to submit a legitimate app and then modify the content it serves to be something malicious. No idea if/when a follow up review might catch that outside of user reporting. But in the scenario where apple decides to no longer allow OTA updates, you're just back to the extended review process that native apps have to go through, so I think the productivity gains make it wo…

I always wondered why Someone doesn’t make a YouTube like app that connects to content repositories via end to end encryption so Apple can’t see what content you are accessing. You could connect to something like Khan Academy for educational videos. This would also allow you to connect to Pornhub or something similar in a native experience without Apple being able to stop it.

There's a huge area of seemingly obvious user-centric products that don't exist simply because there isn't a working business model to support it.
Post reply on HN