[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is a lightweight language

Dorai Sitaram <ds26@gte.com> writes:

> The one thing I don't like about call/cc is the
> sneaking suspicion that there may be a
> pay-even-if-you-don't-use-it cost associated with
> it.  I don't know how much this cost is a factor in the
> Scheme impls of today [1], and I suspect the answer to
> this question should be of some interest to the other
> language communities here that are considering
> including call/cc but want to do the fast thing.

One cost of call-with-current-continuation is the hurdle it introduces
to acceptance of the language.  People think `oooh, cwcc is scary and
bizarre, I don't want to hack scheme because I need to understand cwcc
in toto before I write *anything*'.