chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Fix #1133


From: Oleg Kolosov
Subject: Re: [Chicken-hackers] [PATCH] Fix #1133
Date: Thu, 03 Jul 2014 01:33:25 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 06/28/14 00:38, Felix Winkelmann wrote:
>> Sounds like candidates for "lolevel subset" APIs. There are also a room
>> for leveraging Chicken close relationship with C when optimizing code.
>> We have some bottlenecks where Scheme is "too high level" but using its
>> C API directly is too troublesome. It would be nice to have some more
>> low level stuff conveniently exposed to Scheme side.
> 
> What stuff would you like to see?

More documentation for internals, even comments will do.

More low level utilities for constructing complex data structures along
the lines of record-instance. A ways to define high performance analogs
of defstruct's update.

Some control for GC, with more direct support for ref-counted C
structures for example. Or callbacks from native threads. I know about
concurrent-native-callbacks, but it looks too magical to me. Maybe there
are simpler way. It is said that finalizers hurt performance, maybe this
can be improved with hints from C side (for FFI code).

These are random thoughts. I just barely remember about problems I've
had some time ago.

-- 
Regards, Oleg



reply via email to

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