Re: about binary protocol porting

2022-01-04 Thread Parrot Raiser
Just to reinforce Geoff's message, remember Tony Hoare's "Premature optimisation is the root of all evil" https://effectiviology.com/premature-optimization/ as quoted by Rob Pike https://users.ece.utexas.edu/~adnan/pike.html

Re: about binary protocol porting

2022-01-03 Thread Geoffrey Broadwell
Just from skimming some of the relevant docs (not having written a driver for Apache Ignite before), some thoughts: * It does indeed look like there is enough info, both as documentation and example code, to write codecs and drivers for Ignite * The formats and protocols look rather

Re: about binary protocol porting

2022-01-03 Thread Piper H
Glad to hear these suggestions, @Geoffery. I also have a question, this product has a clear binary protocol, do you know how to port it to perl or perl6? https://ignite.apache.org/docs/latest/binary-client-protocol/binary-client-protocol I was using their python/ruby clients, but there is not a

Re: about binary protocol porting

2022-01-03 Thread Geoffrey Broadwell
I love doing binary codecs for Raku[1]!  How you approach this really depends on what formats and protocols you want to create Raku modules for. The first thing you need to be able to do is test if your codec is correct.  It is notoriously easy to make a tiny mistake in a protocol

Re: about binary protocol porting

2021-12-30 Thread Jon Smart
On 30.12.2021 06:41, Ralph Mellor wrote: On Wed, Dec 29, 2021 at 1:32 AM Jon Smart wrote: I plan to port a binary protocol client to perl6/raku. I have zero experience on this. Where should I get started? How well do you know programming, and Raku, and is the protocol a standard one you can

Re: about binary protocol porting

2021-12-29 Thread Matthew Stuckwisch
The SNES compiler write ups reminded me I need to get back into creating a made-for-binary regex system. Once I get done with some other projects I'm knee deep in, I'll sit down to really get a feel for RakuAST and then it'll be all go from there (and of course, as always, I welcome

Re: about binary protocol porting

2021-12-29 Thread Ralph Mellor
On Wed, Dec 29, 2021 at 1:32 AM Jon Smart wrote: > > I plan to port a binary protocol client to perl6/raku. > I have zero experience on this. Where should I get started? How well do you know programming, and Raku, and is the protocol a standard one you can link to with several existing

Re: about binary protocol porting

2021-12-28 Thread Shlomi Fish
Hi Jon, On Wed, 29 Dec 2021 09:31:47 +0800 Jon Smart wrote: > I plan to port a binary protocol client to perl6/raku. > I have zero experience on this. Where should I get started? > > Thanks. no experience either but try https://docs.raku.org/type/IO::Socket::INET and

about binary protocol porting

2021-12-28 Thread Jon Smart
I plan to port a binary protocol client to perl6/raku. I have zero experience on this. Where should I get started? Thanks.