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: Google Summer of Code - some ideas Date: Mon, 22 Apr 2013 19:48:04 +0300 Message-ID: <83li8ay0jf.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1366649322 18187 80.91.229.3 (22 Apr 2013 16:48:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2013 16:48:42 +0000 (UTC) Cc: aurelien.aptel+emacs@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 22 18:48:46 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 1UUJv4-0005yl-Cb for ged-emacs-devel@m.gmane.org; Mon, 22 Apr 2013 18:48:46 +0200 Original-Received: from localhost ([::1]:59063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUJv3-00039O-Uv for ged-emacs-devel@m.gmane.org; Mon, 22 Apr 2013 12:48:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUJv0-00034l-1I for emacs-devel@gnu.org; Mon, 22 Apr 2013 12:48:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUJuy-0000DM-Ru for emacs-devel@gnu.org; Mon, 22 Apr 2013 12:48:41 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:56503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUJuy-0000D7-JQ for emacs-devel@gnu.org; Mon, 22 Apr 2013 12:48:40 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MLO00H001A8F000@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 22 Apr 2013 19:48:09 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MLO00GH51C8Z7G0@a-mtaout22.012.net.il>; Mon, 22 Apr 2013 19:48:09 +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.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:159119 Archived-At: > From: Stefan Monnier > Date: Mon, 22 Apr 2013 10:34:39 -0400 > Cc: Emacs development discussions > > > - Modules & FFI > > I'm interested in adding a way to load compiled modules dynamically > > and possibly add a FFI. > > That would be great. > > > I say possibly because the more I look into into the more I realize > > it's not really helpful for complex stuff and simple stuff are easy to > > do with a module. > > Things like libxml2 and libgnutls should use such a mechanism instead of > the one they use currently. Would loading them dynamically with dlopen and dlsym, similar to what the MS-Windows build does now, be good enough? If not, why not?