how to switch nim version for vscode extension

2022-06-17 Thread severak
Now I have multiple version of nim on my windows machine and I am able to switch between them using `choosenim` or hadwritten `bat` files modifiying `PATH`. This works. However I wanted to switch nim version for [VSCode extension](https://marketplace.visualstudio.com/items?itemName=kosz78.nim)

how to have same version of dependencies on two different machines?

2022-06-13 Thread severak
After some fidddling here and there (manually installing nimpb, tweaking built process a bit), Cblake's method worked. Thanks a lot for posting it! However, I needed to compile nimble on both linux and windows, which is not exactly user friendly.

how to have same version of dependencies on two different machines?

2022-06-11 Thread severak
I was able to manually tweak which version of pixie will be used in build manually editing `nim c` call generated by nimble and displayed in error message. It's little step in right direction.

how to have same version of dependencies on two different machines?

2022-06-10 Thread severak
In February I stopped work on my [lunarender](https://github.com/severak/lunarender3) project. Today I wanted to setup demo server but I was stopped by not being able to compile it on linux. I developed it on windows with nim 1.6.2 and then I tried to compile it on linux (with nim 1.6.2). I

Nim v2: what would you change?

2022-06-02 Thread severak
I am new user and I am currently using Nim just for one part-time project currently. But I would like to contribute my 2 cents: * please keep old version of Nim available for compiling of old/legacy projects (it would be nice if new and old versions can be installed side by side) * document

How to find bottlenecks?

2022-02-10 Thread severak
it starts looking usable

How to find bottlenecks?

2022-02-08 Thread severak
Finally I got some time to [add benchmark](https://github.com/severak/lunarender3/commit/a798f93c76ec756dbb6cf9980cf00ab6c08f9a2a). It turns out that when compiled with `--d:release` (without any other changes) decoding is actually 17 times faster and fast enough for rendering test map for

How to find bottlenecks?

2022-01-29 Thread severak
Thanks for looking into it. It looks like a benchy is the thing I was looking for. > You seem to be loading your sqlite db on every request I was not sure if was safe to to share SQLite instance between server processes. But will try it (it's read only after all). > In your tile code you are p

How to find bottlenecks?

2022-01-28 Thread severak
://github.com/severak/lunarender3/blob/main/src/tile.nim>) and spot some obvious mistakes any help would be appreciated. Source code here - <https://github.com/severak/lunarender3> \- if anybody is interested.

good real life apps

2022-01-03 Thread severak
Hello all. With new year I started learning new language called Nim. :-) I needed some language which has usable stdlib and can produce small binaries both of which Nim can. However I wonder if there are any good real life apps written in Nim which I can learn from?