Re: Cap'n Proto for D v0.1.2

2017-06-16 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 18 April 2017 at 18:09:54 UTC, Thomas Brix Larsen wrote: This is the initial public release of my optimized port of the Java implementation of Cap'n Proto. http://code.dlang.org/packages/capnproto-dlang https://github.com/ThomasBrixLarsen/capnproto-dlang Hi Thomas, Great that

Re: Cap'n Proto for D v0.1.2

2017-04-20 Thread Paolo Invernizzi via Digitalmars-d-announce
On Thursday, 20 April 2017 at 18:25:03 UTC, Jonathan M Davis wrote: On Tuesday, April 18, 2017 18:09:54 Thomas Brix Larsen via Digitalmars-d- announce wrote: LOL. Oh, I remember a coworker bringing up this library. It's the one that the site claimed was infinitely faster than protocol

Re: Cap'n Proto for D v0.1.2

2017-04-20 Thread Jonathan M Davis via Digitalmars-d-announce
On Tuesday, April 18, 2017 18:09:54 Thomas Brix Larsen via Digitalmars-d- announce wrote: > "Cap’n Proto is an insanely fast data interchange format and > capability-based RPC system. Think JSON, except binary. Or think > Protocol Buffers, except faster." > > This is the initial public release of

Re: Cap'n Proto for D v0.1.2

2017-04-20 Thread Thomas Brix Larsen via Digitalmars-d-announce
On Wednesday, 19 April 2017 at 19:30:03 UTC, Thomas Brix Larsen wrote: On Wednesday, 19 April 2017 at 18:24:46 UTC, Jay Norwood wrote: [...] Ok, thanks. I took a look at several capnproto implementations just now, and didn't see any tests for a mmap 'feature'. The roadmap doc below

Re: Cap'n Proto for D v0.1.2

2017-04-19 Thread Thomas Brix Larsen via Digitalmars-d-announce
On Wednesday, 19 April 2017 at 18:24:46 UTC, Jay Norwood wrote: [...] Ok, thanks. I took a look at several capnproto implementations just now, and didn't see any tests for a mmap 'feature'. The roadmap doc below indicates it doesn't exist, and perhaps there are some details yet to be

Re: Cap'n Proto for D v0.1.2

2017-04-19 Thread Jay Norwood via Digitalmars-d-announce
On Wednesday, 19 April 2017 at 16:52:14 UTC, Thomas Brix Larsen wrote: Take a look at FileDescriptor[1]. It is a class I've added to support read/write using File from std.stdio. You can create a similar streamer using std.mmfile. I believe that this would be enough for memory mapped reading.

Re: Cap'n Proto for D v0.1.2

2017-04-19 Thread Thomas Brix Larsen via Digitalmars-d-announce
On Wednesday, 19 April 2017 at 16:34:02 UTC, Jay Norwood wrote: [...] This info from stackoverflow also seems to imply that MappedByteBuffer would be required for some of the capnproto features. So, could you explain a little more about what are the capabilities of the current d library

Re: Cap'n Proto for D v0.1.2

2017-04-19 Thread Jay Norwood via Digitalmars-d-announce
On Tuesday, 18 April 2017 at 18:09:54 UTC, Thomas Brix Larsen wrote: "Cap’n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster." The features below, from the capnproto.org description, interest

Re: Cap'n Proto for D v0.1.2

2017-04-19 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-04-18 23:08, Dmitry Olshansky wrote: Risking a flamewar but what's wrong with Java? I don't like any language that force me to write in a particular style or paradigm. Because all problems cannot be solved (or not in a good way) in the same way. That said, my D code is quite heavily

Re: Cap'n Proto for D v0.1.2

2017-04-18 Thread Dmitry Olshansky via Digitalmars-d-announce
On 4/18/17 9:14 PM, Swoorup Joshi wrote: On Tuesday, 18 April 2017 at 18:09:54 UTC, Thomas Brix Larsen wrote: "Cap’n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster." This is the initial

Re: Cap'n Proto for D v0.1.2

2017-04-18 Thread Paolo Invernizzi via Digitalmars-d-announce
On Tuesday, 18 April 2017 at 18:09:54 UTC, Thomas Brix Larsen wrote: "Cap’n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster." This is the initial public release of my optimized port of the

Re: Cap'n Proto for D v0.1.2

2017-04-18 Thread Swoorup Joshi via Digitalmars-d-announce
On Tuesday, 18 April 2017 at 18:09:54 UTC, Thomas Brix Larsen wrote: "Cap’n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster." This is the initial public release of my optimized port of the

Cap'n Proto for D v0.1.2

2017-04-18 Thread Thomas Brix Larsen via Digitalmars-d-announce
"Cap’n Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster." This is the initial public release of my optimized port of the Java implementation of Cap'n Proto. State: * Passes Cap'n Proto