5 ms·
Isn't flutter the anti thesis of that? Making performant JavaScript apps is much much easier than making a performant flutter or especially flutter web app
by mardifoufs 3y ago
Isn't flutter the anti thesis of that? Making performant JavaScript apps is much much easier than making a performant flutter or especially flutter web app
- themerone 3y agoYou can use dart without flutter.
- mardifoufs 3y agoAbsolutely, but for webapps, is there any other options using dart? For the record, dart is one of my favorite languages. I'm just a bit sad that it is more or less tied to flutter (not by design, just because it's the main usage it gets)
- freedomben 3y agoHow do you feel about Java? How about Ruby? (If you have worked with those). I'm mainly asking so I have a baseline for what your preferences are. Considered Dart in the past but haven't tried yet
- mardifoufs 3y agoI dislike ruby, purely as a matter of personal preference. As a baseline, python is probably as "dynamic" as I can tolerate, and java I just don't have enough experience with sadly enough. I use mostly c++/go/python with some julia and rust (not enough to have tons of experience with it though!). I'd day try dart, it's very easy to pick up. In some odd ways it reminds me of swift!
- freedomben 3y agothank you!
- satvikpendem 3y agoJaspr is one such framework, it is written similarly to Flutter but it instead outputs HTML, CSS and JS.
- mdhb 3y agoThey are a couple of weeks away from launching a major rewrite of Web support. Historically it was clunky and weird. Now it’s able to use the exact same Web APIs that you’re already used to but now in a type safe way and much much better type safety guarantees that Typescript provides. Example code here: https://github.com/dart-lang/web/blob/main/example/example.dart https://github.com/dart-lang/web/blob/main/example/example.d...
- divan 3y agoI have an opposite experience. Making performant JavaScript app require years of learning hacks of web ecosystem. Which is unsurprising, given that web apps build on the foundation layer not suited for performant UI apps. Flutter apps are performant out of the box, because, well, it was designed with this goal in mind.
- lxgr 3y agoNo idea if it's any better on Android, but on iOS I can recognize a Flutter app within seconds, by the frame rate on a new iPhone dropping to something I haven't seen on any mobile device (iOS or Android!) since the Android 2.2 days on extremely underpowered Qualcomm chips.
- bschwindHN 3y agoYep, my typical experience with flutter apps is having way more frame drops, and occasional bugs which lock up the entire UI and require an app restart. Thankfully I think google is moving towards just using the platform UI for most apps, though I can't remember where I read that so take it with a grain of salt.
- cageface 3y agoMost likely they’re not using the new impeller rendering engine. My flutter app is very smooth on iOS and I didn’t have to put in any fancy hacks to make it that way.
- teho 3y agoFlutter apps have god awful performance when there is even a single platform view on the screen. In effect this means that if the app is monetized by ads, have any video, map embed or anything of the sort, it will have sub-30fps and very janky scroll even on iPhone 15 Pro and it really seems that there is no hacks to save you.
- mdhb 3y agoThat hasn’t been true for over a year maybe two at this point.
- deleted 3y ago[deleted]