Live data from Hacker News

Ask HN: React Native or Flutter?

news.ycombinator.com

41–50 of 101 posts

Re: Ask HN: React Native or Flutter?

#42
post #2

I picked Flutter and I'm really happy with it. The latest release of Flutter makes me even happier as there are some nice improvements. I'm using Material components because for me it is the bootstrap of UX these days and requires little thought to make a fairly clean UX. As a developer I can just drop in components as necessary. * Hot reload, on device, works and works well. * Really nice error messages (in latest r…

« fast » isn’t that obvious. The « vegetable » demo app on the app store lags on scrolling on an iphone10.

Re: Ask HN: React Native or Flutter?

#43
post #16

Neither of them. Qt, Xamarin, PWA, C++ with native views would be my picks.

I swear to God, a feature I'd literally pay to have on HN is a verifiable tag on each username that provides info on how many years and in what domain a person has been working, because some of the shit in these comments is patently absurd. C++ with native views? Seriously?

Yes, C++ with native views.

How do you think Microsoft does Office on Android and iOS?

As for verification, they have plenty of talks at CppCon and BUILD about how they do it.

EDIT: to save you some work.

CppCon 2014: Zaika Antoun "Microsoft w/ C++ to Deliver Office Across Different Platforms, Part I"

https://www.youtube.com/watch?v=3HROqnw-nf4

CppCon 2014: Zaika Antoun "Microsoft w/ C++ to Deliver Office Across Different Platforms, Part II"

https://www.youtube.com/watch?v=MGMoRu5yrVc

Reacting to Dropbox: another take on cross-platform C++ development

https://dev.to/tanker/reacting-to-dropbox-another-take-on-cr...

Ashampoo Systems GmbH

https://www.boden.io/

Re: Ask HN: React Native or Flutter?

#44

Earlier quoted context omitted.

I swear to God, a feature I'd literally pay to have on HN is a verifiable tag on each username that provides info on how many years and in what domain a person has been working, because some of the shit in these comments is patently absurd. C++ with native views? Seriously?

I’m pretty sure they’re joking and it’s a good joke at that. If serious, well then web dev deserves its reputation.

No joke, follow the path of the likes of Microsoft and Office team.

Re: Ask HN: React Native or Flutter?

#45

Earlier quoted context omitted.

I’m pretty sure they’re joking and it’s a good joke at that. If serious, well then web dev deserves its reputation.

I hope it's a joke and I'm being too sensitive, I really hope that's the case...

Fully serious, Office for iOS and Android is done with C++ and native views.

Re: Ask HN: React Native or Flutter?

#46
I have seen this question before on HN and I think my previous response seems to be relevant to this and should help the OP.

This ultimately depends on your situation. I would have said Flutter since it is past 1.0 and RN is still in beta. But my main problem here is that you will quickly run into difficulty in attempting to use C/C++ libraries in Dart.

Dart has beta support for native FFI but it is not stable unlike RN. Right now, they instead have 'Platform Channels' which has a significant overhead when passing messages back and forth compared to a native FFI. The issue is still open on Github: https://github.com/flutter/flutter/issues/7053

I can reuse and port my JavaScript/TypeScript projects into mobile very quickly thanks to React Native. Flutter on the other hand, requires learning Dart which depending on your use-case makes sense if it is a new project, not so if you have invested in JavaScript.

Perhaps once Dart gains a production-level C/C++ FFI, then I can seriously look at both Dart and Flutter again.

Re: Ask HN: React Native or Flutter?

#48
post #30
post #23

React Native. Not because of the framework, because they both work well, but hiring a JS dev is about a billion times easier than hiring a Dart dev so if you need someone to support you later things will go much better.

I dabbled with Dart for sometime, got an impression that a competent Java/C# developer can pick up Dart in no time, I think hiring shouldn't be an issue.

There are a bunch of problems. Firstly, people simply don't apply for jobs that use languages they don't know. That makes filling a role really hard. Secondly, if someone has to learn the language when they join that puts a lag on how quickly they can be useful. You can't go as fast, which is bad if you're a startup. And lastly, companies are (usually) very reluctant to let someone spend the first few months getting up to speed if a technology choice means they can recruit people who'll immediately be effective.

That's not to say using a less popular language is a bad idea (it isn't), just that hiring should be a part of the technology decision making process.

Re: Ask HN: React Native or Flutter?

#50
post #18

Earlier quoted context omitted.

Quite the contrary, what I have seen around here is that what would have been a Cordova/Ionic project, nowadays is usually done as PWA.

Well it's only an impression I have. I'm not seeing much use of PWAs in the wild, and there seem to be fewer articles touting them, but that's just my sample. If what you say is true, I'd be pleased.

Even Microsoft has replaced their JavaScript UWP bindings (WinJS) for PWAs.

https://developer.microsoft.com/en-us/windows/pwa

Chrome has added support for PlayStore PWAs (TWA)

https://developers.google.com/web/updates/2019/02/using-twa

And even Apple has improved the support since iOS 12.2.

Post reply on HN