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 _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
