News for hackers. Stuff that matters.
Re:Is Kotlin Multiplatform Replacing Flutter? by zerr on Friday June 21, 2024 @04:18AM (#40747331)
Unlike RN, Flutter is desktop worthy.
Re:Is Kotlin Multiplatform Replacing Flutter? by wg0 on Friday June 21, 2024 @04:24AM (#40747374)
Hardly. Performance lags. Even after the new rendering engine. Try compiling and then running desk top samples (a mail client, a finance management tool) on macOs and check the amount of jank in animations.

Text fields are whole another story. They feel alien in UX on every platform.

I can live with that but performance is a deal breaker.

Re:Is Kotlin Multiplatform Replacing Flutter? by bschwindHN on Friday June 21, 2024 @04:48AM (#40747521)
Yep, Flutter performance absolutely _sucks_ on older hardware, which they obviously aren't testing on.
Re:Is Kotlin Multiplatform Replacing Flutter? by frizlab on Friday June 21, 2024 @05:01AM (#40747613)
On newer hardware too.
Re:Is Kotlin Multiplatform Replacing Flutter? by bschwindHN on Friday June 21, 2024 @05:28AM (#40747782)
Well that's a shame, I don't have a new phone at the moment but was assuming it was at least somewhat fast on newer hardware.
Re:Is Kotlin Multiplatform Replacing Flutter? by chipweinberger on Friday June 21, 2024 @01:13PM (#40751614)
Wow I have not had that experience on macOS.

MacOS support is so good that I've developed a MacOS app just for convenience so I don't need to open the iOS simulator.

Re:Is Kotlin Multiplatform Replacing Flutter? by jamil7 on Friday June 21, 2024 @04:42AM (#40747496)
Eh, I was recently contracted onto a native macOS team (Swift), the company had an adjacent desktop team who opted to use Flutter, they had a lot of problems and ended up dropping the project. I don't know the details but there was a lot of weird edge cases they ran into on desktop. They had a mobile app partially in Flutter (different team again) which seemed to be OK, however.
Re:Is Kotlin Multiplatform Replacing Flutter? by netdur on Friday June 21, 2024 @04:59AM (#40747585)
The problem with Flutter is that it's a UI framework that relies on a single main thread. If you put something heavy there, you'll get lag. In contrast, other languages like SwiftUI let you easily spawn threads. Flutter dismisses this as outdated and instead promotes an isolated model with completely separate memory... for reasons.
Re:Is Kotlin Multiplatform Replacing Flutter? by jamil7 on Friday June 21, 2024 @05:05AM (#40747650)
OK good to know, yeah, we even have a whole new concurrency model in Swift which makes offloading things a lot safer and easier than it used to be.
Re:Is Kotlin Multiplatform Replacing Flutter? by akmarinov on Friday June 21, 2024 @05:07AM (#40747667)
Unlike Flutter, React is web worthy
Re:Is Kotlin Multiplatform Replacing Flutter? by zerr on Saturday June 22, 2024 @05:07AM (#40757553)
React Native for Web is not quite React.js as I understand.