Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28526 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69007 invoked by uid 1010); 21 Mar 2007 12:51:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68992 invoked from network); 21 Mar 2007 12:51:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Mar 2007 12:51:40 -0000 Authentication-Results: pb1.pair.com header.from=php@hristov.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@hristov.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hristov.com from 85.92.73.163 cause and error) X-PHP-List-Original-Sender: php@hristov.com X-Host-Fingerprint: 85.92.73.163 iko.gotobg.net Linux 2.6 Received: from [85.92.73.163] ([85.92.73.163:43485] helo=iko.gotobg.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/64-21072-A5A21064 for ; Wed, 21 Mar 2007 07:51:39 -0500 Received: from e180046213.adsl.alicedsl.de ([85.180.46.213] helo=[192.168.179.37]) by iko.gotobg.net with esmtpa (Exim 4.63) (envelope-from ) id 1HU0Hr-0006g0-Nc; Wed, 21 Mar 2007 14:51:31 +0200 Message-ID: <46012A5F.8060302@hristov.com> Date: Wed, 21 Mar 2007 13:51:43 +0100 User-Agent: Thunderbird 1.5.0.8 (X11/20060911) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: Robin Ericsson , internals@lists.php.net References: <1174134488.8667.33.camel@lena> <45FC74A5.6080307@pooteeweet.org> <1174231834.12274.110.camel@lena> <45FEBD70.2090000@zend.com> <1174330743.9134.2.camel@lena> <41721.216.230.84.67.1174341117.squirrel@www.l-i-e.com> <1174342387.14657.86.camel@lena> <1174476282.5402.35.camel@lena> <460118F8.9050807@pooteeweet.org> In-Reply-To: <460118F8.9050807@pooteeweet.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] google SoC - dbobj From: php@hristov.com (Andrey Hristov) Hi, Lukas Kahwe Smith wrote: > Robin Ericsson wrote: >> On 3/21/07, Bankó Ádám wrote: >>> The project is existing, I'm doing it for about a year and a half, and >>> SoC is way I can spend more time on it in the summer. >> >> If there is someone willing to something, and someone else is paying >> for it, let him do it. Why should it bother whether it's C or PHP? The >> community will benefit from it either way. > > Its a question of maintainability. Stuff like reverse engineering > schema's from a database is simply not sensible to be done by C code. It > requires a low barrier to entry, the ability to quickly fix things if > you encounter a newer or very old obscure RDBMS version etc. Then make a mix of PHP and C code. C call call PHP userland, so it shouldn't be a problem. And as I see it, it is always good to have reference implementation in PHP and port it to C. I think Marcus did it while implementing SPL. > regards, > Lukas > Ciao, Andrey