Eston by mikedidthis

Fastidious Elegance

My name is Aaron Hsu, and I'm a computer scientist. I'm changing the way people look at computing and programming languages, what they can do with them, and how they do it.

Co-dfns Patreon Archives
RSS Email Github Youtube Patreon
Aaron W. Hsu

Bytevectors and Foreign Code

Sometimes when working with bytevectors in Chez Scheme, you want to treat that bytevector as a foreign allocated block of data that you can pass to functions that will be used by the foreign side of code. If the procedure which expects a pointer to a block of memory is

c code ffi foreign-function-interface scheme tech
8 years ago