Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103621 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 61851 invoked from network); 22 Dec 2018 14:02:53 -0000 Received: from unknown (HELO mail-it1-f177.google.com) (209.85.166.177) by pb1.pair.com with SMTP; 22 Dec 2018 14:02:53 -0000 Received: by mail-it1-f177.google.com with SMTP id p197so10104180itp.0 for ; Sat, 22 Dec 2018 02:32:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kfcPPCvJfSeXwpexOzA5B5SvHNu93g9Z5AJctgWiU4E=; b=FaDSSMSISh6ZhTebZuK3wWGiZeaecDeniShNoDCT/XjVnPmaQcL37aWDjMMYXd9ihm 8NDJR3R+byJ3DadqhJsIwNoVflbJv71zubKkWZ1CiRWOJg5NogPkQBk+IhbRNGTw/zHg qMDJsOJWAvNnbDtx/M0tzlc9YnSt9QbFGja8VTo5OUFmTd1HkcWcwMNRnyWUNLL8rZB9 eG5VDnR0D8lCZm4TYQme2ZcZhBBSLDKbbeiWZrF2tu3nPdM0LrLaZimNNxCbTppeixxN ShyFttg2yYWajUM/Sa26/LRn9SZHOHIanPY3izKghHwM/NAHRJQ/PtIBeLWhezEqk6jf e0ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kfcPPCvJfSeXwpexOzA5B5SvHNu93g9Z5AJctgWiU4E=; b=Ku0zCGqgJ5lK45ZLc5BYlUlITGB8/8MzUbTs5XXBvQZvFwfuceT+foKfqqwZoEUtM7 8tKPbTjck9lHl+P7KoGsJ9HEUKsclZKnTiCALZwXTRBUvsP3Be74bm36KclcYXBokGMD C/s4Xadju0Sq27yMsy4MSWq8Z0mHHWmNsU5UbW+EfK0LmXi1sWcC1Mb3V7HIg3IjHsoV leIM5fn3A9RuVn1m74/RhjY3WMNbLjlr66kTdJtkwQvPr3sbFhvhMK7LYOE7GnuTawEx mQPxmbOUBVS628vTLI/eSvH9NSJk6tGVbnf9BJYrffY/OAxF48niZQsxCSVHswRc/uXb 5lKQ== X-Gm-Message-State: AJcUukdQ5mahrirO7ZXHbNF9RD8SlffE/X3Hbpknx/yXKJnz9jNo4ph6 tUvqAbyYOm2V/2viMtF6qPXyHq1i/7Elq/D66moJwQ== X-Google-Smtp-Source: ALg8bN4C4eMud8PYVIDzH1siSvAKhmWABvvu9cBdV9zMNHG5/DA0zmAFvNEZv43I2el9vHEAtERLNPScL3Kkxe9zUoA= X-Received: by 2002:a24:de87:: with SMTP id d129mr4280083itg.110.1545474764664; Sat, 22 Dec 2018 02:32:44 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 22 Dec 2018 11:32:28 +0100 Message-ID: To: Dmitry Stogov Cc: PHP internals Content-Type: multipart/alternative; boundary="0000000000005b784d057d99e276" Subject: Re: [PHP-DEV] [RFC] [VOTE] FFI - Foreign Function Interface From: nikita.ppv@gmail.com (Nikita Popov) --0000000000005b784d057d99e276 Content-Type: text/plain; charset="UTF-8" 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. 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 --0000000000005b784d057d99e276--