Re: Any new roadmap for 1.0 coming?

2016-09-17 Thread bpr
I'm also curious. The todo.txt file doesn't get me that excited; IMO the exciting stuff has been moved to "not critical for 1.0" I guess the flurry of activity about `concepts` has subsided and now they're in limbo again. Maybe that's as it should be; any feature that's **exciting** shouldn't be

Any new roadmap for 1.0 coming?

2016-09-17 Thread v3ss0n
Since we have a good survey , do you guys have a roadmap or plan for 1.0 now ? TLDR; Hype us so we can drool.

Re: Simple Python extension in Nim?

2016-09-17 Thread matkuki
I feel like an idiot for not spotting that. Thanks Araq!

Re: Simple Python extension in Nim?

2016-09-17 Thread Araq
You need to call `NimMain` in the C code, as documented.

Simple Python extension in Nim?

2016-09-17 Thread matkuki
Hi guys, I want to make a simple Python3 extension in Nim. I used the **Nim Backend Integration** ([http://nim-lang.org/docs/backends.html#interfacing-backend-code-calling-nim](http://forum.nim-lang.org///nim-lang.org/docs/backends.html#interfacing-backend-code-calling-nim)) example as a starti

Re: What does "direct hardware access" in Nim mean?

2016-09-17 Thread jangko
I don't think modern OSes will allow any user space application to access any hardware directly. Any hardware access must be performed through system calls(low level e.g. asm), which often encapsulated into function calls(higher level). But beside normal user space application, Nim can produce

Re: SIGSEGV when trying to define generic procedure

2016-09-17 Thread Krux02
I can't tell you what is going wrong, but apparently there is something going wrong. This is what works for me. type Vector[N: static[int], T : int|float] = array[N, int] proc `+`[N,T](lhs: Vector[N,T], rhs: Vector[N,T]) : Vector[N,T] = for i in 0..high(lhs) :

Re: What does "direct hardware access" in Nim mean?

2016-09-17 Thread jlp765
Nim also allows [Assembler statements and expressions](http://forum.nim-lang.org///nim-lang.org/docs/manual.html#statements-and-expressions-assembler-statement)

SIGSEGV when trying to define generic procedure

2016-09-17 Thread woggy
The following will fail to compile with error message 'SIGSEGV: Illegal storage access. (Attempt to read from nil?)': type Vector[T: int|float, N:static[int]] = array[N, T] proc `+`[T,N](lhs: Vector[T,N], rhs: Vector[T,N]) : Vector = for i in 0..high(lhs) : res