unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Eli Zaretskii <eliz@gnu.org>, ulm@gentoo.org, emacs-devel@gnu.org
Subject: Re: zlib autoconf question
Date: Mon, 12 Aug 2013 18:12:39 +0200	[thread overview]
Message-ID: <m31u5yevm0.fsf@stories.gnus.org> (raw)
In-Reply-To: <jwva9kmrj35.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 12 Aug 2013 12:05:30 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> With an FFI you don't even need the headers.  The library could be used
> even if it didn't exist back when Emacs was built.

If you look at how much scaffolding is typically needed to use a C
library in Emacs, I'm not sure how realistic that is.  I mean -- zlib is
a pretty straightforward library.  I look at decompress.c and try to
envision how much Emacs Lisp would have to be exposed to C things, and I
think it's perhaps ... a lot.

I've done quite a bit of FFI in Lispworks.  It's kinda grody.  I frequently
end up with a bit of C scaffolding just to make things easier.

And Lispworks doesn't have all the funky concepts that Emacs has.

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php
  and http://lars.ingebrigtsen.no/2013/08/twenty-years-of-september.html



  reply	other threads:[~2013-08-12 16:12 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-08 11:14 zlib autoconf question Lars Magne Ingebrigtsen
2013-08-08 11:23 ` Jérémie Courrèges-Anglas
2013-08-08 12:46 ` Andreas Schwab
2013-08-08 12:48   ` Lars Magne Ingebrigtsen
2013-08-08 13:26     ` Andreas Schwab
2013-08-08 12:47 ` Paul Eggert
2013-08-08 12:49   ` Lars Magne Ingebrigtsen
2013-08-08 12:57     ` Dmitry Antipov
2013-08-08 16:52       ` Eli Zaretskii
2013-08-11 19:52         ` Lars Magne Ingebrigtsen
2013-08-08 12:55 ` Ulrich Mueller
2013-08-11 19:53   ` Lars Magne Ingebrigtsen
2013-08-11 20:28     ` Ulrich Mueller
2013-08-11 22:01       ` Lars Magne Ingebrigtsen
2013-08-11 22:54         ` Ulrich Mueller
2013-08-11 22:59           ` Paul Eggert
2013-08-12  2:41       ` Eli Zaretskii
2013-08-12 13:58         ` Stefan Monnier
2013-08-12 13:58         ` Stefan Monnier
2013-08-12 15:19           ` Eli Zaretskii
2013-08-12 16:05             ` Stefan Monnier
2013-08-12 16:12               ` Lars Magne Ingebrigtsen [this message]
2013-08-12 16:35           ` Richard Stallman
2013-08-12 18:20             ` Lars Magne Ingebrigtsen
2013-08-12 19:17               ` Paul Eggert
2013-08-12  5:45       ` Dmitry Antipov

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=m31u5yevm0.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=ulm@gentoo.org \
    /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).