public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: Tom Phillips <tsphillips@omeninc.com>
To: guile-gtk@sources.redhat.com
Subject: Re: Taking the defs file issue
Date: Mon, 13 Nov 2000 04:17:00 -0000	[thread overview]
Message-ID: <3A0FDAC9.E6354AF9@omeninc.com> (raw)
In-Reply-To: <87k8a8d70j.fsf@raven.localnet>

Rob Browning wrote:
> 
> Marius Vollmer <mvo@zagadka.ping.de> writes:
> 
> > I quite strongly disagree with this.  In my view, the functions
> > exported to the Scheme side must not be not be `dangerous' in the
> > sense that a pilot error can not lead to memory corruption, memory
> > leaks or similar.
> 
> Well, I suppose this depends on your perspective, and what you want.
> If you want to create a tool that lets you do from scheme the same
> things you can do from C with a given C API, and if you want to
> provide a way for people to *quickly* wrap *existing* C APIs without
> having to write a lot of additional glue code, then I think it's going
> to be *very* difficult to avoid the "dangerous" things you're talking
> about.

As someone who's been using guile and guile-gtk, I'd like to throw in my
two cents. When I write in Scheme it's for its characteristics as a
functional language. Any time I have to break down and resort to
procedural constructs, or rely exclusively on side effects, the language
loses some appeal. If I also needed to worry about memory allocation and
deallocation, I think I'd be better off using another language, such as
C, for example. I realize that I'm just one programmer, but I believe
Scheme's functional aspects are what make it a good choice for certain
applications.

Tom Phillips

  reply	other threads:[~2000-11-13  4:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200011122001.OAA18311@cs.utexas.edu>
2000-11-12 13:41 ` Rob Browning
2000-11-12 16:22   ` Marius Vollmer
2000-11-12 16:56     ` Rob Browning
2000-11-13  4:17       ` Tom Phillips [this message]
2000-11-15  6:42       ` Marius Vollmer
2000-11-15 10:36         ` Rob Browning
2000-11-12 12:01 Ariel Rios

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A0FDAC9.E6354AF9@omeninc.com \
    --to=tsphillips@omeninc.com \
    --cc=guile-gtk@sources.redhat.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).