Re: Languages with well-integrated Foreign Function Interface to learn from?

Hans Aberg <haberg_20080406@math.su.se>
Tue, 21 Jul 2009 16:05:05 +0200

          From comp.compilers

Related articles
Languages with well-integrated Foreign Function Interface to learn fro lerno@dragonascendant.com (=?ISO-8859-1?Q?Christoffer_Lern=F6?=) (2009-07-21)
Re: Languages with well-integrated Foreign Function Interface to learn anton@mips.complang.tuwien.ac.at (2009-07-21)
Re: Languages with well-integrated Foreign Function Interface to learn barry.j.kelly@gmail.com (Barry Kelly) (2009-07-21)
Re: Languages with well-integrated Foreign Function Interface to learn haberg_20080406@math.su.se (Hans Aberg) (2009-07-21)
Re: Languages with well-integrated Foreign Function Interface to learn jgd@cix.compulink.co.uk (2009-07-21)
Re: Languages with well-integrated Foreign Function Interface to learn uninverted@lavabit.com (Nathan Seese) (2009-07-22)
Re: Languages with well-integrated Foreign Function Interface to learn gene.ressler@gmail.com (Gene) (2009-07-22)
Re: Languages with well-integrated Foreign Function Interface to learn dot@dotat.at (Tony Finch) (2009-07-26)
Re: Languages with well-integrated Foreign Function Interface to learn paul.biggar@gmail.com (Paul Biggar) (2009-07-28)
Re: Languages with well-integrated Foreign Function Interface to learn cr88192@hotmail.com (BGB / cr88192) (2009-08-24)
[9 later articles]
| List of all articles for this month |

From: Hans Aberg <haberg_20080406@math.su.se>
Newsgroups: comp.compilers
Date: Tue, 21 Jul 2009 16:05:05 +0200
Organization: Aioe.org NNTP Server
References: 09-07-074
Keywords: code, functional
Posted-Date: 24 Jul 2009 18:25:59 EDT

Christoffer LernC6 wrote:
> I'd like to research FFI in various languages, basically to find the
> best FFI-solution and copy from that one.
> It's likely that I will restrict myself to interfacing with C, so if
> there are elegant solutions integrating with C, and more clunky but
> flexible that are more general, I probably prefer the ones that
> exclusively target C.


Haskell <http://haskell.org/> has FFI to C. It is probably GHC you
should look at. Hugs is an interpreter, good for running at a console,
and also has some FFI to C.


      Hans



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.