Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9259 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79113 invoked by uid 1010); 16 Apr 2004 15:20:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79075 invoked from network); 16 Apr 2004 15:20:36 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 16 Apr 2004 15:20:36 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.10/8.12.10) with ESMTP id i3GFKZst022053; Fri, 16 Apr 2004 17:20:36 +0200 Date: Fri, 16 Apr 2004 17:20:04 +0200 (CEST) X-X-Sender: derick@localhost To: Enrico Weigelt cc: php-dev In-Reply-To: <20040416145248.GC3608@nibiru.metux.de> Message-ID: References: <20040416145248.GC3608@nibiru.metux.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] language integration: php vs. perl vs. java vs. python vs. c# From: derick@php.net (Derick Rethans) On Fri, 16 Apr 2004, Enrico Weigelt wrote: > I'm currently thinking about ways to integrate several other > languages beside php into the zend engine. > > For example perl and php seem to be quite similar. Some perl > experts told me, there're some things in perl which php semantically > does not support, especially for OPP, but perhaps these come w/ php-5 ? > > And what's w/ other languages, like java (at least source code, > not binary). Does PHP-5 already provide packages, interfaces and > exceptions ? Could packages probably be emulated by the parser. Perhaps it's a good idea to do some research what features PHP has first before asking those basic questions. > For java integration it would be interesting if higher-level-classes > (i.e. hashes) could be directly handled by zend's features or > extensions (i.e. database connections, SSL, ...), instead of pure > java implementations and so it would also be quite fast. Reimplementing all those things really sounds like a good idea; not. > Would this be possible / useful ? Possible, perhaps, but definitely not in the same engine that is also powering PHP at the same time; useful, imo not at all. You have java to use java, and python to do python, and the zend engine to do PHP. That's how it works, and should be. regards, Derick