This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-29
Channels
- # announcements (6)
- # beginners (110)
- # calva (18)
- # clj-kondo (19)
- # cljs-dev (27)
- # clojars (10)
- # clojure (38)
- # clojure-art (2)
- # clojure-europe (13)
- # clojure-germany (1)
- # clojure-norway (26)
- # clojure-uk (2)
- # clojurescript (10)
- # conjure (9)
- # cursive (12)
- # data-science (3)
- # datomic (22)
- # emacs (8)
- # helix (9)
- # honeysql (18)
- # introduce-yourself (1)
- # jobs (1)
- # leiningen (8)
- # lsp (22)
- # missionary (9)
- # nbb (11)
- # off-topic (83)
- # pathom (5)
- # pedestal (4)
- # polylith (1)
- # portal (1)
- # re-frame (3)
- # reitit (15)
- # remote-jobs (1)
- # rum (4)
- # shadow-cljs (88)
- # specter (12)
- # testing (1)
- # vim (39)
That's an interesting idea but currently not. Which pod would you have liked to use?
well, it's related to the TUI interface I was thinking about. it looks like there are tons of great tools for making that in JS, but the interface is for a big stateful Clojure app I have so I'm trying to figure out if pods is a good sort of IPC interface from a nbb/JS cli frontend to the backend Clojure/graalvm native image app
from a practical view that makes sense. but I'm not in a hurry and have been running into this issue of IPC protocol in general. would it be possible in theory to have a nodejs babashka pods client? otherwise maybe I just do some socket based approach
> would it be possible in theory to have a nodejs babashka pods client? Yes, in theory that is possible and would be cool to have.
You can see how someone did it in common lisp and python here, kind of: https://github.com/rorokimdim/stash#babashka-pod-support
I think the pod function invocations would have to become async though due to the nature of Node.js
thanks, I'll take a look at that project. I love the concept of pods in terms of a structured interface between processes. I always feel dirty parsing raw text output
There is already an nREPL server in nbb which uses the bencode format: https://github.com/babashka/nbb/blob/deacd88a9fe711ee40ee551a40ed2a6f60011635/src/nbb/impl/nrepl_server.cljs#L280 That might help somewhat in implementing