Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103623 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 16720 invoked from network); 23 Dec 2018 17:49:51 -0000 Received: from unknown (HELO mo4-p00-ob.smtp.rzone.de) (85.215.255.23) by pb1.pair.com with SMTP; 23 Dec 2018 17:49:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1545574799; s=strato-dkim-0002; d=kelunik.com; h=Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=mS7LqR+LgXdpZoBE9YvZ/RiMTU7K+AoJVtAQ7mqDcLI=; b=eLksh3bQCdbZ3D7tQXQ+AUsikQ59nhebf2AmIpFXdynP2oaZuj+gAKyVWJVbwUGMjD QtCLKA3Pkxp/1xb0Xcgz/r+gs85pKB05o5DtMtcZ89Bj2hZz6IXEDX+Dhl196CPr+Hs2 zmlNrhzt0pae5T9SeXelUZQhhZLMBkvW18T/XtScuH+NcUAtTYRMztwA4kSI4lxwG/i8 bOe/KIYeK2ove3QXm70jobwqdyiVHXsDeDIjZMruMpoL8AqP/mHCmN5Lkg6gQaJfK4wg /26B0DArALfyEqb8jtqESVED/Xml7oTlw5Un3cdH8//oCrMswUiUZgd3jBlVGF01Bz/s CUSw== X-RZG-AUTH: ":IWkkfkWkbvHsXQGmRYmUo9mlsGbEv0XHBzMIJSS+jKTzde5mDb8AaBIcZi8tcA==" X-RZG-CLASS-ID: mo00 Received: from mail-pl1-f181.google.com by smtp.strato.de (RZmta 44.8 AUTH) with ESMTPSA id y097b7uBNEJxOGw (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Sun, 23 Dec 2018 15:19:59 +0100 (CET) Received: by mail-pl1-f181.google.com with SMTP id z23so4642000plo.0 for ; Sun, 23 Dec 2018 06:19:59 -0800 (PST) X-Gm-Message-State: AJcUukcXAvGm3uGwpmPaJXXb1Wseew+3s2eZ8XvespcO8UZbTKzD39Iy 0CxeQLmwxEEYg3jejcebvW9yLtG3YFTAB020gMM= X-Google-Smtp-Source: ALg8bN4CETZPJnZZbkK+3O4y+ZAb+4xSMZ5ySJMJL8kavsBFNOfG7wcz3uKGugwgK/Tg+/et+zY6G/Rx5PXeww30Bq0= X-Received: by 2002:a17:902:346:: with SMTP id 64mr10040394pld.337.1545574798360; Sun, 23 Dec 2018 06:19:58 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 23 Dec 2018 15:19:47 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Nikita Popov Cc: Dmitry Stogov , PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] [VOTE] FFI - Foreign Function Interface From: me@kelunik.com (Niklas Keller) Am Sa., 22. Dez. 2018 um 11:32 Uhr schrieb Nikita Popov : > > On Thu, Dec 20, 2018 at 4:13 PM Dmitry Stogov wrote: > > > Hi internals, > > > > > > The FFI RFC is turned into voting state. > > > > > > https://wiki.php.net/rfc/ffi > > > > > > There were very few minor changes since the initial proposal, e.g. > > renaming FFI:array_type() into FFI::arrayType() > > > > > > Thanks. Dmitry. > > > > My main concern here is that this is a very new extension and I think that > apart from you barely anyone had a chance to actually implement something > based on it and gain experience using the proposed API. Bundling an > extension with PHP means that the API becomes frozen in time and it becomes > very hard to change anything. Same here, I think it's better to have it as an extension for now, so people have time to experiment with it. In case the vote passes, do we want to mark the feature explicitly as experimental and not covered by the usual BC guarantee? Regards, Niklas > I think that having FFI support is important, but I'm afraid that once we > bundle this extension and it will see more usage, it will quickly turn out > that the API needs to change to make it easier to use or accommodate more > use-cases. > > My other concern is platform support. FFI is by nature a rather platform > dependent. The RFC says that the extension is currently tested on Linux and > Windows. It would be great if someone using such a system can confirm > whether it also works on OSX and FreeBSD, so we at least have coverage of > the major platforms. > > Nikita