yeah I saw that as well I thought it would be cool to have something like this in bb but I think that would be a lot of work to make the signing of the requests work etc btw I played a bit with https://github.com/babashka/babashka.pods/blob/master/examples/pod-lispyclouds-sqlite/pod-lispyclouds-sqlite.pyย and it was super easy to make it work for some basic aws stuff instead ๐ I decided not to go on as in my case itโs just simpler to do what I need in python directly
The Python approach is super easy. I'd also be interested to see the Go approach to pods, but I've got no experience with go.
We already have one Rust pod, which is also a possibility
maybe @rahul080327 also has ideas about this
Babashka is now also in Metosin Blog: https://www.metosin.fi/blog/
Awesome!
so is it possible to make an babashka uberscript or babashka uberjar with babashka into a binary like deps.exe
?
with an uberscript you already get a shebang, so that should I think work as a standalone thing, but you still need to have babashka installed
the other option is compiling to native yourself with graalvm
I don't know of anything that packages a binary and a file into another binary
There's a tool here which tries to automate compiling with GraalVM: https://github.com/MnRA/nativity
fair enough! This is my first exposure to graal although I've heard a ton about it
The #graalvm channel has some good doc links
makejack has a binary
target, which it uses to turn itself into a graalvm binary.
itโs build
target basically does pom
, compile
, uberjar
and binary
. It depends on there being a native-image.properties
file in the uberjar to configure the graalvm build.