[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About gh_'s deprecation
From: |
Marius Vollmer |
Subject: |
Re: About gh_'s deprecation |
Date: |
01 Sep 2001 13:38:21 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102 |
Fabrice Bauzac <address@hidden> writes:
> Please forgive my misunderstanding, but I thought the gh_ interface
> was the language-independant level of Guile.
>
> I mean, since Guile isn't only Scheme, and can be Perl or Python or
> OCaml or whatever, shouldn't there be a language-independant interface
> so that a program using Guile as the glue language can call the
> function "foo", in whatever language it may have been written?
No, it's more like that all languages are translated into Scheme (or
something very close), and the lower levels of Guile are a Scheme
system. GH used to be the implementation independent interface to a
Scheme system, that is, using GH, you could write C code that works
with Guile, as well as any other Scheme implementation that chooses to
implement a GH interface. At least that was the idea (and it's a good
idea), but we don't want to work on this as part of the core Guile
system.