Fork me on GitHub
#graalvm
<
2020-08-31
>
borkdude12:08:07

Http-kit has an http client which is modelled after clj-http, but probably much lighter on GraalVM, so it becomes a contender in this space. So far clj-http-lite was the only light-weight GraalVM-compatible http client library. Clj-http recently became compatible, but still results into bloated binaries. Is anyone familiar with http-kit as a client?

jeroenvandijk14:08:50

I’ve used http-kit as a client, but not through Graalvm

lukasz14:08:20

@borkdude familiar in what way? It works as a http client - although we're standarizing on clj-http (we have a couple of custom middlewares for it). We've run into issues in the past, but as far as I know everything has been addressed. The only thing that always bothers me is the need to deref the result of a request (I get it, it's async, but still)

alekcz18:08:31

I use http-kit almost exclusively. I've built firebase tooling around it. And a few other system too.

alekcz18:08:44

@borkdude I like it for the lightness. I often use google libs, so that adds a ton of bloat so I appreciate the lightness.

borkdude18:08:34

That's cool. Lightness is also great for graalvm binaries. I've made a couple of issues at babashka where I'm considering of including it

alekcz19:08:49

I've bookmarked them. Will add some input in the morning.