Hi,
I'm still deciding if I should learn Pascal or Nim. I want to create a Windows GUI app.
Using a Pascal tutorial, I could recreate a simple example in less than five minutes. Just a window with a button that, when clicked, shows a "hello world" popup.
I know that it will take longer with Nim, but I'd like to get a feeling on how does it works, preferably using one of the most popular libraries at this time. (perhaps nimx or wNim?).
Is there a tutorial on how to create a very simple GUI app with Nim?
Thanks!
On a side note, coming from Python and without a background in programming, I want to create a GUI desktop hotel reservation app. After doing some research on several programming languages, I'm still thinking if I should choose Nim or Pascal.
Hello all. Just added my (allmost) first item to the forum. Firstly thanks (to whom it concerns) for creating Nim. Very nice language. I come from python.
About the gui; I firstly looked at non-web desktop-gui's. NimX looked promising (cross-device) but it did not work on my computer (linux). Then thought why not use a webgui for a desktop-app. That way you may lateron easily webize you app. So now i use Jester, but it demands some (a lot) rethinking if you were acustomed to desktop-stuff. (nice youtube-video tutorial-vids exist). However with mobile app platforms getting more popular i thought html-apps are cross-device, but i dont have experience in mobile-development.
There does not appear to be a promotion towards any gui from the nim-people. Which is good for neutrality, but maybe not so good for creating a larger user-base. Or maybe it is.
Fidget by Treeform looks like a nice simple example... https://github.com/treeform/fidget
YMMV though as I have been unable to get it to work on OSx. I havent tried it on Windows or Linux yet.
I wonder what the difficulties would be in using the Lazarus LCL (Open Pascal version of Delphi's VCL) as a gui front end for nim. It already has an IDE to visually design the forms, we would just have to create a tool to link the nim event handlers to the pascal compiled forms.
It also targets most of the main platforms, Windows, OSx, Linux, IOS, and Android.