/ Zope / Apsis / Pound Mailing List / Archive / 2011 / 2011-12 / Reg: Pound Bindings in Other Languages

[ << ] [ >> ]

[ Upload problem through Pound / MSDirect Internet ... ] [ A few questions about security / Jamie Bliss ... ]

Reg: Pound Bindings in Other Languages
dvd vcd <dvd.debian(at)gmail.com>
2011-12-06 15:05:28 [ FULL ]
Hello Pound Team,

Is pound is being implemented in other languages other than C,
like Java ?

If not , how to port the same code in  C to Java ?

Any help or guidance regarding this , will be appreciated.

Once again, I Apologize..
thanks,
Sri
Attachments:  
text.html text/html 328 Bytes

RE: [Pound Mailing List] Reg: Pound Bindings in Other Languages
Joe Gooch <mrwizard(at)k12system.com>
2011-12-06 16:24:17 [ FULL ]
Pound is written in C, has always been in C and as far as I know, will be
written in C for the forseeable future.

The bindings currently are done in C as well, using poundctl.  The XML output
from poundctl allows for easy parsing/use.  (For instance, I’ve built my own
web interface using perl CGI, based on parsing the XML from poundctl)

At one point I made perl bindings (i.e. native protocol over the socket instead
of using poundctl) but they were rather brittle, and very dependent on changes
in the internal datastructures in pound. Because poundctl uses a binary
protocol that uses the same datastructures as the internal memory structures in
pound…  it’ll be difficult to port to other languages without replicating the
way C stores values in binary representation.  Not that it couldn’t be done,
it’s just far easier to parse the text or XML from poundctl.

Joe

From: dvd vcd [mailto:dvd.debian(at)gmail.com]
Sent: Tuesday, December 06, 2011 9:05 AM
To: pound(at)apsis.ch
Subject: [Pound Mailing List] Reg: Pound Bindings in Other Languages

Hello Pound Team,

Is pound is being implemented in other languages other than C,
like Java ?

If not , how to port the same code in  C to Java ?

Any help or guidance regarding this , will be appreciated.

Once again, I Apologize..
thanks,
Sri
Attachments:  
text.html text/html 4458 Bytes

MailBoxer