unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* [ANN] Metabash 0.0.0
@ 2020-08-06 20:35 Artyom V. Poptsov
  2020-08-07 18:15 ` Aleix Conchillo Flaqué
  0 siblings, 1 reply; 3+ messages in thread
From: Artyom V. Poptsov @ 2020-08-06 20:35 UTC (permalink / raw)
  To: Guile Users' Mailing List

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

Hello Guilers,

I started a project called Metabash -- it's a library for GNU Guile that
allows to create distributed pipelines that connect processes (akin to
Unix pipes) across different hosts:
  https://github.com/artyom-poptsov/metabash

I thought if would be cool to have such a facility for Guile.

Although this is an alpha release that contains a proof-of-the-concept
Metabash implementation, the basic functionality is already there -- see
the example in the README file.

Happy hacking!

- Artyom

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ANN] Metabash 0.0.0
  2020-08-06 20:35 [ANN] Metabash 0.0.0 Artyom V. Poptsov
@ 2020-08-07 18:15 ` Aleix Conchillo Flaqué
  2020-08-08  7:32   ` Artyom V. Poptsov
  0 siblings, 1 reply; 3+ messages in thread
From: Aleix Conchillo Flaqué @ 2020-08-07 18:15 UTC (permalink / raw)
  To: Artyom V. Poptsov; +Cc: Guile Users' Mailing List

On Thu, Aug 6, 2020 at 1:35 PM Artyom V. Poptsov <poptsov.artyom@gmail.com>
wrote:

> Hello Guilers,
>
> I started a project called Metabash -- it's a library for GNU Guile that
> allows to create distributed pipelines that connect processes (akin to
> Unix pipes) across different hosts:
>   https://github.com/artyom-poptsov/metabash
>
> I thought if would be cool to have such a facility for Guile.
>
> Although this is an alpha release that contains a proof-of-the-concept
> Metabash implementation, the basic functionality is already there -- see
> the example in the README file.
>
>
This is really cool!

Maybe it doesn't make sense, but could the `(guile ...) be handled by the
same running process instead of creating another process, so you just pass
this to the plumber?

(let loop ((line (read-line)))
                                (if (eof-object? line)
                                  (exit)
                                  (begin
                                    (write-line (string-join (string-split
line #\:) ","))
                                    (loop (read-line)))))

Aleix


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ANN] Metabash 0.0.0
  2020-08-07 18:15 ` Aleix Conchillo Flaqué
@ 2020-08-08  7:32   ` Artyom V. Poptsov
  0 siblings, 0 replies; 3+ messages in thread
From: Artyom V. Poptsov @ 2020-08-08  7:32 UTC (permalink / raw)
  To: Aleix Conchillo Flaqué; +Cc: Guile Users' Mailing List

[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

> This is really cool!

Thanks!

> Maybe it doesn't make sense, but could the `(guile ...) be handled by
> the same running process instead of creating another process, so you
> just pass this to the plumber?

Yes, it makes sense when a Guile code runs locally; it could be possible
to run the code in a different thread instead of spawning a new Guile
process.

On the other hand, I'd love to have uniformity in the way the Guile code
is handled in the pipeline, either locally or remotely; that also means
when executed locally it does not affected by the current program state
and cannot modify in any way as it would be if I'd run it in a new
thread.

Nevertheless, big thanks for thought-provoking suggestions and the
patch (I merged it today.)

- Artyom

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-08  7:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-06 20:35 [ANN] Metabash 0.0.0 Artyom V. Poptsov
2020-08-07 18:15 ` Aleix Conchillo Flaqué
2020-08-08  7:32   ` Artyom V. Poptsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).