Re: Nim added to the CSV Game benchmark

2017-05-01 Thread cdome
Very pleased with the result, as I am particularly planning to read large CSV files with Nim in the near future. Good work

vcc didn't run the second spawn, any idea?

2017-05-01 Thread mashingan
I ran this snippet from os import sleep from random import random, randomize from times import cpuTime import threadpool var chan: Channel[string] chan.open proc chanWaiting() {.thread.} = let start = cpuTime() var lastTime = cpuTime()

Re: Python3.5 extension help needed

2017-05-01 Thread matkuki
Hey @qqtop, I fixed the first example above, could you try it again? Did you try importing the second compiled module from python3? It compiles on my machine too, but when I import the module from python3 it throws the error. Thanks, Matic

Re: Nim status in various OS/Distro Package Managers

2017-05-01 Thread Kryptonius
Probably old news to you all but it appears that NIM 0.16 is in Arch repos nowofficially supported...not AURpacman.

Re: Python3.5 extension help needed

2017-05-01 Thread qqtop
Maybe you have the newer python6 on Ubuntu or the .so file has a different link name ? For me the second example compiles without error on openSuse Tumbleweed. # The imported Python3 initialization function proc initialize*(){.cdecl, importc: "Py_Initialize" dynlib:

Re: Nim added to the CSV Game benchmark

2017-05-01 Thread zolern
Wow! I knew that Nim is fast, but SO FAST? Nice