IRC channel logs

2022-01-20.log

back to list of logs

<daviid>stis: hello
<daviid>a little while ago, you wrote 'having fun with g-golf ...' so, just to let you know i fixed a couple of bugs and advice you to checkout the master branch, pull the very latest, and run the make danse ... if you still use g-golf that is :)
<daviid>sneek: later tell tohoyn i just pushed another important fix, on the master branch ...
<sneek>Will do.
<stis>daviid: will do ...
<daviid>stis: great! don't forget to share your experience with us here ... when you have something you'rehappy to show ...
<stis>daviid: yeah I am working on a simple spreadsheet application.
<daviid>stis: nice!
***janneke_ is now known as janneke
***karlosz_ is now known as karlosz
<waynedpj>ahoy all.  can Guile programs be compiled to a native executable file?  or does the interpreter always need to be around to run a Guile program?  thanks.
<pinoaffe>waynedpj: guile is an interpreted language
<pinoaffe>waynedpj: it's possible to embed the guile interpreter into a binary, but that would still interpret the guile program at runtime
<waynedpj>pinoaffe: thank you.  i realize that it is interpreted, but there seem to be other Schemes that are interpreted but can also produce native executables, e.g. Racket.
<waynedpj>pinoaffe: thus i was hoping for something similar with Guile.  are there any existing plans for this?
<pinoaffe>waynedpj: I mean, when racket creates native executables, all it does is package the scheme code along with its runtime into an executable file
<pinoaffe>(if I'm not mistaken)
<waynedpj>pinoaffe: additionally i believe that Chez scheme has an interpreter but also compiles to native code.  perhaps they all are just bundling the interpreter into the native executable?
<pinoaffe>waynedpj: as I understand it Chez can compile source to "close-to-native" code, but since "eval" is a thing you still need an interpreter available at runtime
<pinoaffe>or a JIT compiler at runtime
<pinoaffe>waynedpj: If i understand it correctly, guile does something similar, but it compiles to bytecode for the guile virtual machine rather than to (near) native code
<pinoaffe>but this is all just based on reading the docs, I have no knowledge of guile/chez/racket internals
<waynedpj>pinoaffe: yes of course.  i am checking out the docs as well.  Chez and Racket list the feature of compiling to native code while Guile does not.  i came here hoping that i had just missed it in the Guile docs.  from Guix i discovered Guile and have been thinking about using it more for programming tasks like simple utils and scripts.  i
<waynedpj>normally write them in sh so was hoping for a simple way to ship the utils without requiring the Guile runtime.
<lloda>if Guile could do that, it wouldn't be undocumented ;)
<dsmith-work>UGT Greetings, Guilers
<mwette>Does anyone have an example of performing basic authentication with the guile web client?
<dsmith-work>mwette: Sorry, wish I could help. Isn't it just a matter of adding the correct header(s)?
<mwette>I think so. But there is base64 encoding. I will take a shot.
<dsmith-work>IS there even a curl-like example for doing a simple GET?
<lilyp>(http-get URL) not good enough? :P
<mwette>there is github.com/spk121/guile-curl
<waynedpj>pinoaffe & lloda thank you both for your help!