Re: tanya library 0.2.0

2017-02-22 Thread Eugene Wissner via Digitalmars-d-announce
On Wednesday, 22 February 2017 at 13:00:19 UTC, Kagamin wrote: On Sunday, 19 February 2017 at 11:41:44 UTC, Eugene Wissner wrote: realloc() can move memory and if an object of type A has references to other objects in the array, the objects will be corrupted. "A" should be a POD-type.

Re: tanya library 0.2.0

2017-02-22 Thread Kagamin via Digitalmars-d-announce
On Sunday, 19 February 2017 at 11:41:44 UTC, Eugene Wissner wrote: realloc() can move memory and if an object of type A has references to other objects in the array, the objects will be corrupted. "A" should be a POD-type. Otherwise you have to allocate new memory, initialize it, copy the

Re: tanya library 0.2.0

2017-02-19 Thread Eugene Wissner via Digitalmars-d-announce
On Saturday, 18 February 2017 at 23:08:52 UTC, Seb wrote: Do you know about eventcore [1] (event loop abstraction)? I hope that this will soon be submitted to Phobos as everyone seems to be brewing their own solution and I am _not_ looking forward to manage to find a way to run five event

Re: tanya library 0.2.0

2017-02-18 Thread Seb via Digitalmars-d-announce
On Saturday, 18 February 2017 at 15:51:59 UTC, Eugene Wissner wrote: It isn't really a release announce, maybe a pre-release. tanya is a general purpose library, used mostly for networking by me. It is an attempt to develop an alternative memory model for D; 100% of the library are usable

tanya library 0.2.0

2017-02-18 Thread Eugene Wissner via Digitalmars-d-announce
It isn't really a release announce, maybe a pre-release. tanya is a general purpose library, used mostly for networking by me. It is an attempt to develop an alternative memory model for D; 100% of the library are usable in @nogc code. I previously announced that I want to merge my code with