unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: jca+emacs@wxcvbn.org (Jérémie Courrèges-Anglas)
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Aurélien Aptel" <aurelien.aptel+emacs@gmail.com>,
	monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: Google Summer of Code - some ideas
Date: Mon, 22 Apr 2013 22:16:17 +0200	[thread overview]
Message-ID: <87bo961fu6.fsf@moo.wxcvbn.org> (raw)
In-Reply-To: <83d2tmxvz5.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 22 Apr 2013 21:26:38 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Mon, 22 Apr 2013 19:51:55 +0200
>> From: Aurélien Aptel <aurelien.aptel+emacs@gmail.com>
>> Cc: Emacs development discussions <emacs-devel@gnu.org>
>> 
>> I understand. My project could then be:
>> 
>> - add support for compiled modules
>> - rewrite libxml2 and libgnutls as modules
>
> libxml2 and GnuTLS are projects, not just libraries developed by Emacs
> in-house.  Rewriting them is probably a terrible waste of resources.
> Perhaps you meant to write some kind of wrapper for them (if that is
> needed, though I cannot see why).
>
> Why isn't dynamic loading the solution we want?

I'm probably not knowledgeable enough about this subject, but... is it
really easier to get this (raw dlopening) right?  If my Emacs build
dlopens gnutls with a major 39, and a few days later my system gets
a 40th gnutls major version because of ABI change, then I will run into
problems.  And I can't count on my package tools dependancy system to
notice the ABI change, unless I artificially encode the dependancy on
gnutls or take care to bump my Emacs package to force a rebuild.

Perhaps are there workarounds or methods to implement this safely in
Emacs, but I fear that it would make life harder for some users and
packagers.

I don't know if libffi or GObject Introspection provide a way to solve
this kind of problem, but if they do then that'd be way better, IMHO.

Please correct me if my guesses are wrong.

-- 
Jérémie Courrèges-Anglas
PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494



  reply	other threads:[~2013-04-22 20:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-21 16:46 Google Summer of Code - some ideas Aurélien Aptel
2013-04-21 17:16 ` Aurélien Aptel
2013-04-21 17:25   ` Bastien
2013-04-21 17:53     ` Aurélien Aptel
2013-04-21 23:05       ` Bastien
2013-04-21 18:34 ` joakim
2013-04-22 14:34 ` Stefan Monnier
2013-04-22 16:48   ` Eli Zaretskii
2013-04-23  3:23     ` Stefan Monnier
2013-04-22 17:51   ` Aurélien Aptel
2013-04-22 18:26     ` Eli Zaretskii
2013-04-22 20:16       ` Jérémie Courrèges-Anglas [this message]
2013-04-22 20:30         ` Eli Zaretskii
2013-04-22 20:39           ` Jérémie Courrèges-Anglas
2013-04-23  2:38             ` Eli Zaretskii
2013-04-23 16:21               ` Eli Zaretskii
2013-04-22 15:52 ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bo961fu6.fsf@moo.wxcvbn.org \
    --to=jca+emacs@wxcvbn.org \
    --cc=aurelien.aptel+emacs@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).