lilypond-devel
[Top][All Lists]
Advanced

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

Re: Likely a good frog project for someone with C knowledge


From: Han-Wen Nienhuys
Subject: Re: Likely a good frog project for someone with C knowledge
Date: Tue, 16 Aug 2011 23:14:35 -0300

On Tue, Aug 16, 2011 at 7:17 PM, David Kastrup <address@hidden> wrote:
>> (and I am speaking as a GUILE developer here as well)
>
> So what does relying on undefined behavior buy us apart from the
> inability to debug type errors?

It buys us time to work on more interesting and more valuable improvements.

Speaking as a long-time lilypond developer, it is my experience that
the errors you point out are not a problem (except for the SCM => bool
conversion).  GUILE's API uses data that can be passed into C
functions efficiently as parameters.  This means that the SCM type
must be a machine word, so the genericity suggested by the GUILE docs
are a joke.

If you feel compelled to change large swaths of source code by
substituting x == SCM_EOL with scm_is_eq(x, SCM_EOL), then I can't
stop you, but to me it just looks like a waste of time.

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]