Dmitry Bogatov <kact...@gnu.org> writes:

> [2016-07-18 21:41] Amirouche Boubekki <amirou...@hypermove.net>
>>
>> On 2016-07-18 17:17, kact...@gnu.org wrote:
>> > From: Dmitry Bogatov <kact...@gnu.org>
>> >
>> > Document '<foreign-type>' record type and 'define-foreign-type'
>> > procedure.
>>
>> Can you compare this 'foreign-type' library with scheme-bytestructures [0].
>> How can both libraries help each other?  Work hand in hand?
>
> Seems that 'scheme-bytestructures' can be used to implement something like
> `define-foreign-struct', but since it is not currently part of Guile, I, sure,
> can't depend on it.
>
> Also, 'parse-c-struct' provides similiar functionality.

I was keeping an eye on this thread because it sounded like something
bytestructures could help in.  Tell me if you need cooperation; I'm the
author of bytestructures.

I'm not sure if the Guile maintainers would like to make bytestructures
a part of Guile as it stands, but I have my FSF copyright assignment
paperwork done and from my side all is fine.  John Cowan wants to make
it a SRFI for possible adoption in R7RS-large, which would have some
implications on future design and implementation choices in the project
(e.g. not making it dependent on any Guile-specific concepts) but I'll
prioritize Guile if I'm forced to make choices.

Taylan

Reply via email to