This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-11-25
Channels
- # announcements (8)
- # babashka (58)
- # beginners (59)
- # biff (4)
- # calva (39)
- # cider (2)
- # clj-kondo (8)
- # clj-together (4)
- # cljdoc (5)
- # cljsrn (1)
- # clojure (60)
- # clojure-australia (2)
- # clojure-europe (16)
- # clojure-nl (1)
- # clojure-norway (3)
- # clojurescript (13)
- # conjure (10)
- # cursive (9)
- # datomic (5)
- # dev-tooling (1)
- # emacs (6)
- # events (1)
- # graalvm (38)
- # graphql (5)
- # joyride (1)
- # kaocha (3)
- # lsp (23)
- # malli (2)
- # mount (2)
- # off-topic (31)
- # other-languages (13)
- # pathom (3)
- # polylith (12)
- # portal (4)
- # practicalli (22)
- # re-frame (6)
- # reagent (3)
- # releases (3)
- # sql (4)
- # squint (3)
- # tools-build (10)
- # tools-deps (10)
- # xtdb (4)
How many of you have switched to Clojure from Python and has any of you gone through http://hylang.org/ as an intermediate step? It has seamless bidirectional interop with Python, so I'm wondering if it could give Python people a taste of (kinda) Clojure and perhaps nudge them to this side :thinking_face:
I think hylang is too esoteric for this step. I checked it out because I'm interested in Lisps. I would guess people going from Python to Clojure are more interested in the specifics of Clojure than in Lisps themselves. One dev I know is very interested in Clojure because of the REPL -- but only because Clojure has mainstream creds. Will he investigate other Lisps? Not a chance. Unfortunately.
hylang is not exactly Clojure but, last I checked, it's much closer to it than other lisps iirc
It's probably easier (for a Python developer) to write a python module in hylang than to start a project in Clojure from scratch (and have to learn CLI/lein & find replacements for your libraries if you write specialized code, e.g. data science).
> "switched to Clojure from Python" ✋ Didn't get here "through" Hy, but did have a look at it as a potential way to use Clojure in Python space. Hy wants to allow writing Python code with a lisp/Clojure-inspired syntax, while I'm looking for something that would bring the core Clojure ideas and values (immutability, simplicity, interop, etc.) to Python, including the syntax. Basically, I'm looking for a Python-hosted Clojure, in the same vein as ClojureScript, ClojureDart and ClojureCLR. One day I'll write it if someone else doesn't 😅🤞. For now I'll settle for using https://pyrsistent.readthedocs.io/en/latest/intro.html whenever possible. 🙂
A Python-hosted Clojure would indeed be very nice... I doubt I'd ever start a greenfield project in hylang. I think its niche is sprinkling Clojure-like bits over an existing Python project.
I came from Python, but not via Hy. I'd been dabbling with Clojure for quite a while, then got a job at a very functionally-oriented python shop who wanted to start using some Clojure.
Nice! Well done, hope you're happy there 🙂
Damn, I'm sorry to hear that.
Ancient history now, and a great lesson in spotting signs that your acquiring company is only interested in your tech, not your team
It's not really quite what you're looking for but https://github.com/clj-python/libpython-clj also seems relevant. It allows nice access to python from (jvm) clojure
You can abuse hy-lang to macroexpand Python from Clojure https://github.com/plai-group/daphne/blob/master/src/daphne/hy.clj#L193