humbleui

Daniel Gerson 2022-04-13T01:25:30.111109Z

Interesting project. Enjoying your blog. Some random thoughts. Regarding your choice of Python https://tonsky.me/blog/python-build/ ... would the release of nbb / Node.js have changed your mind? https://www.youtube.com/watch?v=7DQ0ymojfLg

Niki 2022-04-13T12:48:04.501059Z

Python has a few benefits over bb: • Comes pre-installed on macOS/Linux • Has a lot of batteries bundled: arg parser, files, processes, zip, network • Lots of people know Python already

Niki 2022-04-13T12:49:03.860869Z

So for non-Clojure project I’d probably still go with Python to make it more accessible

Niki 2022-04-13T12:49:58.132349Z

For Clojure projects, it depends. When I last tried bb, running an external process was very inconvenient. I’ll have to check where it is at these days, maybe situation has improved

Daniel Gerson 2022-04-13T13:52:52.225559Z

nbb is clojurescript using Node.js and so using that infrastructure, unlike bb which is GraalVM exported. Having said that I don't know it solves your problems, I'm just curious.

Niki 2022-04-13T13:54:45.728959Z

I haven’t looked into nbb, only bb

👍 1
Daniel Gerson 2022-04-13T01:39:31.584369Z

https://tonsky.me/blog/humble-decomposition/ You could create your own version of Clojure interfaces that does not include the rest of the library. Ideally you could convince Clojure core to make this change for you at some point (they should separate it for exactly this use case).

Niki 2022-04-13T12:53:02.523729Z

I tried that. But I also needed AFn (abstract class) and Keyword (just class) at the very least. I could’ve copied these too, but then if anything changes in the implementation I’d be in trouble