Re: Send data structures between threads?

2016-08-26 Thread jyelon
So, this only sounds half-usable: yes, I can pass the json to some other thread, but then when it arrives at the other thread, I can't call library functions like "getFields" or even 'x == y' to examine the json (these functions take refs). So now I have a ptr to a json object that I can't pass

Re: lapack solver

2016-08-26 Thread dom96
I'm currently working with Pandas/Matplotlib in Python. They are very good libraries and I would love to see them wrapped in Nim. So for what it's worth, you have my support :)

Re: dts2nim: A TypeScript -> Nim bridge

2016-08-26 Thread euant
Oh, wow that's neat. Nice work! I've been meaning to look at TypeScript for a long time now, but have never got around to it.

Re: Where do I learn how to program Nim without a GC?

2016-08-26 Thread andrea
@Araq Is there any discussion anywhere of the region memory model? You cannot expect people to just guess that it exists... I am not sure if this is supposed to work right now, but I tried import system/gc_stack var rx: Region withRegion rx: discard 0

Re: dts2nim: A TypeScript -> Nim bridge

2016-08-26 Thread vega
Wow, cool! Thats what I wanted to do in the nearest future :) But I want to create this tool as a Nim macro that imports .d.ts files at compile time

Re: asynchttpserver and big request body

2016-08-26 Thread vega
@_tulayang, I think that `asyncstreams` must implement generic streams, not http. And API that you suggest can be implemented in asynchttpserver or another http related module, but not in generic streams. More opinions?

dts2nim: A TypeScript -> Nim bridge

2016-08-26 Thread mcc
Hello. I wanted to make a little announcement post for a project I've been working on. It's called "[dts2nim](https://www.npmjs.com/package/dts2nim)" and it's a way of bridging between TypeScript and Nim. [TypeScript](https://www.typescriptlang.org/) is a minimal extension of JavaScript which

Re: Concept[T] design question

2016-08-26 Thread boia01
Thanks @Zahary for feedback. Yes, I tried using a static: block myself but ran into issues too. I didn't know enough about the compiler and where concepts are headed so I figured I'd ask instead. Excited to hear that it might be possible some day!