Re: Bindings for Python or Ruby? And APR docco?

2023-07-03 Thread Rodent of Unusual Size
I mentioned a multi-language (single- or multi-process) environment; for example, some apps running C and some running Python on a Raspberry Pi. If it were a single-language situation, naturally I'd use the native mechanisms. And right now I'm thinking about the IPC functionality, not the memory

Bindings for Python or Ruby? And APR docco?

2023-07-03 Thread Rodent of Unusual Size
Please be gentle, I haven't been around APR for quite a few years.. I'm tentatively interested in a multi-language application that could benefit from APR, specifically things like semaphores and shared memory. Are there any OSS binding libraries making *any* APR functionality available to

Re: Bindings for Python or Ruby? And APR docco?

2023-07-03 Thread Greg Stein
There are no bindings that I'm aware of. I don't think APR would add much value to Python, which has its own semaphores and memory mapping. Python's reference counting and garbage collection handle the memory management that APR pools would be used for. While I would doubt there is a book about

Re: Bindings for Python or Ruby? And APR docco?

2023-07-03 Thread Mads Toftum
On Mon, Jul 03, 2023 at 01:20:14PM -0500, Greg Stein wrote: > While I would doubt there is a book about APR itself, I would bet any book > that talks about writing a module for Apache has extensive coverage of APR > (if such a book exists; dunno). There is no docco besides the headers and > the

Re: Bindings for Python or Ruby? And APR docco?

2023-07-03 Thread Greg Stein
Yeah, saw ... was explaining why such bindings would not exist. APR is still svn-based so sending patches to the list is fine. An issue works too, but feels heavier for everybody. The repos/asf/apr/ area is committers-only. Cheers, -g On Mon, Jul 3, 2023 at 1:35 PM Rodent of Unusual Size