chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] *crunch*


From: Ivan Raikov
Subject: Re: [Chicken-users] *crunch*
Date: Wed, 18 Apr 2007 10:30:26 +0900
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi Felix,

   This is pretty awesome, I might have to write a number of
extensions for a big C++ program in the next few months, and I would
so much prefer to generate the code from Scheme, even with all those
restrictions. 

   One thing I could not understand from your description is that you
say no garbage collector is used, but dynamically allocated data are
reference counted. What exactly does that mean? Do you care to
elaborate on how storage is handled in Crunch? I ask because if I end
up seriously using crunch, I might be interested in using it with a
custom memory allocator interface, such as libarena:

http://www.25thandclement.com/~william/projects/libarena.html

I am mostly interested in allocating and growing vectors in a
deterministic fashion. Well, I will certainly experiment with Crunch
and let you know how that goes. Thanks for creating this software. 


    -Ivan


"felix winkelmann" <address@hidden> writes:

> Hi!
>
>
> A preliminary, experimental and only minimally tested of the
> "crunch" mini-compiler is now available in the eggs repository.
> It compiles a statically typed and heavily restricted dialect of
> Scheme into C++. Crunch can be used to generate standalone
> programs without any external dependencies. Alternatively,
> you can embed sections of crunched code in normal Scheme
> programs. The idea is to write sections of performance-critical
> number crunching code and use them with minimal hassle.
>
> http://chicken.wiki.br/crunch
>
> This release is likely to contain many bugs and inusfficiences.
> Feedback is (as usual) welcome.
>
>
> cheers,
> felix
>





reply via email to

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