Re: Implementing the guix-dameon in Guile

2023-12-30 Thread Development of GNU Guix and the GNU System distribution.
Hello, I saw this and the blog post about it just now. This is very interesting! I have started working on this on my own, in the hope of eventually sharing something useful. However, I am a guile (and guix) novice and I don't have plenty of time and my job is completely unrelated to computers.

Re: Implementing the guix-dameon in Guile

2023-09-18 Thread Thompson, David
Hey Christopher and Ludovic, First, congrats on the NLnet funding! I've wanted to see this project happen for years so I'm excited to see it finally happening. On Thu, Sep 14, 2023 at 9:30 AM Ludovic Courtès wrote: > > Hi Christopher, > > Christopher Baines skribis: > > > My plan is to focus

Re: Implementing the guix-dameon in Guile

2023-09-18 Thread Christopher Baines
Mathieu Othacehe writes: >> I imagine the daemon could be structured as a set of actors (it’s really >> my thing these days ;-)), with an eye on facilitating code sharing and >> interaction with the Coordinator, Cuirass, and all that. > > I think this point is really important here. If the

Re: Implementing the guix-dameon in Guile

2023-09-18 Thread Christopher Baines
Mekeor Melire writes: > 2023-09-13 16:36 m...@cbaines.net: > >> I think this has been talked about for a while [1], but I want to >> make it happen. Currently the guix-daemon is still similar to the >> nix-daemon that it was forked from, and is implemented in C++. I >> think that a Guile

Re: Implementing the guix-dameon in Guile

2023-09-18 Thread Christopher Baines
Caleb Ristvedt writes: >> Still though, I'd like to hear what people think about which direction >> the implementation should go, and what features they'd like to see. Even >> if those are not essential to make the Guile implementation viable, it >> still might inform the direction to take. >

Re: Implementing the guix-dameon in Guile

2023-09-18 Thread Christopher Baines
Josselin Poiret writes: >> 2: https://nlnet.nl/project/GuixDaemon-Guile/ >> >> Rewrites are risky because you only get the value right at the end, >> therefore the priority is to get a minimal but viable implementation in >> Guile that can be switched to, and not to get distracted on adding or

Re: Implementing the guix-dameon in Guile

2023-09-16 Thread Mathieu Othacehe
Hey Chris, Congrats on getting the grant! I'm sure it will lead to a lot of positive things. I tried it myself a couple years ago, for the exact same subject, without success. > I imagine the daemon could be structured as a set of actors (it’s really > my thing these days ;-)), with an eye on

Re: Implementing the guix-dameon in Guile

2023-09-15 Thread Development of GNU Guix and the GNU System distribution.
My old university email address started demanding a phone number to "verify the security of my account", which was pretty funny considering it never had a phone number to begin with, so I'm locked out of that. Same GPG public key, though. Christopher Baines writes: > Hey! > > I think this has

Re: Implementing the guix-dameon in Guile

2023-09-14 Thread Mekeor Melire
2023-09-13 16:36 m...@cbaines.net: I think this has been talked about for a while [1], but I want to make it happen. Currently the guix-daemon is still similar to the nix-daemon that it was forked from, and is implemented in C++. I think that a Guile implementation of the guix-daemon will

Re: Implementing the guix-dameon in Guile

2023-09-14 Thread Ludovic Courtès
Christopher Baines skribis: > I'm not very familiar with actors, but I guess that's similar to having > a bunch of cooperating fibers which handle different things. Yes. Specifically, actors here are a fiber together with a channel; each actor looks like: (let loop ((state …)) (match

Re: Implementing the guix-dameon in Guile

2023-09-14 Thread Christopher Baines
Ludovic Courtès writes: >> Rewrites are risky because you only get the value right at the end, >> therefore the priority is to get a minimal but viable implementation in >> Guile that can be switched to, and not to get distracted on adding or >> improving functionality unnecessarily. That is

Re: Implementing the guix-dameon in Guile

2023-09-14 Thread Ludovic Courtès
Christopher Baines skribis: > I think compatibility is a priority, and although I haven't looked too > much in to the details yet, I think it's quite realistic. > > I think it's very important for Guix to keep compatibility with older > daemons, and on the daemon side, I'd want to see the Guile

Re: Implementing the guix-dameon in Guile

2023-09-14 Thread Ludovic Courtès
Hi Christopher, Christopher Baines skribis: > My plan is to focus on this over the next year. I left my previous day > job quite a few months ago now to take a bit of a break, that's the main > reason I've been able to spend more time trying to push forward some of > the QA stuff. With some

Re: Implementing the guix-dameon in Guile

2023-09-14 Thread Josselin Poiret
Hi Chris, Christopher Baines writes: > Hey! > > I think this has been talked about for a while [1], but I want to make it > happen. Currently the guix-daemon is still similar to the nix-daemon > that it was forked from, and is implemented in C++. I think that a Guile > implementation of the

Re: Implementing the guix-dameon in Guile

2023-09-14 Thread Christopher Baines
Vagrant Cascadian writes: > On 2023-09-13, Christopher Baines wrote: >> I think this has been talked about for a while [1], but I want to make it >> happen. Currently the guix-daemon is still similar to the nix-daemon >> that it was forked from, and is implemented in C++. I think that a Guile

Re: Implementing the guix-dameon in Guile

2023-09-14 Thread Christopher Baines
Maxim Cournoyer writes: >> The transformation toward a Guile daemon is a point of consistency and >> pride for the project and therefore unlikely to be second-guessed or >> reverted. My recommendation is to replace the daemon gradually—working >> from (apply system* (command-line) downward—and

Re: Implementing the guix-dameon in Guile

2023-09-14 Thread Simon Tournier
Hi, Really cool! Congrats Chris! :-) On Wed, 13 Sep 2023 at 13:13, Maxim Cournoyer wrote: > I had some musing about the daemon recently; I was thinking libguile > could be added to our old C++ daemon, which could then replace its > functions piece-wise with Scheme implemented ones? Maxim,

Re: Implementing the guix-dameon in Guile

2023-09-13 Thread Vagrant Cascadian
On 2023-09-13, Christopher Baines wrote: > I think this has been talked about for a while [1], but I want to make it > happen. Currently the guix-daemon is still similar to the nix-daemon > that it was forked from, and is implemented in C++. I think that a Guile > implementation of the guix-daemon

Re: Implementing the guix-dameon in Guile

2023-09-13 Thread Maxim Cournoyer
Hi! Felix Lechner via "Development of GNU Guix and the GNU System distribution." writes: > Hi Chris, > > On Wed, Sep 13, 2023 at 9:29 AM Christopher Baines wrote: >> >> Rewrites are risky because you only get the value right at the end, >> therefore the priority is to get a minimal but viable

Re: Implementing the guix-dameon in Guile

2023-09-13 Thread Development of GNU Guix and the GNU System distribution.
Hi Chris, On Wed, Sep 13, 2023 at 9:29 AM Christopher Baines wrote: > > Rewrites are risky because you only get the value right at the end, > therefore the priority is to get a minimal but viable implementation in > Guile that can be switched to Sounds exciting! I would like to help with

Implementing the guix-dameon in Guile

2023-09-13 Thread Christopher Baines
Hey! I think this has been talked about for a while [1], but I want to make it happen. Currently the guix-daemon is still similar to the nix-daemon that it was forked from, and is implemented in C++. I think that a Guile implementation of the guix-daemon will simplify Guix and better support