[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile
From: |
Peter Brett |
Subject: |
Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile |
Date: |
Sat, 09 Apr 2011 00:34:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> 1. I think we shouldn’t augment the C API unless strictly necessary,
> because the idea is to write Scheme, not C, and because of the
> maintenance cost.
At the risk of repeating myself:
The main attraction of using libguile for me is the fact that Guile has
a quite comprehensive C API for operating on Scheme values, and one that
is much more powerful and complete than most other embeddable Schemes.
Calling a scm_xxx_yyy() function is far far far (far far) more
convenient than looking up and dereferencing a Scheme variable, checking
that the value is a procedure of the correct number of arguments and
then constructing a procedure call. I find the increasing frequency of
people asserting that "the idea is to write Scheme, not C" disturbing,
and the trend certainly makes me worry whether embedded interpreter
users being increasingly treated as second class citizens.
Peter
--
Peter Brett <address@hidden>
Remote Sensing Research Group
Surrey Space Centre
- Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile, (continued)
- Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile, Detlev Zundel, 2011/04/11
- Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile, Noah Lavine, 2011/04/11
- Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile, Detlev Zundel, 2011/04/13
- Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile, Andy Wingo, 2011/04/13
- Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile, Mark H Weaver, 2011/04/13
- Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile, Detlev Zundel, 2011/04/13
- Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile, Noah Lavine, 2011/04/08
- Re: [PATCH] Fix the R6RS exact-integer-sqrt and import into core guile,
Peter Brett <=