IRC channel logs

2025-03-19.log

back to list of logs

<dthompson>alright we've got goblins CI running on our forgejo-runner instance now https://codeberg.org/spritely/goblins/actions/runs/2/
<jfred>\o/
<jfred>If I wanted to use a Guile library (guile-swayer) in a Goblins program that spawns another thread to communicate with a socket, what do I need to watch out for? At least anything that blocks on the main thread, I assume
<jfred>wondering if I'd need a custom vat for this
<dthompson>jfred: I don't think you'd need a custom vat for this case
<dthompson>but generally you want to have a good understanding of what computation is happening inside a vat and outside.
<dthompson>creating a new thread is definitely a case where you are leaving the context of a vat
<jfred>makes sense
<dthompson>I took a look at guile-swayer and yeah, seems there is some sort of event subscription thing
<dthompson>do you need to perform specific tasks in the thread running the event loop? that would be a sign that a custom vat might be required
<ridley>Should syrup records allow an empty arg list or throw an error?
<dthompson>ridley: the spec doesn't say that's invalid, which matches my intuition that 0 field records are fine.
<ridley>okay thanks.
<ridley>wasn't sure if unspecified meant valid or invalid
<ridley>but doesn't seem unreasonable to allow