Fork me on GitHub
#humbleui
<
2022-04-13
>
Daniel Gerson01:04:30

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

Niki12:04:04

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

Niki12:04:03

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

Niki12:04:58

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 Gerson13:04:52

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.

Niki13:04:45

I haven’t looked into nbb, only bb

👍 1
Daniel Gerson01:04:31

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).

Niki12:04:02

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