From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Zajcev Evgeny Newsgroups: gmane.emacs.devel Subject: Re: FFI Date: Mon, 19 Apr 2010 12:33:17 +0400 Message-ID: <86zl0zon8y.fsf@gmail.com> References: <87sk6tonv8.fsf@mid.deneb.enyo.de> <20100418053925.GA7294@tomas> <878w8lb2s0.fsf_-_@mail.jurta.org> <8739yt9nks.fsf@mid.deneb.enyo.de> <878w8k8q57.fsf@mid.deneb.enyo.de> <868w8kosie.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271679579 27685 80.91.229.12 (19 Apr 2010 12:19:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Apr 2010 12:19:39 +0000 (UTC) Cc: Juri Linkov , Florian Weimer , emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 19 14:19:38 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O3pwv-0001Gj-KK for ged-emacs-devel@m.gmane.org; Mon, 19 Apr 2010 14:19:37 +0200 Original-Received: from localhost ([127.0.0.1]:48578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3pwu-0000AP-Tg for ged-emacs-devel@m.gmane.org; Mon, 19 Apr 2010 08:19:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3oxZ-0003hQ-BK for emacs-devel@gnu.org; Mon, 19 Apr 2010 07:16:13 -0400 Original-Received: from [140.186.70.92] (port=36486 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3oxX-0003gI-I8 for emacs-devel@gnu.org; Mon, 19 Apr 2010 07:16:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3oxR-0006oI-Ez for emacs-devel@gnu.org; Mon, 19 Apr 2010 07:16:11 -0400 Original-Received: from mail-bw0-f225.google.com ([209.85.218.225]:44864) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3mPj-0000WA-VF for emacs-devel@gnu.org; Mon, 19 Apr 2010 04:33:08 -0400 Original-Received: by mail-bw0-f225.google.com with SMTP id 25so4369026bwz.8 for ; Mon, 19 Apr 2010 01:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:to:cc:subject :references:from:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=2rAD6pldvM2v+mQQB//c6YVPBPCVVeY4QnUlzSCv1sY=; b=VjaKvaGxR5fxkDEaZzak6B6LTMnYa7LT5EebwOQBIQFHmB2XP2e4K931QqMOTXPAbD SL2vkhEuGSFHAfmuu1haa6TjaKOkjm1bHT0uz2F8zgR2t8bwyOB81HZNB2U9z8GwRkcY Ka6wCsD6Wd35n/0+yl6eaZBqQh25q5uPx+L/Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:references:from:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=iL7ovVeVBcot0H8U0NYf8/PZBbSZOOBNBcQJwpTm+jsdqEiN0YR2P2j5r5wK8yJend vNPIZYMLnlzNcf8EJgTksGaQpcbjrq6gmRwhulC2tatGCOR+hf0u97YwK8XuMgjAGjWw 79vlL45Ljsu/ZVLK0pUzLoY1ABaCmt6gpyhVU= Original-Received: by 10.87.71.7 with SMTP id y7mr3786165fgk.63.1271665986624; Mon, 19 Apr 2010 01:33:06 -0700 (PDT) Original-Received: from lg ([213.232.195.233]) by mx.google.com with ESMTPS id e3sm7603107fga.4.2010.04.19.01.33.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 01:33:05 -0700 (PDT) Original-Received: by lg (sSMTP sendmail emulation); Mon, 19 Apr 2010 12:33:17 +0400 In-Reply-To: (joakim@verona.se's message of "Mon, 19 Apr 2010 09:31:09 +0200") User-Agent: Gnus/5.1008 (Gnus v5.10.8) SXEmacs/22.1.12 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 19 Apr 2010 08:19:27 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:123876 Archived-At: joakim@verona.se writes: > Zajcev Evgeny writes: [..] >> >> As I noticed before, I can port and maintain FFI implementation for >> GNU Emacs, but i need some kind of guaranties that community will >> accept it, so my work won't be a waste of time.. > > My understanding is that a FFI for Emacs must comply to a interface, > which is not yet defined. This interface will probably be similar to > the plugin api in GCC. Basically, the dll to be loaded must export a > GPL compliance symbol. It ought to be possible to add this check to > your FFI implementation, when running in Emacs, even if you do not > use it in SXEmacs. this is doable, of course GNU Emacs will have some specials about FFI (as one you've described), but at least it will have same lisp level API for code reuse between communities thanks -- lg