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
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
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
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
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
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
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
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
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
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
On 8/3/2015 2:21 AM, Atila Neves wrote:
[...]
Please put this as the first comment on the reddit post.
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
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;
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
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/
15 matches
Mail list logo