IRC channel logs
2025-06-13.log
back to list of logs
<old>is there a way to match a goop instances like we can match srfi-9 record with $ <type> ? <adhoc>anyone using guile 3.x.y with C++ ? <robin>adhoc, idk about guile 3 but gwm2 used c++ with guile 2 (a remake of an ancient lisp-based window manager, the only place i've seen a gpl version 1+ file in the wild) <adhoc>robin: ok, that must have been a while ago <muabdalaleam>While i was looking into the 2.4 Writing Guile Extensions section. I didn't find a way to write C -> Guile extision written Guile I have to use C. am I understanding correctly or is there away to import C functions into Guile using guile <muabdalaleam>Nevermind I found the ansewr at 2.5.3 Putting Extensions into Modules <adhoc>muabdalaleam: call C from Guile <adhoc>I was looking at that earlier <muabdalaleam>How can I write a module in Guile that imports C functions. I am saying a module not extension. <muabdalaleam>Thanks, I was searching using the term `FFI` and didn't find anything so i supposed there wasn't support <dsmith>adhoc, Actually, the bot is built over bobot++ <sneek>Sneeky bot running on Guile version 3.0.3 using bobot++ release.2.3.1-6-a463-dirty <adhoc>dsmith: bit confused about which bit controls which; <adhoc>"Bobot++ is an IRC Bot written in C++ that uses Guile to make it very extensible." <adhoc>so is the loading part in scheme calling out to C++ to do things <adhoc>or is that the other way around, a C++ program that calls into scheme do to things? <adhoc>have been reading up a bit of event model things, from teh idea to have lispy/scheme interface to call C++ thingsin the back ground to poke 3D/gpu things and GUI stuff <dsmith>Other way around. The C++ does all the protocol bits and calls into Scheme on various messages <dsmith>bobot++ does not need scheme at all to function. <dsmith>The bot lives in a beaglebone black and it's quite a chore to build on, especially since the flash is 2G and there is only about 500M free <dsmith>So it's running on a fairly old guile at this point <dsmith> Filesystem Size Used Avail Use% Mounted on <dsmith> /dev/mmcblk0p2 1.7G 1.5G 82M 95% / <adhoc>BB blak have 512MB main ram ? <adhoc>ACTION tries to build that stack on the roadkill box... <sneek>I've been faithfully serving for 4 months <sneek>This system has been up 20 weeks, 5 days, 21 hours, 41 minutes