IRC channel logs
2025-09-27.log
back to list of logs
<mwette>I'm thinking v4, because I think the API should be split up a bit. But, we could always include the old stuff (as deprecated, if desired). <rlb>Right --- my personal inclination is generally to favor backward compatibility where it's not overly expensive (but of course every now and then we may need to break things). <mwette>Specifically, I think we may something like (pointer->procedure int (foreign-library-pointer "libfoo" "bar") (make-ffi-arity (list '* '*))). <mwette>And it seems like 'int might be better than int from (system foreign). <sahar_sedigh>I want to install guile on some linux distro. Please help me understand how guile works? <sahar_sedigh>Is default installation directory the same as the linux distro? <sahar_sedigh>or Is guile package manager the same as nix. closed system. and it can managed the libraries and such! <identity>sahar_sedigh: guile does not have a package manager, you might be thinking of Guix <Arsen>sahar_sedigh: that's a separate project and quite nix-like, try #guix <ArneBab>mwette: I think it’s currently rather evolution for 3.0.11+ <mwette>ArneBab: yes, some of that is non-breaking; maybe a new ffi module to bring in a different API. <mwette>There are some other updates slated for libffi v4 but don't know when that is coming. <mwette>I found fibers on codeberg.org/fibers. When I "use" it I get this: Undefined variable: %fibers-version <euouae>mwette: now that I've attempted it, I see `no code for module (fibers config)` <euouae>I checked that config.go is produced by `make` but does not seem to be installed anywhere by make install`. <euouae>and %fibers-version is defined in config.scm.in so that seems to be the issue <euouae>I could send you a patch for it later <ft>Hm. I built the thing and in "./env guile" I (use-modules (fibers)), and %fibers-version yields 1.4.1… but maybe my environment leaks in somehow. <euouae>in ./env the load path is set to the directory that contains config.go <euouae>but when installed, config.go is never moved with the rest of the *.go files <euouae>nor is the produced config.scm (from config.scm.in) moved <euouae>I'll fix it today or tomorrow whenever I manage to get time for it