Earlier quoted context omitted.
Or maybe because native apps are a better experience, nearly every time. True multi-threading, native code performance, latest UI implementation, more and better hardware access/performance, etc.... I can keep going but the point is that the web really is the lowest common denominator. That isn't bad but it also isn't how you build the best experience.
If OS vendors wanted web-apps to succeed, they could have done a lot more than they have done so far. E.g. better integration, or improved web standards to optimize for certain cases.
Flutter 2
651–660 of 780 posts
Re: Flutter 2
#652Earlier quoted context omitted.
Let's say you get a JSON API that sometimes returns a list, sometimes returns an object. How do you model that in Dart?
Yes, union types are really nice for data like that. But, in practice, a language's type system tends to optimize for the data structures that are idiomatic in the language. TypeScript is a heavily structural type system because idiomatic JavaScript often throws together unrelated types in this way (which makes sense when you're coming from dynamic types). In a language that is built more strongly on objects and stat…
Re: Flutter 2
#653Earlier quoted context omitted.
> and it is janky as it can get, it feels like I'm using a 15 year old computer. Ironically computers 15-20 years ago with native software ran much, much much faster and snappier. KDE3, XFCE, even Windows 98SE and XP were much faster. They were crippled by disk I/O, true, but once the software loaded, the feedback was inmediate .
Just as a bit of counterpoint, I'm still running the same hardware right now as I was 12 to 15 years ago with KDE3, nowadays KDE5 is so much faster than KDE3 ever was. Yes I need to upgrade badly, yes I was planning to just a few months ago, but prices seem a bit crazy now, so I'm still continuing with my ancient but somehow still operational hardware.
Re: Flutter 2
#654We'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…
How many times has Google done this? And then gotten bored of their own work? JavaScript, with all its many many warts, is widely supported, incredibly popular, and not going anywhere. I'm not about to waste my limited weekend time learning Flutter 2, knowing it's going to be in the trash bin by 2023. I'd rather suffer through some more JS warts and get better at avoiding them.
They're still updating GWT, so I'm not sure what you me by that.
Re: Flutter 2
#655Earlier quoted context omitted.
[Flutter ... here] Currently I'm counting four or maybe five different HN users in this thread indicating this affiliation. I appreciate this open look into the organization. We're probably getting a more honest idea about what really goes into the sausage. Still, your PM might be less happy about this thread...
Actually, PMs love open, honest feedback. Keep it coming! Chris Sells PM, Flutter
Re: Flutter 2
#656While Flutter works for mobile I cannot see Flutter for web succeeding. The latter will end up in the Google graveyard for sure.
Re: Flutter 2
#657Earlier quoted context omitted.
Syntax, semantics, code organization and best practices, libraries, frameworks, debugging and debuggers, IDE support (preferably multiple IDEs for multiple platforms), LSP support, linters, profilers, disassemblers, dependency license checkers, dependency vulnerability scanners, package managers, package repository with support for private repos and proxying/mirroring, should I go on and on and on? Your toy app takes…
The fact is that even considering all those points, Flutter+Dart is still much easier to learn than Swift+iOS and Kotlin+Android (even separately). And I'm not even considering Desktop.
> Desktop
JetBrains Compose.
Re: Flutter 2
#658Earlier quoted context omitted.
Dart is extremely easy to pick up if you've written in any C style language. Someone in our team had a small Android TV app working in 2-3 days with WebSockets, web views, some animations, etc.
Yeah but it’s usefulness is really limited and just feels shoehorned into the project. Why couldn’t it have been Kotlin or TS? Something that mobile developers or web developers could jump into and keep a bunch of their existing tooling.
Re: Flutter 2
#659Earlier quoted context omitted.
Then you would've needed to package a JVM or a JavaScript engine, making the app distribution a whole lotta different deal.
Kotlin doesn't just run on the JVM - it can compile to native binaries with Kotlin Native. It compiles to WASM and JS too.
Re: Flutter 2
#660Earlier quoted context omitted.
F: A few months ago I'd have said apps. Now after their latest spat with A, maybe they're having a think? A: web, for sure. That's how they make their money. A: I wonder how much money they would lose if they shut down their website? Would they sell their stuff on A instead? N: Who cares, it's only there to make the acronym nicer. G: Web.
What would Microsoft say?