From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: FFI again Date: Sun, 06 Oct 2013 22:04:30 +0300 Message-ID: <83r4by5igx.fsf@gnu.org> References: <83txgu5ogu.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1381086312 21058 80.91.229.3 (6 Oct 2013 19:05:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Oct 2013 19:05:12 +0000 (UTC) Cc: joakim@verona.se, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 06 21:05:15 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VStdj-0002fD-12 for ged-emacs-devel@m.gmane.org; Sun, 06 Oct 2013 21:05:15 +0200 Original-Received: from localhost ([::1]:56148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VStdi-0005Qw-KM for ged-emacs-devel@m.gmane.org; Sun, 06 Oct 2013 15:05:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VStdc-0005Oo-BO for emacs-devel@gnu.org; Sun, 06 Oct 2013 15:05:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VStdX-0003rC-Hx for emacs-devel@gnu.org; Sun, 06 Oct 2013 15:05:08 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:32966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VStdX-0003n6-8y for emacs-devel@gnu.org; Sun, 06 Oct 2013 15:05:03 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MU900B00GTTMN00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sun, 06 Oct 2013 22:04:37 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MU900B9AGZOJ530@a-mtaout20.012.net.il>; Sun, 06 Oct 2013 22:04:37 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163924 Archived-At: > From: Stefan Monnier > Cc: joakim@verona.se, emacs-devel@gnu.org > Date: Sun, 06 Oct 2013 14:17:30 -0400 > > >> > I really don't like this idea. You either force users to have the Emacs > >> > headers, Emacs import library, and a C compiler available to install a > >> > package or you provide pre-compiled binaries for popular platforms and > >> > create an ABI versioning nightmare. > >> The plan would be to require headers and a C compiler. > >> Precompiled libraries could be considered for the Windows platform, but > >> only if we can keep the versioning nightmare in check. > > I don't think the nightmare is as bad as it sounds. Windows users > > already keep such nightmares in check, including with Emacs. > > There's some hope, indeed, but notice that the problem is a bit more > serious than what we currently have for libgnutls and friends, because > that precompiled code needs to link both with lib and with Emacs, > and there's a potential version mismatch on both sides. Just like libgnutls today, which has to link with libnettle, linhogweed, libgmp, and p11-kit (to say nothing of the ubiquitous libintl and zlib).