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: Dynamic loading progress Date: Fri, 13 Feb 2015 17:01:49 +0200 Message-ID: <83egpt4zz6.fsf@gnu.org> References: <85k31coixa.fsf@stephe-leake.org> <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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1423839741 2255 80.91.229.3 (13 Feb 2015 15:02:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2015 15:02:21 +0000 (UTC) Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 13 16:02:12 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 1YMHkx-0003jI-JL for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2015 16:02:11 +0100 Original-Received: from localhost ([::1]:55872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMHkr-0002eY-Mj for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2015 10:02:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMHkj-0002eD-F7 for emacs-devel@gnu.org; Fri, 13 Feb 2015 10:02:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMHkf-00026b-AB for emacs-devel@gnu.org; Fri, 13 Feb 2015 10:01:57 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:40565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMHkf-00024Q-19 for emacs-devel@gnu.org; Fri, 13 Feb 2015 10:01:53 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NJP00C00TQ2NI00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 13 Feb 2015 17:01:51 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJP00CBZTR3MU10@a-mtaout22.012.net.il>; Fri, 13 Feb 2015 17:01:51 +0200 (IST) Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and truncated. In-reply-to: <54DDEB4D.5040300@dancol.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:183007 Archived-At: > Date: Fri, 13 Feb 2015 04:17:17 -0800 > From: Daniel Colascione > CC: emacs-devel@gnu.org > > That's why this whole module effort is misguided and dangerous. With a > CFFI-style approach to loading code dynamically, shared modules don't > need to know anything about Emacs internal structure, so there are no > ABI or source compatibility issues. > > I still think a CFFI port would be less work than trying to extract a > stable Emacs internals API that modules can include. I don't understand how CFFI would solve the problem, at least not all of it. We'd still need to write code to allow modules create Lisp objects, right? That code would still be Emacs version dependent, right? What am I missing?