News for hackers. Stuff that matters.
Re:Graphical User Interface Using Flutter in Embedded System... by chgibb on Wednesday October 28, 2020 @05:00PM (#24924091)
Issues with/dislike of Dart is a pretty common refrain. This project is still very early days but the intent is to bring Flutter into Typescript https://github.com/chgibb/hydro-sdk

Eventually I hope to bring Flutter to C#, Haxe, and (maybe stretching it) eventually Kotlin, Java and Scala.

Re:Graphical User Interface Using Flutter in Embedded System... by mhoad on Wednesday October 28, 2020 @06:19PM (#24924764)
I genuinely don’t get the Dart hate, especially when TypeScript is the alternative. They are so similar.

But this is exactly what happened to Angular. There is a TypeScript version (fairly popular) and a Dart version (barely used outside of Google but is used for some of their biggest money making projects like AdWords).

I’ve only recently discovered Dart having come from Ruby land for the last 8 years and I could easily see Dart becoming my new go-to language in the future.

I think it’s currently criminally underrated and sadly doesn’t have a huge amount of adoption outside of Flutter at the moment but I’m looking to build my next serious web backend with it.

If you’re looking for a good introduction as to why I think it’s such a good language this video does a decent job of explaining the benefits https://youtu.be/J5DQRPRBiFI

Re:Graphical User Interface Using Flutter in Embedded System... by proverbialbunny on Wednesday October 28, 2020 @05:17PM (#24924247)
>Eventually I hope to bring Flutter to C#, Haxe, and (maybe stretching it) eventually Kotlin, Java and Scala.

Like this? https://pub.dev/packages/starflut

"A new flutter plugin project, which supports flutter to interact with other scripting languages such as python, java, ruby, golang, rust, etc. It is easy to use, supports android and ios platform."

Full warning, I have zero experience with this plugin and zero experience with Flutter.

Re:Graphical User Interface Using Flutter in Embedded System... by chgibb on Wednesday October 28, 2020 @09:01PM (#24925957)
Thanks for the link! I actually haven't seen that project before.

As far as I can tell, starflut appears to offer basic script running with pass through of primitive types from Dart -> guest languages.

Hydro-SDK strives to offer far deeper integration between Dart -> guest languages up to and including extending from Dart classes in guest languages, and passing instances seamlessly back and forth with little overhead.

Re:Graphical User Interface Using Flutter in Embedded System... by JD557 on Wednesday October 28, 2020 @05:04PM (#24924135)
As a Scala dev, having flutter support would be awesome.

When I started to learn the language, it was being hyped as a viable alternative for Android apps (which has been abandoned since 2.10, IRCC).

Kotlin seems nice, but after getting used to a stronger type system, it's hard to go back.