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

Gordon Heydon gordon at heydon.com.au
Wed Dec 28 22:36:03 UTC 2005


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,43b2c2e9305472601091748!
> 



More information about the development mailing list