RE: Minimal example of extending Guile with Rust?

2024-01-29 Thread M
> (similar to the >native C arrays numpy exposes to C that allow getting the >speed of C). For this in particular, there is pointer->bytevector, bytevector->pointer and bytevector-TYPE-ref, bytevector-TYPE-set! (it’s not limited to only bytes, also floats are available IIRC). Don’t do

Re: Minimal example of extending Guile with Rust?

2024-01-29 Thread Olivier Dion
On Mon, 29 Jan 2024, "Dr. Arne Babenhauserheide" wrote: [...] > Ideally with a fast Scheme-to-Rust-to-Scheme interface (similar to the > native C arrays numpy exposes to C that allow getting the speed of C). See . There is many path to do this. The

Re: Minimal example of extending Guile with Rust?

2024-01-29 Thread Jean Abou Samra
 There are a number of crates with Rust bindings to the Guile C API: https://lib.rs/search?q=guile Most of them are just the result of running the bindgen tool, which autogenerates Rust bindings from C header files. A few of them have slightly more convenient wrapper but none is really