Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
japhb Ah, sounds like I misunderstood you. I thought you were wanting to look at the blessed container on the Perl side. But from what you just said I'm guessing you're trying to pull away the abstractions and look at the actual data structures that Inline::Perl5 uses to represent a Perl object? 00:04
Xliff No. I want the underlying P5 data, but don't know if Perl5 is the best place to ask. Inline::Perl5 contains the wrapped Perl5 object POINTER. 00:21
I don't know if many people on #perl5 will know that. 00:22
japhb Oh, I wasn't suggesting asking #perl5 -- I was suggesting asking perl5 *the binary*. Meaning, write some Perl code that could do the introspection, stick it in a Perl sub, and then call *that* from Raku via Inline::Perl5. 03:10
Xliff OIC 03:22
Might not be a bad idea. japhb++ 03:23
japhb Now I've got a question, on a separate topic ... 03:29
(For context, I'm thinking about cro.services/docs/intro/http-server)
My question is: what's the best way to bind to more than one interface with the "same" Cro service? 03:30
Should I take the same $application generated by the route {} block and feed it to two separate Cro::HTTP::Server instances? 03:31
Should I use two separate $application instances as well, but have them both do all their work via a shared (thread-safe) object?
I guess I'm assuming that Cro doesn't natively support multi-binding, but I don't see an easy way to do that. Seems like it could be made as an alternate TCP packet source, feeding into a shared Supply pipeline used by the rest of the Cro stack .... 03:37
Xliff I would suggest the first, purely from a maintenance standpoint. 04:06
08:29 Xliff left 08:36 lizmat_ joined, TempIRCLogger__ left 08:37 lizmat left, TempIRCLogger joined, lizmat_ left, lizmat joined 08:38 Geth left 08:39 Geth joined 09:48 patrickb joined 11:27 Xliff joined 12:49 codesections joined 14:45 patrickb left, patrickb joined 14:49 patrickb left, patrickb joined 14:51 patrickb left, patrickb joined 14:53 patrickb left, patrickb joined 14:55 patrickb left, patrickb joined 14:57 patrickb left 14:58 patrickb joined 15:04 patrickb left, patrickb joined 15:06 patrickb left, patrickb joined 15:08 patrickb left 15:09 patrickb joined 15:10 patrickb left 15:11 patrickb joined 15:13 patrickb left, patrickb joined 15:15 patrickb left, patrickb joined 15:19 patrickb left, patrickb joined 15:23 patrickb left