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: GNU Emacs-libnettle-libhogweed integration patch v1 Date: Sun, 06 Oct 2013 19:58:46 +0300 Message-ID: <83siwe5oah.fsf@gnu.org> References: <877gdqrc9u.fsf@flea.lifelogs.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1381078748 10815 80.91.229.3 (6 Oct 2013 16:59:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Oct 2013 16:59:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 06 18:59:11 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 1VSrfi-0005AK-VC for ged-emacs-devel@m.gmane.org; Sun, 06 Oct 2013 18:59:11 +0200 Original-Received: from localhost ([::1]:55866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSrfi-00023z-Kn for ged-emacs-devel@m.gmane.org; Sun, 06 Oct 2013 12:59:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSrfZ-0001xw-7V for emacs-devel@gnu.org; Sun, 06 Oct 2013 12:59:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSrfT-0008Lx-9e for emacs-devel@gnu.org; Sun, 06 Oct 2013 12:59:01 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:58956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSrfT-0008Lj-1s for emacs-devel@gnu.org; Sun, 06 Oct 2013 12:58:55 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MU900000B5H7G00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Sun, 06 Oct 2013 19:58:53 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MU900NIBB6442B0@a-mtaout21.012.net.il>; Sun, 06 Oct 2013 19:58:53 +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.169 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:163917 Archived-At: > From: Stefan Monnier > Date: Sun, 06 Oct 2013 12:51:39 -0400 > > Implementing an FFI would of course make it unnecessary for you (or > anyone else) to convince me first, so I encourage you to work on the FFI > as a first step. It might be educational and useful for the FFI discussion to describe the steps needed to integrate libhogweed with Emacs using libffi. We will then be able to compare that with the patch proposed by Ted, and see which of the steps are one-time effort, required for providing FFI infrastructure, and which are to be repeated for every foreign library. Otherwise, I fear that the discussion about FFI is not really based on good understanding of what is involved.