Fork me on GitHub
#babashka
<
2020-11-09
>
David Pham10:11:19

Out of curiosity, is the ebook about babashka still a thing? :)

borkdude10:11:43

Everything that has been done about the book is hosted here: https://book.babashka.org/ The chapter about child processes is already stale because of babashka.process. I'm not sure if I want to continue with the book or just make the README pages in the babashka repo better.

borkdude10:11:25

As I'm funded by Clojurists Together I spent all my time on development and not writing this book (since the book may be sold for money in the future, something which I'm also not sure about ;))

David Pham15:11:57

I would buy it šŸ™‚ If it is good tutorial in the end.

borkdude16:11:07

I wonder how many examples from the clojure cookbook work or could be ported to bb: https://github.com/clojure-cookbook/clojure-cookbook

borkdude11:11:49

Wrote some docs about "choosing the right http client": https://github.com/borkdude/babashka#choosing-the-right-client For babashka 1.0.0 I envision we can have a http://java.net.http client that replaces all the options.

šŸ‘ 3
Markus Agwin11:11:34

has anyone ever investigated compiling SCI into C++ with https://ferret-lang.org/ ?

borkdude11:11:27

It would surprise me if the sci clojure code was compatible with ferret all the way down. But there is documentation around how to compile sci to a native .so library and how to call it from Python for example: https://github.com/borkdude/sci/blob/master/doc/libsci.md#using-libsci-from-python

borkdude20:11:33

I'm considering incorporating https://github.com/borkdude/deps.clj into babashka, so you can use a babashka.edn to resolve deps without manually having to set BABASHKA_CLASSPATH. But this will still require a JVM for resolving those deps if these deps aren't already downloaded. :thinking_face:

šŸ‘ 3
jeroenvandijk09:11:50

I like this. Even though you need the JVM for resolving the deps, this is still a big improvement?

jeroenvandijk09:11:30

At least no / less implicit dependencies

lread18:11:09

This would be great for my use case!

borkdude18:11:05

@UE21H2HHD What's your use case?

lread18:11:31

Iā€™d like rewrite-cljc scripts to be self contained and at the same time avoid them having the responsibility of altering classpath to bring in deps. More of an elegance thing, I suppose.