Re: Seattle D meetup

2015-08-03 Thread Dan Olson via Digitalmars-d-announce
"Colden Cullen" writes: > On Sunday, 2 August 2015 at 22:53:00 UTC, Walter Bright wrote: >> Seeing the threads on London, Silicon Valley and Berlin meetups, is >> there any interest for a Seattle one? > > Yes please! Myself and a good portion of the Dash[1] team are in > Seattle now, and we'd lov

Re: Seattle D meetup

2015-08-03 Thread Walter Bright via Digitalmars-d-announce
On 8/3/2015 10:24 AM, Colden Cullen wrote: On Sunday, 2 August 2015 at 22:53:00 UTC, Walter Bright wrote: Seeing the threads on London, Silicon Valley and Berlin meetups, is there any interest for a Seattle one? Yes please! Myself and a good portion of the Dash[1] team are in Seattle now, and

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Walter Bright via Digitalmars-d-announce
On 8/3/2015 4:46 AM, Atila Neves wrote: On Monday, 3 August 2015 at 11:13:50 UTC, Walter Bright wrote: On 8/3/2015 2:21 AM, Atila Neves wrote: [...] Please put this as the first comment on the reddit post. Which one? The one you started the thread with. On a more meta note, when people l

Re: Seattle D meetup

2015-08-03 Thread Colden Cullen via Digitalmars-d-announce
On Sunday, 2 August 2015 at 22:53:00 UTC, Walter Bright wrote: Seeing the threads on London, Silicon Valley and Berlin meetups, is there any interest for a Seattle one? Yes please! Myself and a good portion of the Dash[1] team are in Seattle now, and we'd love to get to know other D users. [

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Dicebot via Digitalmars-d-announce
On Monday, 3 August 2015 at 09:40:59 UTC, Atila Neves wrote: In this case, yes. In the real-life case I was simplifying, it wasn't a ubyte[] array, it was an array of structs with non-trivial serialisation that also depended on a previous deserialised variable. It was more like this: struct O

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Jacob Carlborg via Digitalmars-d-announce
On 03/08/15 14:21, Per =?UTF-8?B?Tm9yZGzDtnci?= wrote: Are there any plans to add different backends (for instance msgpack) to Cereal? Then we could have one package to rule them all! That would be Orange [1]. Hopefully I'll get it into Phobos at some point. [1] https://github.com/jacob-car

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread TC via Digitalmars-d-announce
On Monday, 3 August 2015 at 12:21:05 UTC, Per Nordlöw wrote: On Monday, 3 August 2015 at 11:51:24 UTC, Atila Neves wrote: Yes. `cerealise` and `decerealise`. The former is slightly weird for performance reasons. It takes a lambda that tells it what to do with the resulting bytes. Close with L

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 12:21:05 UTC, Per Nordlöw wrote: On Monday, 3 August 2015 at 11:51:24 UTC, Atila Neves wrote: Yes. `cerealise` and `decerealise`. The former is slightly weird for performance reasons. It takes a lambda that tells it what to do with the resulting bytes. Close with L

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread via Digitalmars-d-announce
On Monday, 3 August 2015 at 11:51:24 UTC, Atila Neves wrote: Yes. `cerealise` and `decerealise`. The former is slightly weird for performance reasons. It takes a lambda that tells it what to do with the resulting bytes. Close with LDC and DMD, faster with GDC: http://forum.dlang.org/post/nkce

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 11:43:15 UTC, Per Nordlöw wrote: On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: http://code.dlang.org/packages/cerealed What's new? * Performance improvements * New UDAs for networking packets for even less required boilerplate The first new thing i

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 10:37:05 UTC, Dmitry Olshansky wrote: On 03-Aug-2015 12:27, Dicebot wrote: On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: [...] This deserialization will be identical to casting like this, right? (Not trying to diminish your work, just making sure I

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 11:13:50 UTC, Walter Bright wrote: On 8/3/2015 2:21 AM, Atila Neves wrote: [...] Please put this as the first comment on the reddit post. Which one? Atila

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread via Digitalmars-d-announce
On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: http://code.dlang.org/packages/cerealed What's new? * Performance improvements * New UDAs for networking packets for even less required boilerplate The first new thing is self-explanatory. The second one is explained briefly in th

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Walter Bright via Digitalmars-d-announce
On 8/3/2015 2:21 AM, Atila Neves wrote: [...] Please put this as the first comment on the reddit post.

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Dmitry Olshansky via Digitalmars-d-announce
On 03-Aug-2015 12:27, Dicebot wrote: On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: The summary is you can now write this: struct UdpPacket { static struct Header { ushort srcPort; ushort dstPort; ushort length; ushort ch

Re: Russian-speaking community

2015-08-03 Thread Majestio via Digitalmars-d-announce
On Sunday, 2 August 2015 at 17:20:57 UTC, Suliman wrote: On Sunday, 2 August 2015 at 12:11:03 UTC, Majestio wrote: On Tuesday, 30 June 2015 at 20:39:38 UTC, lomereiter wrote: (whose domain is much easier to remember, btw) We have already moved to http://dlanguage.ru Sorry for long reviving

Re: Beta D 2.068.0-b2

2015-08-03 Thread Martin Nowak via Digitalmars-d-announce
On 08/02/2015 11:20 AM, Rainer Schuetze wrote: > Unfortunately, that does not help a lot because Microsoft changed their > C runtime quite a bit to make it more compliant to C99. This causes > unresolved symbols when linking phobos. You think we can work that out soon enough? https://issues.dlang.

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
On Monday, 3 August 2015 at 09:27:03 UTC, Dicebot wrote: On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: The summary is you can now write this: struct UdpPacket { static struct Header { ushort srcPort; ushort dstPort; ushort length;

Re: Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Dicebot via Digitalmars-d-announce
On Monday, 3 August 2015 at 09:21:50 UTC, Atila Neves wrote: The summary is you can now write this: struct UdpPacket { static struct Header { ushort srcPort; ushort dstPort; ushort length; ushort checksum; } enum header

Cerealed v0.6.1: even less boilerplate for binary serialization

2015-08-03 Thread Atila Neves via Digitalmars-d-announce
http://code.dlang.org/packages/cerealed What's new? * Performance improvements * New UDAs for networking packets for even less required boilerplate The first new thing is self-explanatory. The second one is explained briefly in this blog post: https://www.reddit.com/r/programming/comments/