octave-maintainers
[Top][All Lists]
Advanced

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

Re: Further on MEX


From: Michael Goffioul
Subject: Re: Further on MEX
Date: Sun, 4 Jan 2009 23:43:58 +0000

On Sun, Jan 4, 2009 at 9:57 AM, Aravindh Krishnamoorthy
<address@hidden> wrote:
> 3. [feature-req] What is the take on supporting 'loadlibrary', etc
> functions in Octave?

Calling a foreign function in binary form (that is, without a compilation
step) will inevitably involve some assembly coding and will be
processor specific. I've worked on this in the past to bridge LISP
with foreign C code and it's not a straightforward job (it's more
than just loading a shared library; you have to know how to pass
arguments to functions, in which registers, in which order, how
to clean up the stack...). There are probably some libraries out there
to ease this task (IIRC one was named fficall).

Michael.


reply via email to

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