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:[email protected]]
Sent: Tuesday, December 06, 2011 9:05 AM
To: [email protected]
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


Reply via email to