Re: Nim + Flutter == bright future?

2019-03-30 Thread george33
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

macros to generate class

2019-03-30 Thread tbutton
hello, i want use urho3d. for this, i need create class with functions. i made it {.emit:"class MyApp:public Application{public:MyApp(Context* context):Application(context){}virtual void Setup();virtual void Start();virtual void Stop();};".} proc Start{.codegenDecl:"$#

Re: How to compile and run a Nim program on the Android?

2019-03-30 Thread mashingan
try more the recent post [https://forum.nim-lang.org/t/3575#22318](https://forum.nim-lang.org/t/3575#22318)

Re: How to compile and run a Nim program on the Android?

2019-03-30 Thread mrhdias
I tried to follow the recipe of this [post](https://forum.nim-lang.org/t/1866#11698) but without success :-( $ wget https://dl.google.com/android/repository/android-ndk-r19c-linux-x86_64.zip $ unzip android-ndk-r19c-linux-x86_64.zip S

Re: How to compile and run a Nim program on the Android?

2019-03-30 Thread cantanima
> If I change the location and try to run it gives another error: not > executable: magic 7F45 That sounds like the executable is not built correctly. I hope someone helps you find a solution, because I'm also interested in using Nim to build Android executables. Kotlin is pretty good, but it

Re: How to compile and run a Nim program on the Android?

2019-03-30 Thread mrhdias
Yes I enable developer options and software from untrusted sources. I discovered that the problem is to write on the sdcard0. If I change the location and try to run it gives another error: not executable: magic 7F45 $ adb push test /data/local/tmp/test $ adb shell

Re: Nim + Flutter == bright future?

2019-03-30 Thread mrhdias
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?

2019-03-30 Thread george33
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) ,

Weird results on aarch64

2019-03-30 Thread blmvxer
Just recently I found weird results when testing my RandIP on Aarch64 compared to Armv7l or even x86_64. Every connection even if false comes out as true on aarch64 compared to any other Arch nim ''' proc main(): string {.discardable.} = randomize() var ip0 = rand(1..255) ip1 =

Re: Nim + Flutter == bright future?

2019-03-30 Thread Libman
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.

Nim + Flutter == bright future?

2019-03-30 Thread george33
I haven't seen any suggestion about Flutter adoption in Nim. For me it is obvious that Nim much better Dart and a lot of people if they have options would choose Nim if they used Python or another concise languages. Anyway Nim needs universal C++/Js GUI and Flutter is the best choice for

How I feel about Nim

2019-03-30 Thread zulu
Nim is easy to write but hard to read. I often have troubles coming back to my projects and trying to understand the little differences of nim compared to my other projects in more mainstream languages. Due to the very few medium to advanced projects out there I often struggle to follow

Re: Owned refs

2019-03-30 Thread Araq
> My understanding is the "destructors" proposal helps to significantly reduce > ref usage, and the new proposal gets rid of the GC for those remaining refs? > Is that fair to say? Yes.

Re: How to compile and run a Nim program on the Android?

2019-03-30 Thread cantanima
/system/bin/sh: /storage/sdcard0/Download/test: can't execute: Permission denied Run Have you: 1. Enabled developer options? 2. Enabled running software from untrusted sources? My understanding is that you have to do this before you try to run self-installed,