[development] Bridging PHP to Java or C++?

Gordon Heydon gordon at heydon.com.au
Wed Dec 28 23:26:07 UTC 2005


Hi,

Also I found http://php-java-bridge.sourceforge.net/ which I think is a
fork of the java extension.

It also allows you to link into mono. (Thats what the description says).

Gordon.

On Thu, 2005-12-29 at 09:36 +1100, Gordon Heydon wrote:
> Hi,
> 
> Java has already been done, take a look at http://php.net/java
> 
> Gordon.
> 
> On Wed, 2005-12-28 at 10:40 -0600, Mark Fredrickson wrote:
> > Hi all,
> > 
> > For my Machine Learning toolkit, I'm looking to draw on the work of either
> > the Java Weka ML system or the MLC++ library.
> > 
> > My question to the Drupal community is: which is easier to bridge (Java or
> > C++) to PHP (and specifically to Drupal)?
> > 
> > My vote is for Java, as I can distribute the (GPL'd) bytecode more easily
> > than pre-compiled C++ binaries.
> > 
> > Let's take performance off the table for this discussion. My design calls
> > for the ML algorithms to be pluggable via an API to the interaction code, so
> > high perf classifiers could be written later if my selected method proves
> > slow.
> > 
> > On a more general note, do any modules currently require php extensions that
> > are not in PEAR? If so, how do they handle getting the module compiled and
> > installed.
> > 
> > Thanks,
> > 
> > Mark Fredrickson
> > 
> > 
> > 
> > 
> 
> 
> !DSPAM:1000,43b318a110974455618576!
> 



More information about the development mailing list