Re: [PATCH] Fixes for custom-ports

2024-01-29 Thread Developers list for Guile, the GNU extensibility library
On Mon, 2024-01-29 at 14:46 +0100, Ludovic Courtès wrote: > Jonas Hahnfeld via "Developers list for Guile, the GNU extensibility > library" skribis: > > > From b5f1013ad969b6e4e35b36dc63798375ffbecda3 Mon Sep 17 00:00:00 2001 > > From: Jonas Hahnfeld > > Date: Tue, 24 Oct 2023 12:47:21 +0200 >

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

Minimal example of extending Guile with Rust?

2024-01-29 Thread Dr. Arne Babenhauserheide
Hi, do you know a nice minimal example that shows how to extend Guile with Rust to get maximum performance for some tasks? I’m not looking for hints how to speed up Scheme code, or how to do less. Instead I want to learn how to do those cases where I actually need some specific algorithm at

Re: [PATCH] Fixes for custom-ports

2024-01-29 Thread Ludovic Courtès
Jonas Hahnfeld via "Developers list for Guile, the GNU extensibility library" skribis: > From b5f1013ad969b6e4e35b36dc63798375ffbecda3 Mon Sep 17 00:00:00 2001 > From: Jonas Hahnfeld > Date: Tue, 24 Oct 2023 12:47:21 +0200 > Subject: [PATCH 1/2] Fix loading of custom-ports extension > > *

Re: [PATCH] Remove and ignore generated files

2024-01-29 Thread Ludovic Courtès
Hi Jonas, Jonas Hahnfeld via "Developers list for Guile, the GNU extensibility library" skribis: > running autogen.sh produces a number of generated files that are > currently not properly ignored or even checked into git. Please take a > look at the attached patches and apply if suitable.