From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Fri, 13 Feb 2015 09:08:23 -0800 Organization: UCLA Computer Science Department Message-ID: <54DE2F87.8040704@cs.ucla.edu> References: <85oapy5kt6.fsf@stephe-leake.org> <83y4oiiw81.fsf@gnu.org> <838ugdf251.fsf@gnu.org> <54D80098.3020209@cs.ucla.edu> <54D85304.1030600@cs.ucla.edu> <54D9AC29.2020603@cs.ucla.edu> <54DA8539.1020905@cs.ucla.edu> <87zj8ktq8f.fsf@lifelogs.com> <54DD6413.1000403@cs.ucla.edu> <83wq3m436s.fsf@gnu.org> <54DDEB4D.5040300@dancol> <83egpt4zz6.fsf@gnu.org> <54DE12E9.504@[87.69.4.28]> <83a90h4xr8.fsf@gnu.org> <54DE1F14.9010807@dancol.org> <838ug14wti.fsf@gnu.org> <54D@[87.69.4.28]> <8361b54upa.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1423847356 14939 80.91.229.3 (13 Feb 2015 17:09:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2015 17:09:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii , Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 13 18:09:07 2015 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 1YMJjn-0007jG-6Z for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2015 18:09:07 +0100 Original-Received: from localhost ([::1]:56582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMJjm-0006to-JQ for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2015 12:09:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMJjE-0006pL-BS for emacs-devel@gnu.org; Fri, 13 Feb 2015 12:08:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMJjD-0001TK-FE for emacs-devel@gnu.org; Fri, 13 Feb 2015 12:08:32 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:60840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMJj7-0001Sg-MP; Fri, 13 Feb 2015 12:08:25 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id E1475A6002D; Fri, 13 Feb 2015 09:08:23 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6vM5yL9u5QEg; Fri, 13 Feb 2015 09:08:23 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 7F757A6000D; Fri, 13 Feb 2015 09:08:23 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <8361b54upa.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 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:183013 Archived-At: Eli Zaretskii wrote: > A well-designed set of APIs between Emacs and modules will avoid this > and other similar problems. This has already been done at least > twice, in 2 different ways: in Make and in Gawk. Sure, but the cffi/libffi approach has seen a lot more uptake than that: GCC, CPython, OpenJDK, PLT Scheme, etc., etc. It's quite a well-trodden path. > we have only one problem: design and implement a minimal set of > APIs necessary for modules to work, and keep it minimal. cffi/libffi provides a good framework for that, no? Why reinvent the wheel? Because that's what we'd need to do, when designing this new emacs.h file.