Re: Is there a 2D game framework recently updated for Nim ?

2019-04-07 Thread Tomek
Update: This weekend I decided to try Haxe once again. I successfully installed the Lime library, and built a simple example (via compilation Haxe -> C++). Results: 1) It works. Although the compilation time is VERY, VERY, VERY, ..., VERY LONG in comparison to both Nim and Go. I can only hope,

Re: Is there a 2D game framework recently updated for Nim ?

2019-04-06 Thread Tomek
TL;DR: It's not that hard to develop custom framework for simple 2D games in Nim. Well, I'm new to Nim, and to game programming (and game frameworks / libraries), yet two weeks ago I had been working on some old game remake for a month. (Then I had to stop with this pet-project of mine, since I

Re: Nim vs V language

2019-04-06 Thread Tomek
> Lack of significant whitespace improves readability and maintainability of > large code bases (...) Unless somebody provides a good research on this topic, I dare to say, that it is total BS. BTW, many people complain about syntax with significant whitespace, and still use whitespace to inde

Begginer's question - pointers and refs

2019-03-19 Thread Tomek
I'm still new to Nim (got it a couple of days ago). Both versions work. Which one is better? (It is not clear, or I have missed something in docs.) The first: var sdl_rect : Rect sdl_rect = ( (cint)0, (cint)0, (cint)10, (cint)10 ) # usage: (addr sdl_rect), when ptr Rect is