Live data from Hacker News

Flutter 2

developers.googleblog.com

191–200 of 780 posts

Re: Flutter 2

#192

The idea sounds very appealing, especially to an indie developer: being able to ship your app on multiple platforms from a single codebase is kind of the holy grail. Unfortunately, the result is.... I tested this Flutter example[1], on a 16" MBP with and i7, and it is janky as it can get, it feels like I'm using a 15 year old computer. From the code it looks like the whole thing is... rendered on canvas? I'll pass. […

Wow, this is some of the worst scrolling I’ve experienced on the web in a long time. Incredibly weird and not smooth at all on both a newer iPhone and Mac. Can’t copy text either.

Re: Flutter 2

#193
post #170

We're all complaining about how js is a bad language, tooling is a mess, and how the web is fundamentally built for documents and makes it hard to create app-like experiences. Now, Google comes and creates a whole new UI toolkit from scratch, couples it with a very beautiful SDK and component framework and offers a far better programming language than js could ever be but we're still nagging. I was also pretty disapp…

So now every website will require enabled WebAssembly to run god knows what code and I will have to install an anti-virus for my browser? No thanks. JS might be a bad language, but it's even worse in how it's abused with frameworks, tracking, etc for no good reason. edit: funny how I can discuss extremely controversial political topics here and never have any of my comments killed, but having a negative opinion about…

WASM is still stuck within a highly protected sandbox, so you don't need to run anti-virus software for your browser.

Re: Flutter 2

#194
post #70

Earlier quoted context omitted.

Classical MS move: spending more efforts on competing technologies than on their own (in this case dotnet).

Even Microsoft realize that Xamarin is not a tool for serious mobile or desktop development. Sure, you can get apps that work but they are 2.5x larger than if you had written them in Java or Kotlin and offer no more features than if you had done a hybrid mobile app with Ionic instead. Everyone thought Microsoft acquired Xamarin for the mobile dev tooling? No: it was the only way they could get the brain trust and the…

That would not be a problem, if you could publish a shared runtime in Google Play. Phones are still really bad platform.

Re: Flutter 2

#195
post #126

Earlier quoted context omitted.

Yeah, I haven’t been following Flutter, but I’m surprised their approach to the web is just shipping their entire custom layout/drawing code in WebAssembly and drawing everything with canvas. I would have expected them to actually port their native UI components (buttons, links, text, etc.) to their corresponding native components on the web, and maybe ship a custom layout engine if CSS layouts aren’t flexible enough…

We actually did try that as our first approach, but it really didn't give you the flexibility that Flutter developers expect. As the erstwhile editor of the HTML standard for ~10 years and the now TL of Flutter I must admit that it's weird to be creating a web framework that completely ignores all the HTML stuff I worked on before. :-) That said, Flutter is different from Flash in some important ways. Flash used the…

> to create true web apps that just happen to not use much of the control set that HTML exposes.

That is exactly defeating the point. Flash apps were also "true web apps" that only happen to use the "limited control set" of just .

> It's basically how every other platform works

That's why there has never been a UI toolkit as successful as the web.

Re: Flutter 2

#196
post #170

We're all complaining about how js is a bad language, tooling is a mess, and how the web is fundamentally built for documents and makes it hard to create app-like experiences. Now, Google comes and creates a whole new UI toolkit from scratch, couples it with a very beautiful SDK and component framework and offers a far better programming language than js could ever be but we're still nagging. I was also pretty disapp…

So now every website will require enabled WebAssembly to run god knows what code and I will have to install an anti-virus for my browser? No thanks. JS might be a bad language, but it's even worse in how it's abused with frameworks, tracking, etc for no good reason. edit: funny how I can discuss extremely controversial political topics here and never have any of my comments killed, but having a negative opinion about…

Wasm can't do anything JS couldn't do already.

Re: Flutter 2

#197

We're all complaining about how js is a bad language, tooling is a mess, and how the web is fundamentally built for documents and makes it hard to create app-like experiences. Now, Google comes and creates a whole new UI toolkit from scratch, couples it with a very beautiful SDK and component framework and offers a far better programming language than js could ever be but we're still nagging. I was also pretty disapp…

I just visited flutterfolio.com. The very first thing I tried to do is enter a username and Tab to the password field. But Tab just catapulted my input focus to the browser address bar. I mean, come on.

Re: Flutter 2

#198

The sad part of this is that the exact same thing could be done with real native code, much better perf and nicer footprint.

Yes, but to ship my app to both stores, I would have had 2 codebases if I had done what you're suggesting. It depends on whether your goals have a budget for spending that extra time. Not everyone is shipping an app that has such performance requirements.

Re: Flutter 2

#199
post #170

Earlier quoted context omitted.

So now every website will require enabled WebAssembly to run god knows what code and I will have to install an anti-virus for my browser? No thanks. JS might be a bad language, but it's even worse in how it's abused with frameworks, tracking, etc for no good reason. edit: funny how I can discuss extremely controversial political topics here and never have any of my comments killed, but having a negative opinion about…

WASM is still stuck within a highly protected sandbox, so you don't need to run anti-virus software for your browser.

Bitcoin miners?

Re: Flutter 2

#200
post #196
post #170

Earlier quoted context omitted.

So now every website will require enabled WebAssembly to run god knows what code and I will have to install an anti-virus for my browser? No thanks. JS might be a bad language, but it's even worse in how it's abused with frameworks, tracking, etc for no good reason. edit: funny how I can discuss extremely controversial political topics here and never have any of my comments killed, but having a negative opinion about…

Wasm can't do anything JS couldn't do already.

What JS can do is already bad enough.
Post reply on HN