Re: Nim + Flutter == bright future?
Nim + Flutter, this could be the dream.
Re: Nim + Flutter == bright future?
Flutter + Dart = bright future ([https://www.cleveroad.com/blog/flutter-ui-framework](https://www.cleveroad.com/blog/flutter-ui-framework)) But Flutter + Nim ... I don't think so
Re: Nim + Flutter == bright future?
Why not Flutter in Nim? This post ([Thought Experiment: Flutter in Go](https://divan.dev/posts/flutter_go/)) show some directions to implement this idea! With DSL (Domain-specific Language) is possible build a Flutter widget tree in Nim?
Re: Nim + Flutter == bright future?
> Dart VM is redundant for Flutter. See for example Flutter for Go with no Dart > (VM) Go is only being used to implement the hardware abstraction layer for Flutter to work on the desktop. The application itself is still written in Dart and the resulting executable embeds the Dart VM. You can find the Dart files in the `lib` directory of the example apps. Dart is integral to Flutter, as it is used in particular as the layout language for the UI, which relies on Dart-specific language features. While this can in principle be done in other languages, too, that would require a lot of porting effort, as the current codebase to implement that consists of hundreds of thousands of lines of Dart and C++.
Re: Nim + Flutter == bright future?
Dart VM is redundant for Flutter. See for example Flutter for Go with no Dart (VM) [https://github.com/go-flutter-desktop/go-flutter](https://github.com/go-flutter-desktop/go-flutter)
Re: Nim + Flutter == bright future?
I looked into Nim+Flutter but unfortunately found that you currently can't call into the Dart VM from C/C++/Obj-C. I think there's some ongoing work to make this easier but today your entry point into a Flutter app has to be a Dart 'main' function. But if that's acceptable you should be able to call a Nim function from Flutter.
Re: Nim + Flutter == bright future?
"Dart's OOP for GUI design." Inside Flutter is regular C++ components and OOP can be used from any language (because of C++). "I don't see how you'd be able to convince Google." For what? It is open sources. Until Google push developers to Dart, Nim has a chance to become a great alternative, because the same trans-piling philosophy allows Nim to be better option on this field (Flutter design).
Re: Nim + Flutter == bright future?
I feel better with Bulma CSS Framework + Material Design Theme for Bulma, or Spectre CSS framework, or NimX. I tried Kivy, all the screenshots looks awesome, but the feel of the use is kinda clunky, you can check Kivy IDE made on Kivy on Desktop feels weird and alien, feels too Tablet'y. For phone games is cool tho, but I will rater use Godot for that anyway.
Re: Nim + Flutter == bright future?
Flutter relies on the Dart VM's hot reload for development and Dart's OOP for GUI design. And even if you could make it work, I don't see how you'd be able to convince Google.
Re: Nim + Flutter == bright future?
People are not happy when have to study and adopt a new non-popular complex framework. If make for them adoption a popular and superior framework their satisfaction and interest obviously will be much bigger. I want to use Nim and such reason for sure force me do that. Nim + Flutter tears like a rag Dart + Flutter in app speed and code productivity. Only the question How To? I believe Nim + Flutter binding gives Nim big opportunity to come out from the shadow .
Re: Nim + Flutter == bright future?
Another alternative: [https://kivy.org](https://kivy.org) Nim can speed up up this framework. The rapid adoption of Nim can pass through the mobile apps.
Re: Nim + Flutter == bright future?
Current version is for Android & iPhone. This year Google promised to release stable version for desktop & web [https://github.com/google/flutter-desktop-embedding](https://github.com/google/flutter-desktop-embedding) , [https://medium.com/flutter-io/hummingbird-building-flutter-for-the-web-e687c2a023a8](https://medium.com/flutter-io/hummingbird-building-flutter-for-the-web-e687c2a023a8) . Flutter is rich Material Design Set with charts, per-pixel drawing, animations, etc from the box. Making wrapper for it or around it gives modern and superior UI for Nim apps with the same or less efforts as nimX :)
Re: Nim + Flutter == bright future?
Flutter is just Android & iPhone, right? I'd rather see advancement of [nimX](https://github.com/yglukhov/nimx) to make truly portable GUIs, including OpenBSD desktop, [Librem5](https://puri.sm/products/librem-5/) phone, etc.