Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56850 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48837 invoked from network); 9 Dec 2011 00:52:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2011 00:52:28 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:33977] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/50-45961-BCB51EE4 for ; Thu, 08 Dec 2011 19:52:28 -0500 Received: by ghbg16 with SMTP id g16so2237252ghb.29 for ; Thu, 08 Dec 2011 16:52:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=/VYvTKFC11zrRlTfocal6gPQB1UBZ9/WoEgJFqnxR5Y=; b=wvFFI6s6sa31Zzr/7FD3j29GDEy/6KKRhNE8pTnl0kPgxZbejbGllK57sdiMUrBd8K /ss9adczbhUwPZGb2diB7S7XWaXcklX6/50TH8k5piVREbSBowl0iAqUdyo2TFYUioI7 TLcYCHrihBjoKMRCGJVXnugH/6ZKEPHae7e/k= MIME-Version: 1.0 Received: by 10.236.181.225 with SMTP id l61mr8304297yhm.131.1323391945164; Thu, 08 Dec 2011 16:52:25 -0800 (PST) Received: by 10.146.204.6 with HTTP; Thu, 8 Dec 2011 16:52:25 -0800 (PST) In-Reply-To: References: Date: Fri, 9 Dec 2011 01:52:25 +0100 Message-ID: To: Rasmus Schultz Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Phalanger From: pierre.php@gmail.com (Pierre Joye) hi, As a windows developer and user, and core developer of PHP as well as contributor to many OSS projects to help them to support windows better and keep the code portable, I'd to say that to base a project on .net is a wrong start to begin with. A very wrong one. And I really like .net, I only won't ever consider it for anything where I need full control (memory, performance, cross platform, etc.). The same goes for Java btw. It is also possible to write extension for .net module using C++/CLI very easily. I have done that a couple of times already (some are public on github too btw, like the MS Chart module). As of phalanger, to me it is and remains a toy project, nice experiment but the way to go is to stick to C (eventually C++ but there may have even more people against it than .net ;-). On Fri, Dec 9, 2011 at 12:28 AM, Rasmus Schultz wrote: > Don't take this the wrong way, I'm merely trying to provoke your thoughts= a > bit with this e-mail! :-) > > Has it occurred to anyone, to abandon the official PHP codebase and adopt > Phalanger instead? > > Some convincing (to me) points: > > - Phalanger runs on Mono, meaning similar platform-reach as PHP. (but > eliminating most platform-specific implementations.) > > - It's fast. (probably fast enough to mostly eliminate the need for nativ= e > extensions in general.) > > - The community would be able to write modules/extensions in PHP or other > CLR languages. > > - It's secure. (not that C/FFI PHP extensions tend not to be trustworthy, > but they do tend to come from a relatively small group of authors.) > > - Access to more languages means a much bigger community who can contribu= te > extensions and core patches. > > - Access to existing CLR codebases means more third-party libraries can b= e > readily integrated without writing and maintainting C/FFI wrappers. > > - The codebase is new, clean and modern (it's not dragging around a lot o= f > legacy baggage.) > > - Fully take advantage of new 64-bit hardware (vector computations and > larger address space) in all aspects. (core, extensions, PHP scripts). > > I'm not going to try to sell you on the fact that the integration with th= e > Windows world is tighter in Phalanger than in PHP - but it is a point tha= t > carries considerable weight =A0to many businesses. > > People I know have had a tendency to view Phalanger as "PHP for Windows" = - > it's really not. It's PHP for CLR - and CLR is not (only) Windows. And it > is readily available on most modern operating systems with good support f= or > various hardware platforms. > > Now, before you start flaming me - I'd love to hear precisely why you're > eager to hang on to the C codebase. What are the benefits of the C codeba= se > over Phalanger? > > I understand the licensing may be an issue. It may be the argument that > outweighs everything else, but I'm curious to hear what else would keep y= ou > from moving to Phalanger? > > Thanks! > > - Rasmus Schultz --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org