Earlier quoted context omitted.
> but it's also the fastest way to support Mac, Windows, and Linux all at once. Flutter exists too, and supports iOS and Android in addition to the desktop OSes. The dev time is pretty fast too imo. That said, idk how the performance compares to Electron or Native apps. As a small team, optimizing for "actually getting the thing shipped" is so much better than optimizing for speed anyway.
In my experience performance is about the same as native on mobile. On desktop I cannot compare as I thankfully never had to make cross platform desktop apps using native platform SDKs, but Flutter is doing fine. I am a working on a non trivial desktop app, and I am pretty happy about it. Hopefully the desktop story is going improve as Canonical is now leading the Flutter desktop side.
The Birth and Death of JavaScript (2014)
111–120 of 144 posts
Re: The Birth and Death of JavaScript (2014)
#112At the time I just thought it was funny. Now I find it surprising how much of these ideas ended up sticking around.
Re: The Birth and Death of JavaScript (2014)
#113Earlier quoted context omitted.
Flutter is great, still the fastest way to make cross platform mobile apps and you get desktop and web support essentially for free. Performance is very fast as it's all natively AOT compiled machine code without any web views like Electron.
On desktop does flutter have native access to the machine it's running on? Can it talk to printers for example?
Re: The Birth and Death of JavaScript (2014)
#114The problem is Wasm is not improving nearly as fast as predicted here. We don't have DOM manipulation so we will still need JS regardless as glue code, or just eschew HTML and CSS altogether and render everything on a canvas as Flutter and some Rust GUIs do but that's a shame to lose the feature set of the web.
Re: The Birth and Death of JavaScript (2014)
#115Earlier quoted context omitted.
Darts an amazing language too.
It is basically a revamped Java. Google lost the opportunity to actually make it take off, had they replaced the Java stack with Dart, instead of staying in the Java world and adopt Kotlin. However the Android team was never a great supporter from Dart in first place, hence why you won't find anything Dart on https://developer.android.com .
Re: The Birth and Death of JavaScript (2014)
#116JS became a compilation target (and it really did), and back then in the video it was asm.js (that's been deprecated, hasn't it?), but then WebAssembly came along... Seeing it actually being implemented and running natively, it seems his prediction was accurate. I mainly use TypeScript myself, and now with Electron, web technologies are wrapped into desktop apps, so web syntax has even entered computer programs. Peop…
Re: The Birth and Death of JavaScript (2014)
#117Earlier quoted context omitted.
To be fair there were a couple of disasters, such as [object Array] and undefined. Feels like the world is hanging on a single thread by now.
You probably meant [object Object] :) Since arrays have their own default toString implementation (its own can of worms that is the basis for JSFuck[0]), you'd have to go out of your way with Object.prototype.toString.call to get [object Array] [0]: https://jsfuck.com/ relies on Array#toString for casting values to strings
Since the "Array" is a reference to the prototype, I think it might be outdated due to changes in undefined behavior of runtimes when serializing array objects, or logging them.
I'm pretty sure that [object Array] used to be the result of logging an array at some point.
Object.prototype.toString
always returns the result of Array.prototype.join
per spec, afaik, so for an empty array it's the empty string.Re: The Birth and Death of JavaScript (2014)
#118Earlier quoted context omitted.
> but it's also the fastest way to support Mac, Windows, and Linux all at once. Flutter exists too, and supports iOS and Android in addition to the desktop OSes. The dev time is pretty fast too imo. That said, idk how the performance compares to Electron or Native apps. As a small team, optimizing for "actually getting the thing shipped" is so much better than optimizing for speed anyway.
https://www.qt.io/development/qt-framework#platforms looks to comply with the stated specifications.
"i can't program, i only make CRUD apps"
"i don't write anything that requires computation"
"i do server side rendering on a serverless platform"
in reality rails runs circles around typescript for productivity for CRUD/webapps.
Re: The Birth and Death of JavaScript (2014)
#119Earlier quoted context omitted.
It is basically a revamped Java. Google lost the opportunity to actually make it take off, had they replaced the Java stack with Dart, instead of staying in the Java world and adopt Kotlin. However the Android team was never a great supporter from Dart in first place, hence why you won't find anything Dart on https://developer.android.com .
Google uses Flutter/Dart for their own apps fairly frequently. Obviously not the right choice for the most complex apps. Android system programming and cross platform apps are use cases that are divergent enough that trying to smash them together would result in nobody being happy about the outcome.
Re: The Birth and Death of JavaScript (2014)
#120Earlier quoted context omitted.
It is basically a revamped Java. Google lost the opportunity to actually make it take off, had they replaced the Java stack with Dart, instead of staying in the Java world and adopt Kotlin. However the Android team was never a great supporter from Dart in first place, hence why you won't find anything Dart on https://developer.android.com .
Google uses Flutter/Dart for their own apps fairly frequently. Obviously not the right choice for the most complex apps. Android system programming and cross platform apps are use cases that are divergent enough that trying to smash them together would result in nobody being happy about the outcome.
As far as I am aware, most teams would rather use J2Objc or KMM than Flutter.