[Top][All Lists]

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

Re: [Chicken-users] Chicken-users Digest, Vol 149, Issue 2

From: Peter Bex
Subject: Re: [Chicken-users] Chicken-users Digest, Vol 149, Issue 2
Date: Tue, 7 Apr 2015 15:48:28 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Apr 07, 2015 at 09:33:49AM -0400, F. Rafael Leon wrote:
> Even when editing the C code, I wrap it in chicken and dynamically
> load it over and over again as I refine the inner loop.

Hey, that sounds interesting!  How do you do that?

> No implementation is as fast as 10 lines of hand-optimized C.

C is good for performance, and it makes a lot of sense to write stuff
in it when it needs to be really fast, but it shouldn't become a crutch
like it is for PHP, Ruby and Python coders when faced with performance
issues:  If the Scheme code is slow when compiled, it makes sense to
first investigate whether it's a bottleneck that can be solved in the
compiler, or with a few hacks^Wwell-placed macros ;)


Attachment: signature.asc
Description: Digital signature

reply via email to

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