News for hackers. Stuff that matters.
Re:React Native for Windows and Mac by rafamvc on Tuesday May 12, 2020 @05:51PM (#23160384)
Flutter seems to be gaining ground on React Native. And they also have web and desktop ports. Recently flutter overtook react native on Google trends.
Re:React Native for Windows and Mac by owenversteeg on Tuesday May 12, 2020 @10:39PM (#23162865)
Flutter on the web is absolutely insane. For those who don't know, it basically strips away everything and wraps it in a big terrifyingly complex mess of code and renders everything in a canvas. Flutter advocates like to claim that that's "only a fallback" for when things get complex but as far as I can tell the vast majority of things (including the simplest examples from Flutter itself) force the entire thing into canvas: it's basically Flash 2.0, but worse.

I seriously hope that Flutter fades. It's very dangerous in many ways. Even ignoring the huge downsides of basically having a new Flash, consider this: the massive Flutter layer is, surprise surprise, yet another Google project that is magically _significantly_ slower in Firefox. I don't mean a small difference here, I mean that on a brand new fancy flagship I tested on, Flutter in Chrome is buttery smooth and Flutter in Firefox is a miserable, laggy experience. If it gets popular, this will become yet another reason pushing people off Firefox and cementing Google's dominance of the web.

Flutter is a very, very dangerous thing.

Re:React Native for Windows and Mac by snodnipper on Wednesday May 13, 2020 @12:24AM (#23163454)
Adobe Flex was my most productive client development experience over the past 20 years. I transitioned to Android _but_ there were many hideous things with that (e.g. ghastly emulator, legacy Java support etc.).

My personal hope is that Flutter gains traction and the web can move beyond current web/native technology. Postscript / PDFs aren't suitable for game experiences...and to my mind web standards have been shoehorned into supporting web apps, where there is a mismatch with native technologies. I'd like to think that Flutter can help bridge that gap.

This is not to say that accessibility etc. should be ignored...nor better support in Firefox...but even Brendan Eich is using Blink/V8 with Brave.

Anyhow, thoughts of one.

Re:React Native for Windows and Mac by dilap on Wednesday May 13, 2020 @09:21AM (#23166618)
As hated as flash was, there was a whole creative ecosystem of really unique games / art pieces that died off with it. A shame.
Re:React Native for Windows and Mac by nojvek on Wednesday May 13, 2020 @03:52AM (#23164545)
Ahhhh Adobe Flex with MXML and ActionScript3. Before Typescript and React with JSX got popular that was the cool kids club. RIAs yo! Rich internet applications.

I loved what Flex brought to the table. Too bad Adobe didn’t open source flash and let it die.

Re:React Native for Windows and Mac by KuhlMensch on Wednesday May 13, 2020 @04:08AM (#23164657)
It lives on in web APIs
Re:React Native for Windows and Mac by K0nserv on Wednesday May 13, 2020 @04:40AM (#23164852)
This is an insane approach on all platforms and it's depressing that Flutter is gaining mind share. Throwing away the whole platform and rendering everything from scratch with OpenGL/Vulkan etc is just flabbergasting.

Having worked with/on React Native for ~3 years I am definitely not a fan but at least React Native enables using native components directly even if this happens too rarely.

Re:React Native for Windows and Mac by biggestdecision on Wednesday May 13, 2020 @06:41AM (#23165507)
Goodbye accessibility.
Re:React Native for Windows and Mac by yesimahuman on Tuesday May 12, 2020 @06:44PM (#23160994)
I would be careful with Flutter’s web port. It’s going to be a pretty divergent approach in terms of web dev familiarity, bundle size, and compatibility with native web features (they had to implement copy and paste from scratch, for example). It is very similar to the approach Famous took back when. It is not looked kindly upon by many web platform advocates I know.
Re:React Native for Windows and Mac by gitgud on Tuesday May 12, 2020 @07:24PM (#23161330)
The Flutter web port is ridiculous. It circumvents the entire point of a Web page as it's literally just a canvas on the Web page.

You lose all advantages that HTML and CSS gives you, links, styling, accessibility, text selection! ... It's basically a flash website... Which admittedly is okay for some applications

Re:React Native for Windows and Mac by exacube on Tuesday May 12, 2020 @09:00PM (#23162188)
You might be misinformed; according to https://medium.com/flutter/hummingbird-building-flutter-for-... Flutter for Web uses HTML & CSS where it can, and falls back to Canvas where it can't.

Flutter for Web is still on Beta, so lets see where it lands. Today, it seems to implement some PWA practices and lazyloading to try and get some performance.

Re:React Native for Windows and Mac by gitgud on Tuesday May 12, 2020 @09:35PM (#23162446)
Well that article is from 2018 and kind of overemphasises the HTML and CSS where it can.

Checkout the official [1] Flutter web demos. Even the simplest [2] example renders basically every part of the UI (including text!!) within canvas elements, which is a bit crazy to me... but yes it's still Beta, so we'll see what they can improve

[1] https://flutter.github.io/samples/#?platform=web

[2] https://flutter.github.io/samples/web/animations/#/

Re:React Native for Windows and Mac by Klathmon on Tuesday May 12, 2020 @10:48PM (#23162921)
Wow that's pretty insane. I can't select any text on any of those examples, I can't open anything in a new tab, and I can't save any images.
Re:React Native for Windows and Mac by wiradikusuma on Tuesday May 12, 2020 @11:01PM (#23162985)
For some web app, that's a feature
Re:React Native for Windows and Mac by akie on Wednesday May 13, 2020 @07:37AM (#23165808)
I got a big grey screen on the first three I clicked. Not sure if this is ready for prime time...
Re:React Native for Windows and Mac by Yabood on Wednesday May 13, 2020 @01:52AM (#23163879)
I wonder how SEO is handled for web applications built with Flutter since its mostly canvas.
Re:React Native for Windows and Mac by dmitriid on Wednesday May 13, 2020 @05:43AM (#23165163)
They also create a thousand webcomponent wrappers to display this.
Re:React Native for Windows and Mac by contextfree on Tuesday May 12, 2020 @08:36PM (#23162002)
Isn't this consistent with Flutter's approach in general, though? On iOS, Android, etc., it uses its own widget toolkit and does its own rendering, it's not a wrapper over the native toolkits and renderers.
Re:React Native for Windows and Mac by _bxg1 on Tuesday May 12, 2020 @07:59PM (#23161658)
It's Flash all over again, with a fresh coat of paint.
Re:React Native for Windows and Mac by monocularvision on Wednesday May 13, 2020 @08:57PM (#23173876)
I look forward to the day when the folks that shout the benefits of Electron desktop development start screaming over Flutter ruining the web because “it ignores everything that’s good in the browser!”
Re:React Native for Windows and Mac by zubnix on Wednesday May 13, 2020 @07:40AM (#23165823)
Not sure what browser you're using. But here it's actually using webcomponents and CSS houdini to render all demos I tried. Nowhere did I see any canvas usage.
Re:React Native for Windows and Mac by duxup on Tuesday May 12, 2020 @09:35PM (#23162445)
I only did some reading about Flutter for web and I kept thinking "Wait ... is this the web anymore then?"

Admittedly I need to go back and check but it was confusing and worrisome.

Re:React Native for Windows and Mac by dgentile on Tuesday May 12, 2020 @09:05PM (#23162238)
Is it WebGL?
Re:React Native for Windows and Mac by liquidise on Tuesday May 12, 2020 @06:11PM (#23160642)
Particularly outside of the US, in my experience. Having spent considerable time in React, RN, and Flutter the difference is remarkable. Unless devs are big fans of JS, Flutter is a compelling alternative [1].

1: https://blog.benroux.me/us-devs-are-sleeping-on-flutter/

Re:React Native for Windows and Mac by yesimahuman on Tuesday May 12, 2020 @06:45PM (#23161013)
Your conclusion re: Cordova is pretty outdated. Also these days folks are moving to Capacitor instead.
Re:React Native for Windows and Mac by notJim on Tuesday May 12, 2020 @07:09PM (#23161232)
Cordova has a pretty high "Would not use again" score: https://2019.stateofjs.com/mobile-desktop/cordova/. No data on Flutter or Capacitor unfortunately.
Re:React Native for Windows and Mac by aylmao on Tuesday May 12, 2020 @07:09PM (#23161231)
> Recently flutter overtook react native on Google trends.

How did you query this? I want to have a look, but the fact "flutter" shows data since 2004 means the terms I'm using are inflated [1]. Flutter is a dictionary word after all.

[1]: https://trends.google.com/trends/explore?date=all&geo=US&q=r...

Re:React Native for Windows and Mac by joan_kode on Tuesday May 12, 2020 @07:22PM (#23161313)
Don't limit your search to the US. The "dictionary word" problem is reduced in worldwide search, which shows a more convincing trend for flutter. Though I wouldn't say it has a large or clear-cut lead on React Native.

https://trends.google.com/trends/explore?date=all&q=react%20...

Re:React Native for Windows and Mac by aylmao on Wednesday May 13, 2020 @03:48AM (#23164518)
Oh true, good idea!
Re:React Native for Windows and Mac by JoeOfTexas on Tuesday May 12, 2020 @07:25PM (#23161338)
The community is finally at its first apex. I tried it this past weekend, and the VSCode setup was so sexy and easy to get started. I dropped React-Native in a heart beat, even losing a few weeks of work.

The biggest gripe I have with React-Native is the many JS packages on npm that we can't use due to how the code is exported. It's a huge hack job, which Flutter absolutely destroyed by having everything I needed as a package that just worked.

One thing I'm looking at on Flutter, is how their public packages age. If I can't use a 3 year old package on modern day Flutter, there will be some big problems coming soon.

Re:React Native for Windows and Mac by scotth on Tuesday May 12, 2020 @11:09PM (#23163041)
A three year old package would be an issue with Flutter. The move to Dart 2 was not backwards compatible.

That said, there's an effort in the community to find maintainers for older packages that people find useful. If you come across something that you need, post back, or shoot me an email.

Re:React Native for Windows and Mac by RcouF1uZ4gsC on Tuesday May 12, 2020 @06:20PM (#23160745)
Windows Forms was released on 2002 and is still supported by Microsoft. How long do you think Flutter will be supported by Google? For dev technology, Microsoft has a well-deserved reputation for supporting products for a long time.
Re:React Native for Windows and Mac by filleduchaos on Tuesday May 12, 2020 @06:34PM (#23160894)
> How long do you think Flutter will be supported by Google?

I am curious about how often this sentiment gets brought up about Go or Kubernetes.

Re:React Native for Windows and Mac by bsaul on Tuesday May 12, 2020 @06:45PM (#23161020)
Go and kubernetes clearly have reached a critical user mass that makes one confident other companies will maintain it even if for some reason google abandons ship.

flutter on the other hand is tremendously complex, and has yet to display any major company having bet their future on it.

Re:React Native for Windows and Mac by pjmlp on Wednesday May 13, 2020 @02:49AM (#23164181)
I guess it depends on how frozen Go features happen to remain. while all modern alternatives release their value types + AOT tooling support.
Re:React Native for Windows and Mac by inapis on Tuesday May 12, 2020 @07:38PM (#23161470)
At least Kubernetes won’t be in trouble since its no longer under the aegis of Google. CNCF is now the maintainer.
Re:React Native for Windows and Mac by wolco on Tuesday May 12, 2020 @09:00PM (#23162185)
Go can easily within a year fade away to be replaced with something else. Remember MongoDB?
Re:React Native for Windows and Mac by benbristow on Wednesday May 13, 2020 @04:45AM (#23164877)
MongoDB still seems to be around and kicking?
Re:React Native for Windows and Mac by wolco on Wednesday May 13, 2020 @08:38AM (#23166236)
I'm still a MongoDB cerificated developer. The popularity has dropped as with the amount of positions available.

There may come a time when this applies to Go.

Re:React Native for Windows and Mac by decafninja on Wednesday May 13, 2020 @10:14AM (#23167077)
I'm curious, what seems to be the Next Big Thing that is superceding MongoDB?
Re:React Native for Windows and Mac by wolco on Wednesday May 13, 2020 @06:29PM (#23172565)
Graphql. Managed databases. A new beginning with Postgres for some.

Postgres is not new. It was part of my stack 10 years ago. So many new people have moved to postgres it has become hot.

Re:React Native for Windows and Mac by RcouF1uZ4gsC on Wednesday May 13, 2020 @04:42PM (#23171605)
My guess is returning to SQL databases. An SQL database can handle a surprisingly large workload pretty well and provides some very nice correctness guarantees.
Re:React Native for Windows and Mac by int_19h on Tuesday May 12, 2020 @06:24PM (#23160788)
It... depends. Remember Silverlight?
Re:React Native for Windows and Mac by unsignedint on Tuesday May 12, 2020 @06:32PM (#23160882)
The last version of Silverlight, Silverlight 5 is actually supported until next year, 10 years after the initial 5.x release, which is not really "short" by any standard.

It's mostly the browser's ecosystem moved away from these for more standard based approaches.

Re:React Native for Windows and Mac by int_19h on Tuesday May 12, 2020 @09:02PM (#23162201)
"Supported" in a sense of patching security holes, sure. Not so much in a sense of writing new apps in it, or using modern tools to maintain old apps (support was dropped in VS 2017). So in that regard it's very unlike MFC or WinForms, which both enjoy continuous tooling support, and fixes and minor enhancements outside of security.

FWIW, I think your criticism is broadly valid, in that it's more of an exception for Microsoft, but much more common for Google. It's not hard to look at the Windows dev ecosystem, and see which parts of it are very stable, and likely to be around long term - because they have already been around for very long indeed.

Re:React Native for Windows and Mac by unsignedint on Tuesday May 12, 2020 @10:13PM (#23162696)
I think the difference between MFC and WinForms, compared to Silverlight is that former are still widely used. albeit less than in the past with a lot more prevalence of web based applications.

Silverlight in other hand is a technology no modern web browsers support (in the same camp with gradually deprecated Flash and everything that requires plugins.), and perhaps to Microsoft it's a lot less justifiable to update it beyond security update.

Re:React Native for Windows and Mac by dragonshed on Tuesday May 12, 2020 @08:48PM (#23162086)
Ahh, the good ol days. I lost count of how many Xaml-based UI Frameworks got released. In 2011 I started learning web development for UI, almost immediately after Microsoft announced Windows 8 and WinRT at build. This graphic [0] was the writing on the wall.

[0] https://softwareengineering.stackexchange.com/questions/1555...

Re:React Native for Windows and Mac by int_19h on Tuesday May 12, 2020 @09:05PM (#23162232)
To be fair, not all of them were like that. E.g. WPF is very similar to WinForms, in that it doesn't see any major new features, but there's constant ongoing maintenance (including fairly big items, such as getting it to run on .NET Core), and all the development tooling is fully supported as well.
Re:React Native for Windows and Mac by KaoruAoiShiho on Tuesday May 12, 2020 @06:05PM (#23160572)
Any other evidence? I don't "feel" this, flutter seems to be floundering from what I've seen.
Re:React Native for Windows and Mac by ProAm on Tuesday May 12, 2020 @06:46PM (#23161030)
The problem with flutter is you never know when Google will stop investing in the product at any moment when the devs shift their priority.and let it die on the vine.
Re:React Native for Windows and Mac by happa on Tuesday May 12, 2020 @07:41PM (#23161488)
People love to say this but rarely provide concrete examples. Google has a habit of discontinuing unsuccessful services, not technologies like SDKs or whole programming languages.
Re:React Native for Windows and Mac by frabcus on Wednesday May 13, 2020 @03:54AM (#23164555)
It makes me think of Google Web Toolkit.

Not exactly abandoned - it seems to have been maintained for 10 years, although no stable release for the last couple of years.

It does feel like it would have been a dead end to get into though.

My worry with Flutter is the same - it won't get large enough adoption by other tech companies, and Google will move on to something else.

I think it'll still hang out as open source project. But will it get the large investment to make improvements as the various OSs change over the long time?

Re:React Native for Windows and Mac by aiyodev on Wednesday May 13, 2020 @12:27AM (#23163483)
Hit me up on Google Wave and I'll explain it to you.
Re:React Native for Windows and Mac by NateEag on Tuesday May 12, 2020 @09:25PM (#23162374)
Angular.js is currently causing problems for me, as it's going to be unsupported in about a year.
Re:React Native for Windows and Mac by fastball on Tuesday May 12, 2020 @10:24PM (#23162751)
Re:React Native for Windows and Mac by NateEag on Wednesday May 13, 2020 @03:58PM (#23171108)
The point is precisely that I have to do that.

GP asked for evidence of Google abandoning things, and Angular.js is exactly that.

Upgrading to an incompatible framework is not supporting the old one.

Re:React Native for Windows and Mac by fastball on Thursday May 14, 2020 @08:23AM (#23178577)
If you can "upgrade", then it's not incompatible.

Every major revision of software has breaking changes (or as you call them, "incompatibilities"), some more than others (see Python 2 -> 3).

That doesn't mean it's "abandoned". Google made major API changes and renamed it to better communicate that it's not some simple JS framework – calling that abandoned is disingenuous. It's only abandoned in-so-far as every old version of every software ever gets abandoned at some point.

Re:React Native for Windows and Mac by NateEag on Thursday May 14, 2020 @01:11PM (#23182216)
Excuse me, I used imprecise language.

I cannot upgrade.

I have to port, due to the backwards-incompatible changes.

Those changes may well be for the better, but for those of us maintaining stable programs, porting means increasing risk of failure for no perceivable end user benefit.

Microsoft is much better at supporting old tools and software, at least historically.

Re:React Native for Windows and Mac by erichurkman on Tuesday May 12, 2020 @11:36PM (#23163218)
Dated, but Google Gears?
Re:React Native for Windows and Mac by thekyle on Tuesday May 12, 2020 @09:56PM (#23162585)
AngularJS
Re:React Native for Windows and Mac by bsaul on Tuesday May 12, 2020 @06:43PM (#23160988)
Same feeling here. still waiting for that killer flutter app to convince me one can actually build a real app with decent latency in flutter
Re:React Native for Windows and Mac by chirau on Tuesday May 12, 2020 @06:52PM (#23161085)
What do you mean by killer exactly?

Splice is now on flutter, including web. I'd say that is a pretty demanding app.

Re:React Native for Windows and Mac by dmix on Wednesday May 13, 2020 @02:05AM (#23163950)
I checked out Splice and they are using Angular/Rails for their web app? Both builtwith and HTML source code for their marketing website and logged in app indicate this.

I watched their talk video [1] and they seemed to have only built an MVPish app using Flutter (ie, less than a year using it + a team of two devs). And it only seems to be for the desktop app?

Maybe I'm missing where they are using it on the web... but I wouldn't call this a huge buy in.

[1] https://www.youtube.com/watch?v=FcjPNKmyrlM

Re:React Native for Windows and Mac by bsaul on Wednesday May 13, 2020 @04:46AM (#23164885)
I mean an app with a large user base built in majority with flutter.
Re:React Native for Windows and Mac by wtetzner on Tuesday May 12, 2020 @07:11PM (#23161251)
A killer app is something like Rails. Rails made Ruby popular, because it was so good that people who otherwise wouldn't have been interested in Ruby were willing to use it for the benefits they got from Rails.
Re:React Native for Windows and Mac by satvikpendem on Tuesday May 12, 2020 @08:57PM (#23162147)
I suppose Flutter is Dart's killer app, since you're comparing frameworks and languages. Rails is to Ruby as Flutter is to Dart, as it were. I suggest you give it a try. Personally, this felt like the "killer" feature to me, fully advanced animations that I'm not sure are possible on native widget based frameworks: https://www.youtube.com/watch?v=FCyoHclCqc8
Re:React Native for Windows and Mac by hopia on Tuesday May 12, 2020 @09:02PM (#23162210)
Wouldn't Flutter be the killer app to Dart as Rails was to Ruby by your analogy?
Re:React Native for Windows and Mac by wtetzner on Tuesday May 12, 2020 @10:00PM (#23162616)
Maybe? I don't know enough about it to say. I was just trying to clarify what a "killer app" was by using an example.
Re:React Native for Windows and Mac by Sophistifunk on Tuesday May 12, 2020 @08:52PM (#23162115)
Flutter on desktop has been "right around the corner" for about 5 years now.
Re:React Native for Windows and Mac by scotth on Tuesday May 12, 2020 @11:07PM (#23163018)
I've been building in Flutter for desktop (macOS) for a year and a half. It's _still_ feeling early, but if you're comfortable writing a bit of native code, it pretty much just works (for single window applications — hopefully that changes soon).
Re:React Native for Windows and Mac by Sophistifunk on Thursday May 14, 2020 @09:16PM (#23187761)
Writing code I'm fine with, it's coaxing other peoples' code to build that drives me nuts.
Re:React Native for Windows and Mac by drewbitt on Tuesday May 12, 2020 @09:00PM (#23162189)
But Flutter didn't come out until 2017?
Re:React Native for Windows and Mac by Sophistifunk on Tuesday May 12, 2020 @10:47PM (#23162914)
Not for iOS and for the public, but Google had been talking about and demoing for a long time before that.