[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FFI again
From: |
Andy Moreton |
Subject: |
Re: FFI again |
Date: |
Mon, 07 Oct 2013 23:14:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) |
On Mon 07 Oct 2013, Stefan Monnier wrote:
> So what I propose is to use "runtime loading of DSO" as a poor man's FFI
> where the DSL of the FFI is C and where the compilation of this "DSL" is
> handled by a C compiler.
>
> The only technical difference between what I propose and typical "runtime
> loading of DSOs" is that the system also handles running the C compiler,
> so you can download the TedZ-OpenPGP package from ELPA and install it
> (provided you have a C compiler on your machine).
This will work well enough for POSIX systems, but will fail miserably on
Windows systems. Most Windows users do not develpment tools installed,
and would have a hard time to find a C compiler producing binaries with
the correct ABI, and the other required build tools and dependencies.
Users should not have to deal with any of this in order to use libraries
that emacs uses via an FFI. They might just be able to deal with loading
a lisp package and adding a DLL to somewhere visible on the PATH, but
even that is too complicated for many (they expect installer programs to
do this work automatically).
AndyM
- Re: FFI again, (continued)
- Re: FFI again, Stefan Monnier, 2013/10/05
- Re: FFI again, joakim, 2013/10/05
- Re: FFI again, Stefan Monnier, 2013/10/06
- Re: FFI again, Eli Zaretskii, 2013/10/06
- Re: FFI again, Stefan Monnier, 2013/10/06
- Re: FFI again, Eli Zaretskii, 2013/10/06
- Re: FFI again, Stephen J. Turnbull, 2013/10/06
- Re: FFI again, Stefan Monnier, 2013/10/06
- Re: FFI again, Stephen J. Turnbull, 2013/10/07
- Re: FFI again, Stefan Monnier, 2013/10/07
- Re: FFI again,
Andy Moreton <=
- Re: FFI again, Stefan Monnier, 2013/10/07
- Re: FFI again, Eli Zaretskii, 2013/10/08
- Re: FFI again, Stephen J. Turnbull, 2013/10/07
- Re: FFI again, Richard Stallman, 2013/10/07
- Re: FFI again, Stephen J. Turnbull, 2013/10/08
- Re: FFI again, Eli Zaretskii, 2013/10/08
Re: FFI again, Eli Zaretskii, 2013/10/05
Re: FFI again, Daniel Colascione, 2013/10/05
Re: FFI again, Richard Stallman, 2013/10/06