r/guile • • Mar 11 '23

Guile Hacker Handbook - New chapters

42 Upvotes

🚀 New chapters added to the Guile Hacker Handbook ! 🚀

This is a book to learn Guile in a #TestDrivenLearning style 👽

⬇️ Check it out ⬇️

🇫🇷 🇬🇧 jeko.frama.io

  • The Guile app tutorial is making a new step forward.

  • How do you feel about the « Fix it! » experiment ?

Happy reading !


r/guile • • Dec 31 '21

GNU Orca 1.0.0 released!

36 Upvotes

I am very happy to announce the first release of Orca, a Guile (Scheme) library containing RPC routines for parallel computation on MPI systems.

MPI is one of the most used standards, in particular high-performance computing systems. However, MPI programmers are explicitly required to deal with many complexities that render MPI programming hard to reason about. I designed and implemented a set of new APIs to alleviate this complexity by taking advantage of the expressive power of Scheme language using remote evaluation techniques on MPI systems.

Orca library allows all worker processes with separate memory spaces to collectively apply the specified function to the given arguments which are either broadcasted or partitioned among the processes as shown below:

The source code of the library is made available on my gitweb page under LGPL version 3 or later.

The paper explaining the Orca library is published and presented at the Computing Conference 2021 in London, UK. The preprint version of the paper can be reached at my ResearchGate page.


r/guile • • Jan 17 '20

GNU Guile 3.0 released with JIT

Thumbnail
gnu.org
34 Upvotes

r/guile • • Jul 22 '20

Guile Hacker Handbook (WIP)

Thumbnail
jeko.frama.io
29 Upvotes

r/guile • • Feb 04 '23

Guile on WebAssembly project underway! -- Spritely Institute

Thumbnail
spritely.institute
25 Upvotes

r/guile • • Feb 09 '19

Andy Wingo - Guile 3: Faster programs via just-in-time compilation

Thumbnail
fosdem.org
22 Upvotes

r/guile • • Mar 09 '23

Robin Templeton joins The Spritely Institute

19 Upvotes

More good news from Spritely.

Yesterday Robin Templeton joined The Spritely Institute. They are joining the team currently in charge of the very interesting Guile->WASM project.

If you've been any near the Emacs community for the past decade or so, you might be aware of the Guile Emacs project: Templeton was the main developer behind this project.

In the past few months, the Spritely Institute has hired David Thompson (of Sly, Haunt, and Chickadee fame, amongst many other projects), and Andy Wingo (from Igalia, and of Guile fame) to augment its dev team (which includes Jessica Tallon and CTO Christine Lemmer-Webber). With the incorporation of Robin Templeton, the amount of hack energy at Spritely is reaching very high levels indeed:

https://spritely.institute/news/robin-templeton-joins.html


r/guile • • Mar 16 '17

GNU Guile 2.2.0 released

Thumbnail gnu.org
16 Upvotes

r/guile • • Nov 04 '15

Guile's shiny new website is live

Thumbnail
gnu.org
14 Upvotes

r/guile • • Jul 24 '25

The Guile Hacker Handbook switched from mdbook to haunt

Thumbnail reddit.com
13 Upvotes

r/guile • • Jan 07 '21

Guile Hacker Handbook - Emacs

Thumbnail jeko.frama.io
13 Upvotes

r/guile • • Jan 18 '20

Developing Gnome / GTK applications with Guile

13 Upvotes

Hi, I'm interested in developing GTK applications with Guile. I know that some GTK applications use Guile as a extension language, but I'm wondering if Guile itself is a first class language to develop GTK applications?

I know there is guile-gnome but there seem to be little or no releases over the past years.

Any hints for a Guile beginner like me? Thanks :-)


r/guile • • Nov 04 '15

GNU Guile 2.1.1 released

Thumbnail lists.gnu.org
13 Upvotes

r/guile • • Dec 28 '21

[ANN] GNU Artanis-0.5.1 (stable) released!

Thumbnail self.gnu
12 Upvotes

r/guile • • Nov 27 '20

Let's Guile together !

12 Upvotes

Hello Guilers !I remote-pair-programmed with a fellow Guiler yesterday ! It was really motivating. I want some more haha !

I endorsed the observer/navigator role the whole time. As my pair was starting using my test runner (so cooooool) I felt OK as it allow me to take note about his impediments using it.

I really really want to make it a weekly meeting as I love to share with other Guilers in front of a code editor.

If you want to join the adventure I would be so happy to schedule a session (30min - 1hr) with you! Just send me a message ! If you are not experienced, I will be happy to teach and share with you whatever I can. If you do are experienced, you better like to be in the teacher (or coach) position. haha

I hope it will be possible to even try mob programming with 4-5 of us to maximize the knowledge sharing if you know friends interested.

TDD Kata, Legacy Code refactoring, Project Contribution, whatever, this is so exiting haha

Hack4Good !


r/guile • • Sep 01 '20

Guile as a live bash extension

12 Upvotes

r/guile • • Feb 06 '23

#FOSDEM23: Andy Wingo - Whippet: A new production embeddable garbage collector for Guile

11 Upvotes

More goodness from this year's FOSDEM. If you've been following Andy Wingo's blog in the past year or so, you'll know that he's been at work at an improved garbage collector for Guile. Here, he presents the development and current status of the project - called "Whippet" - and he also proposes some tentative plans for deployment in future releases of Guile.

Guile has a new garbage collector coming! The Whippet collector improve throughput and scalability of Guile programs, and is built in such a way that it can be swapped into most any language runtime that uses that BDW-GC. With minimal adaptations in user code, you get a collector that's competitive with the industry-standard Boehm-Demers-Weiser conservative collector, but which scales better for multiple allocation threads. As incremental changes are made in Guile to integrate Whippet, we will also gain the ability to compact the heap, even while keeping conservative scanning of the C stack. This talk presents the structure of whippet and some performance numbers for how it improves Guile program behavior.

The Whippet garbage collector provides an abstract interface that user programs (like Guile) can use to allocate memory, and also provides a number of collectors that implement that API. One of them is the BDW-GC collector: this will be the first step in Guile's switch to Whippet, to change to use the Whippet API but keep the same GC implementation. Compile-time flags choose the collector implementation, and in the next step, Guile will switch over to Whippet's main collector, an Immix-derived mark-region collector. This collector has a few modes, including a heap-conservative mode that mimics BDW-GC, as well as a stack-conservative mode that allows evacuation and compaction of objects that aren't referenced by conservative roots.

The talk will include a quick overview of Immix-style collectors, for context.

Whippet scales: it has been carefully designed to avoid contention during allocation, and avoid locking except during collection. Collection is optionally parallel and optionally generational. We'll examine the performance and practical impacts of these choices, in synthetic test harnesses and in real Guile programs.

Whippet is designed to be included into a user's C source code, as it needs compile-time configuration. The talk will show examples of the size of the collector and its memory efficiency when compared to BDW-GC and to a semispace collector.

Video and slides of the talk are here: https://fosdem.org/2023/schedule/event/whippet/

You might also want to leaf through the relevant posts on the Wingolog: https://wingolog.org/tags/gc


r/guile • • Feb 05 '23

#FOSDEM23: Andrew Whatson. "Introduction to Pre-Scheme"

Thumbnail self.scheme
11 Upvotes

r/guile • • Feb 02 '23

Release: Spritely Goblins 0.10 - a distributed programming environment for Guile and Racket

Thumbnail
self.scheme
11 Upvotes

r/guile • • Dec 13 '21

Send an SMS with Guile and Twilio API

Thumbnail
write.as
11 Upvotes

r/guile • • Mar 08 '21

LambdaChip reported on Hackster.io

Thumbnail
hackster.io
10 Upvotes

r/guile • • Jan 13 '21

Your Next Meal: a Guile Web App

Thumbnail
rednosehacker.com
10 Upvotes

r/guile • • Sep 09 '20

Sending an Email with Guile

10 Upvotes

guix install msmtp;

(define-module

#:use-modules (ice-9 popen)

#:export (send-email))

(use-modules (ice-9 popen))

(define (send-email to subject body)

(let ((port (open-pipe* OPEN_WRITE "msmtp" to)))

(display (email-rfc-2822 subject body) port)

(close-pipe port)))

(define (email-rfc-2822 subject body)

(string-append

"Subject: " subject "\n"

"Date: Fri, 21 Nov 1997 09:55:06 -0600\n"

"Message-ID: [email protected]\n\n"

body))

(send-email "[email protected]" "Hi Mom!" "How are you doing today?")

https://video.hardlimit.com/videos/watch/95ddfcce-0be7-4d2c-a1d4-8017deedfdeb


r/guile • • Dec 25 '19

What's new in GNU Artanis 0.4.1

Thumbnail
nalaginrut.com
10 Upvotes

r/guile • • Dec 30 '18

[ANN] GNU Artanis-0.3.1 released!

Thumbnail lists.gnu.org
10 Upvotes