[#]DecemberAdventure
Today I worked through the Guile Hoot tutorial.
My lack of real understanding of #Guix resulted in a wild goose-chase that led me to build NodeJS from source, but as a result I now have a better sense of how #Guile loads modules under #Guix.
I also enjoyed reading the entries of other participants.
https://afmoreno.srht.site/blog/2024-december-adventure.html
=> More informations about this toot | More toots from monkey1@fosstodon.org
[#]DecemberAdventure
December 11
Another try to use #Fibers channels with #Hoot for data-driven events.
The idea is to capture events, e.g., mouse clicks and send a message to a channel where the event is dispatched to change state corresponding to the event message.
A bit frustrated but reminding myself that programming in #Guile is artisanal, which is why I am using this language.
There is also a growing ecosystems of FOSS being written in #Guile. Using #Guile is important.
=> More informations about this toot | More toots from monkey1@fosstodon.org
@monkey1 guile is lovely but also weird and frustrating in that it seemingly can't decide if it wants to be a high or low level language
=> More informations about this toot | More toots from lhp@mastodon.social
@lhp
Lots of good stuff happening in #Guile like #Guix, #Hoot, and #goblins
But, yeah, it can be tough going and rough edges are easily found.
My main concern is regarding the capacity of the project for accepting patches and working on the little stuff.
[#]Guix and its success will pull it along, I hope! (Also Spritely!)
=> More informations about this toot | More toots from monkey1@fosstodon.org
@monkey1 I am also really happy seeing guile alive and well and used more than ever.
I just think it's a bit annoying how much high-level control flow is missing from a supposed scripting language. If you've ever used emacs lisp, you'll be missing a lot in guile you'll have to reimplement yourself first.
=> More informations about this toot | More toots from lhp@mastodon.social
@lhp
Yes, there are a lot of holes in #guile and one has to roll one's own solution to well-trod places.
On the other hand, it is excellent for playing with low-level stuff like sockets and any C library.
I guess this was your main point earlier, right?
=> More informations about this toot | More toots from monkey1@fosstodon.org
@monkey1 yes :)
Guile can do low-level stuff reasonably well and surprisingly efficient (the C FFI isn't great though).
But usually when I reach for guile, I am more interested in using it as a scripting language and then having to write list iteration primitives myself rather than just focusing on the actual thing I want to do is a bit of a let-down.
=> More informations about this toot | More toots from lhp@mastodon.social
@lhp
I had to write a function to copy files that automatically created directories because the default libraries missed this one bit when writing a script to publish my blog.
Agree that it is not as ergonomic as others, e.g., babashka is a joy to use for scripting.
=> More informations about this toot | More toots from monkey1@fosstodon.org This content has been proxied by September (3851b).Proxy Information
text/gemini