On Wed, 2025-10-08 at 01:18 -0400, Nikolaos Chatzikonstantinou wrote:
> Hello list,
>
> I just wanted to show you this library that I wrote:
>
> 1. Documentation <https://annoyingusername.codeberg.page/guile-rope/>.
> 2. Project homepage <https://codeberg.org/annoyingusername/guile-rope>.
>
> It provides the (immutable) rope data structure for GNU Guile. I'm en
> route to writing a text editor (with no particular timeline in mind),
> and this library provides one of the needed functionalities to get it
> started.
At least on Linux, guile-3.0 is using Boehm's garbage collector:
% ldd /usr/bin/guile-3.0
linux-vdso.so.1 (0x00007f068dca4000)
libguile-3.0.so.1 => /lib/x86_64-linux-gnu/libguile-3.0.so.1
(0x00007f068db13000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f068d91d000)
libgc.so.1 => /lib/x86_64-linux-gnu/libgc.so.1 (0x00007f068d8ae000)
libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007f068d8a1000)
libunistring.so.5 => /lib/x86_64-linux-gnu/libunistring.so.5
(0x00007f068d6b9000)
libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f068d61f000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1
(0x00007f068d5e3000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f068d4f3000)
/lib64/ld-linux-x86-64.so.2 (0x00007f068dca6000)
and Boehm's GC https://en.wikipedia.org/wiki/Boehm_garbage_collector
also contains rope but calls them cord.
So another approach could be to code glue code interfacing the ropes inside
Boehm GC.
By the way, I am interested by inference engines (in open source) and
implementing one (C++ code,
GPL licensed, but not using Boehm GC, "REFlexive PERsistent PROject" on github).
Is anyone on the guile user mailing list coding an open source inference
engine, or simply
interested in some kind of cooperation?
--
Basile STARYNKEVITCH <[email protected]>
8 rue de la Faïencerie http://starynkevitch.net/Basile/
92340 Bourg-la-Reine https://github.com/bstarynk
France https://github.com/RefPerSys/RefPerSys