From: "Hans Åberg" <haberg-1@telia.com>
To: Arun Isaac <theroarofthedragon@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: C++ Foreign Function Interface
Date: Fri, 11 Mar 2016 18:09:47 +0100 [thread overview]
Message-ID: <A08BF48F-4738-4B72-8F79-C3DBDE4BB822@telia.com> (raw)
In-Reply-To: <87a8m6nqm4.fsf@gmail.com>
> On 10 Mar 2016, at 19:18, Arun Isaac <theroarofthedragon@gmail.com> wrote:
> Is there any foreign function interface for C++ shared libraries in
> Guile? Can I somehow use the C FFI for this? Is there any documentation
> for this?
You will have to write it yourself. It has been discussed before on this list [1]. I wrote a sample [2], though, Guile, being dynamically typed, does not have a C++ distinction statically typed between integers and rational numbers.
1. https://lists.gnu.org/archive/html/guile-user/2015-01/msg00016.html
2. https://secure2.storegate.com/Shares/Home.aspx?ShareID=56659ce2-127e-455e-ba1f-e6cbc82ba973
next prev parent reply other threads:[~2016-03-11 17:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-10 18:18 C++ Foreign Function Interface Arun Isaac
2016-03-10 21:17 ` Chris Vine
2016-03-11 17:09 ` Hans Åberg [this message]
2016-03-11 20:17 ` Arun Isaac
2016-03-11 22:40 ` Hans Åberg
2016-03-14 16:04 ` Arun Isaac
2016-03-14 19:22 ` Chris Vine
2016-03-14 21:12 ` Jan Wedekind
2016-03-11 23:36 ` David Pirotte
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/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A08BF48F-4738-4B72-8F79-C3DBDE4BB822@telia.com \
--to=haberg-1@telia.com \
--cc=guile-user@gnu.org \
--cc=theroarofthedragon@gmail.com \
/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.
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).