[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zlib autoconf question

From: Lars Magne Ingebrigtsen
Subject: Re: zlib autoconf question
Date: Mon, 12 Aug 2013 18:12:39 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]