Fork me on GitHub
#announcements
<
2019-08-28
>
mpenet11:08:13

Lightweight wrapper for CompletableFuture -> https://github.com/mpenet/auspex

ikitommi12:08:34

Comparison to promesa would be great, as it also uses CompletableFuture on the JVM.

ikitommi12:08:04

(and works on cljs)

mpenet12:08:12

different semantics (api), no dynamic vars, default execution context differ also. I am also personally not interested in cljs compatibility.

mpenet12:08:01

Otherwise they are quite similar, tbh I also didn't know promesa was using CompletableFuture. Checking the code I'd say auspex is also much less code. It's just a collection of stuff I was using per project put together with a couple of helpers.

ikitommi12:08:54

Simplicity (and performance) is good. Many api flavors: manifold-like (auspex), java-like (https://github.com/worldsingles/commons), promise-like (promesa) ja quick-hack (https://github.com/metosin/porsas/blob/master/src/porsas/async.clj#L168-L190) 🙂

mpenet12:08:27

yeah that's what I was doing too. Having manifold.deferred/chain and manifold.deferred/loop+recur is the real plus in auspex imho. Even tho chain is just reduction over then. CompletableFutures are quite cool

ikitommi12:08:26

Good thing is that if the libraries emit CFs, you can compose them easily, without locking to a libraryX. Pick the one you like. E.g. pohjavirta has response mappings for CompletionStage so all of those libs just work with it.

mpenet12:08:09

or just copy paste the bits you like, it's little code

alexmiller13:08:55

The Clojure/conj 2019 CFP is currently open and we'd love to see some more submissions about interesting Clojure projects, or practices, or even just topics of interest to Clojure programmers. As much as being a conference about Clojure, it is also a conference about ideas. If you have any questions, feel free to ask in #clojure-conj. Submission info here: http://2019.clojure-conj.org/call-for-proposals/

bherrmann18:08:08

Would be nice to hear about running clojure using graaalvm on the raspberry pi 4 - is there a place to suggest talks that attendees wold like to hear? or do I have the cart in front of the horse?

petterik18:09:16

@ The submit a proposal link button is broken?

This form is currently private and cannot be viewed by the public.

petterik18:09:00

Oh sorry, this was a month ago.

alexmiller18:09:21

yep, too late! :)