Live data from Hacker News

Flutter 3.47

flutter.dev

161–170 of 231 posts

Re: Flutter 3.47

#161
post #154
post #128

Earlier quoted context omitted.

While the server side is still growing and obviously not as huge as Java etc., Dart definitely is being used on the backend. For instance, https://pub.dev/ itself is written in Dart: https://github.com/dart-lang/pub-dev . :) The language, like any other, does have some weaker parts, but in general is _very_ nice to write in - thanks to both the language itself and the toolchain built around it. The apps compile to na…

For production you may consider using dart VM also since it benefits from AOT and can actually be faster than a binary after it gets hot, similar to Java.

Correct. At the cost of using more RAM, of course.

Re: Flutter 3.47

#162

Earlier quoted context omitted.

Redux is great and it solves exactly that problem. You create a selector. You use the selector in a React component. The component re-renders when the selector outputs a different value, with the usual reference equality caveat. Does it get any simpler than that? However, yes, I have seen most developers use Redux incompetently. They would use actions like "setOrder" instead of "itemAdded", defeating the purpose of a…

They might have been using Redux before it did a major API change in the form of slices.

That would be about 7 years ago, when Redux Toolkit released in 2019.

Re: Flutter 3.47

#163
I vouch for Flutter over React Native; we built https://macrocodex.app/ with 16,000+ users already!

And it's completely free no ads, no subscriptions, or donations, for the public benefit of improving health and fitness.

It's a guaranteed weight loss or gain app; results within 2-5 weeks! Don't believe? well just read reviews. We do not have Revenue, so no money to spend on marketing.

OK so that's brief description of what we built now flutter part:

The Flutter development experience is very smooth; you rarely run into any issues, just be careful not to block the UI isolate. Sometimes bad structuring issues or ui bugs may end up blocking your UI.

My experience is in Backend (java, rust, c++, go, ruby, python etc..) and this is the first time i built a mobile app. And same is true for other guys on the team.

Some limitations are from the underlying platform and not Flutter. Initially, I thought the lack of OTA was a dealbreaker (as App Store / Play Store approvals are a slow loop) and Expo might be better, but the lack of OTA made me structure the app differently and it turned out it's not as big of a deal actually.

We also managed to have a PWA app (for nearly free) by using Flutter web, so it also runs on devices which do not support the Play Store or App Store, giving us max coverage across the board.

We tested react native but found it slow (your code runs in Hermes VM so you need to write native code to offload) and dev tools aren't as good as flutters imho. Dart AOT, which is what runs on iOS/Android, is much faster by default, so you'll hardly ever feel any need to write native code. And when you do need to write native code, we use some for WorkManager and HealthConnect it's very easy! Just be careful with R8; you might have to set rules (though most plugins ship with rules these days) but if you are writing native code in java/kotlin you may have to do this on your own, or it can sometimes break things!

I am glad I picked Flutter over React Native! I had my doubts, but I am glad I looked at their "architecture" rather than the hype of the subreddits.

Re: Flutter 3.47

#164
post #141

Earlier quoted context omitted.

As someone who used all these frameworks professionally for years, I highly agree. Although, I do not prefer Expo due to it's highly annoying build system and dependency hell, but React Native itself in that case. While I understand Google wants a horse in this race, Flutter doesn't feel like a horse to bet on. - Dart is a really _ugly_ language with lots of tiny annoyances. Its as if someone took worst parts of Java…

Google has two horses in this race, because Android team doesn't acknowledge Flutter and rather go with KMM and Compose, alongside JetBrains.

The internal divisions with this are really amusing. The big driver towards Flutter seems to be needing an iOS app, but Google really underinvests in those (YT being the exception, but it might as well be a different company).

Re: Flutter 3.47

#165
post #116

Does anyone know if the original promise of their simple layout model proved itself? IIRC, the Flutter team mentioned how using just width/height constraints is enough to represent all relevant layouts. This sounds very nice, being so much simpler than Flexbox and miles ahead of CSS Grid ergonomics. Did it live up to the promise or did they expand the model with Flex/Grid/etc?

It's much easier to fix flutter layout issues than CSS on web in my experience.

Re: Flutter 3.47

#166
post #74

While I've used Flutter since Alpha, I've been away for a few years. A few things have shocked me in these release notes: how come Impeller still wasn't the default engine for all platforms? Also, why are they migrating to WASM if one of the core features of Dart is compiling to JavaScript? Finally, how come multi window support only get viable now, after four years having desktop support? Honestly, Flutter is an ext…

We've been hearing that Flutter is going to be killed any day now for almost a decade. And yet here we are, it's a stable platform that's quietly chugging along with massive 3rd party buy in. Honestly, Google could abandon it at this point and it would have enough momentum to keep going just fine. Where is Compose Multiplatform? Does anyone actually use that, is it even stable yet?

The fact is, more and more companies are actually picking Flutter. :) Sony praises Flutter on embedded. LG has added extension to allow Flutter apps on its WebOS. Toyota is developing a Flutter game engine, which is already used in some of its cars.

Re: Flutter 3.47

#167

I vouch for Flutter over React Native; we built https://macrocodex.app/ with 16,000+ users already! And it's completely free no ads, no subscriptions, or donations, for the public benefit of improving health and fitness. It's a guaranteed weight loss or gain app; results within 2-5 weeks! Don't believe? well just read reviews. We do not have Revenue, so no money to spend on marketing. OK so that's brief description o…

I wanted to love flutter. It’s just so hard to commit to anything like this Google makes without a full expectation of getting rug pulled.

Re: Flutter 3.47

#168
post #164
post #141

Earlier quoted context omitted.

Google has two horses in this race, because Android team doesn't acknowledge Flutter and rather go with KMM and Compose, alongside JetBrains.

The internal divisions with this are really amusing. The big driver towards Flutter seems to be needing an iOS app, but Google really underinvests in those (YT being the exception, but it might as well be a different company).

If you want to have more fun on this matter,

https://www.youtube.com/watch?v=VX6nAvRWQg4&t=3418s

Re: Flutter 3.47

#169
Very happy that it's still maintain, because that's the only real framework that allow an easy dev for a decently fast app with one code base that works on linux, windows, mac, ios and android at once.

It's super nice.

Re: Flutter 3.47

#170

I vouch for Flutter over React Native; we built https://macrocodex.app/ with 16,000+ users already! And it's completely free no ads, no subscriptions, or donations, for the public benefit of improving health and fitness. It's a guaranteed weight loss or gain app; results within 2-5 weeks! Don't believe? well just read reviews. We do not have Revenue, so no money to spend on marketing. OK so that's brief description o…

As someone coming from MacroFactor, estimating macros on food is the hardest part of dieting. So your app is great but it tackles the part of dieting that people aren't stuggling with and doesn't address the part that they do struggle with.

Most dieting apps are pushing for the AI photo and barcode scanning to make estimating easier and though far from perfect, it makes the whole experience at least somewhat doable.

Post reply on HN