Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-17 Thread Stanislav Blinov via Digitalmars-d-announce
On Monday, 17 April 2017 at 13:21:50 UTC, Kagamin wrote: If we can control memory layout, we can do what shared_ptr does and couple the reference counter with the object, then we can have just one pointer: struct RefCounted(T) { struct Wrapper { int count; T payload; } Wrapper

Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-17 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 12 April 2017 at 13:32:36 UTC, Stanislav Blinov wrote: Syntax is not the core of the issue, it's not about just marking a destructor as shared. Making RefCounted itself shared would require implementing some form of synchronization of all the 'dereference' operations, including as

msgpack-ll: Low level @nogc, nothrow, @safe, pure, betterC MessagePack (de)serializer

2017-04-17 Thread Johannes Pfau via Digitalmars-d-announce
Hello list, msgpack-ll is a new low-level @nogc, nothrow, @safe, pure and betterC compatible MessagePack serializer and deserializer. The library was designed to avoid any external dependencies and handle the low-level protocol details only. It only depends the phobos bigEndianToNative and nativeT

Re: Call for arms: Arch Linux D package maintenance

2017-04-17 Thread R McGuire via Digitalmars-d-announce
On Thursday, 13 April 2017 at 09:34:00 UTC, Atila Neves wrote: On Tuesday, 11 April 2017 at 16:17:32 UTC, John Colvin wrote: On Thursday, 16 February 2017 at 19:58:47 UTC, Rory McGuire wrote: [...] Any news on this? The arch packages are listed as orphaned. Same question, and adding that I

Re: Article: Interfacing D with C and Fortran

2017-04-17 Thread data pulverizer via Digitalmars-d-announce
On Friday, 14 April 2017 at 17:55:54 UTC, jmh530 wrote: On Thursday, 13 April 2017 at 11:23:32 UTC, jmh530 wrote: Just an FYI, I was looking at another post http://www.active-analytics.com/blog/fitting-glm-with-large-datasets/ and the top part is a little confusing because the code below swit

Bitbucket Pipelines

2017-04-17 Thread R McGuire via Digitalmars-d-announce
Hi, Thought some of us might be interested in this, it is now really simple to set up testing within bitbucket, by using "Bitbucket Pipelines", docker based testing with what seems to be standard bash script in the YAML file. The below config is for a dub package. bitbucket-pipelines.yml ==