From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: BT Templeton Newsgroups: gmane.emacs.devel Subject: Re: FFI in Emacs Date: Fri, 22 Mar 2013 15:44:12 -0400 Message-ID: <87y5df8bjn.fsf@olor.terpri.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1363981520 25164 80.91.229.3 (22 Mar 2013 19:45:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Mar 2013 19:45:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 22 20:45:47 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 1UJ7uK-0008EY-8C for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2013 20:45:44 +0100 Original-Received: from localhost ([::1]:51825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ7tw-00070I-Qk for ged-emacs-devel@m.gmane.org; Fri, 22 Mar 2013 15:45:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ7tt-00070D-Ug for emacs-devel@gnu.org; Fri, 22 Mar 2013 15:45:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJ7ts-0002aZ-Fq for emacs-devel@gnu.org; Fri, 22 Mar 2013 15:45:17 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:44718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ7ts-0002Zf-99 for emacs-devel@gnu.org; Fri, 22 Mar 2013 15:45:16 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UJ7uC-00086w-BE for emacs-devel@gnu.org; Fri, 22 Mar 2013 20:45:37 +0100 Original-Received: from cpe-071-070-253-241.nc.res.rr.com ([71.70.253.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Mar 2013 20:45:36 +0100 Original-Received: from bpt by cpe-071-070-253-241.nc.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Mar 2013 20:45:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpe-071-070-253-241.nc.res.rr.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:ReZLzKCZY1YhpsYg8sjqFDK/7BQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:158068 Archived-At: Aurélien Aptel writes: > Hi all, > > I've been doing some research in the last few weeks since I wasn't > familiar with all the details that goes into implementing a FFI. [...] Have you considered using Guile-Emacs as the basis for this? You could then implement an FFI as an Elisp-level library providing access to Guile's FFI modules. (It might require some improvements to the C-level guile integration, and perhaps adding GPL-compatibility-checking to Guile's FFI, but would still be easier than doing everything in C.) -- Inteligenta persono lernas la lingvon Esperanton rapide kaj facile. Esperanto estas moderna, kultura lingvo por la mondo. Simpla, fleksebla, belsona, Esperanto estas la praktika solvo de la problemo de universala interkompreno. Lernu la interlingvon Esperanton!