Added benchmarks to https://github.com/eccentric-j/clj-cgi-example#benchmarks
https://github.com/clj-commons/friend is released as clj-commons/friend version 0.3.193 This is a fork of Chas Emericks friend library. This is basically 0.2.3 but with a version bump of jbcypt to avoid a CVE. Please consider using https://github.com/funcool/buddy instead of friend, or as @borkdude put it: βfriends donβt let friends use friendβ
This announcement is rather peculiar: βHey, here is a cool library, but donβt use itβ π It still makes sense.
New release of Deep Diamond: 0.18.0-alpha High performance tensors and deep learning, in Clojure! https://github.com/uncomplicate/deep-diamond
overload-fn is a tiny Clojure library that makes possible function overloading on types. https://github.com/ertugrulcetin/overload-fn
If the dispatch is limited to object, longs and doubles, I think one can reify
a subset of these interfaces https://github.com/clojure/clojure/blob/140ed11e905de46331de705e955c50c0ef79095b/src/jvm/clojure/lang/IFn.java#L97-L454
(as few interfaces as needed, e.g. just two for two signatures)
reify
supports dispatch-by-type, while implementing said interfaces would give you a callable thing
the result can plausibly perform a little better than a defprotocol/multimethod -based abstraction
Wikipedia collaborators wanted! I am working on writing a Wikipedia article about Data-Oriented programming. If you are interested to collaborate, join #data-oriented-programming or send me a private message.
I'll check this, thanks!
Hiccup-cli just arrived on MELPA! Convert HTML to Hiccup inside of Emacs with pretty printing (clipboard, kill-ring, directly in buffer). It does require you to build the GraalVM binary locally. I'll look into setting up CI/CD to build this automatically. https://github.com/kwrooijen/hiccup-cli
Just got it set up, thanks @ericdallo! Your repo was very helpful
Nice π
:) it could be a cool optimization. e.g. use these when possible but generally fall back to protocols/multimethods when not ...of course, very few apps will plausibly need such a thing
@ericdallo Is this something that could be integrated in clojure-lsp? Convert selection to hiccup <-> html? ;P
Yeah, it could be implemented if hiccup-cli has an API to clojure-lsp, also some kind of function to detect if the cursor is inside a valid hiccup or html code
@kevin.van.rooijen about the CI, check the clojure-lsp CI which compile with graalvm π https://github.com/clojure-lsp/clojure-lsp/blob/master/.github/workflows/release.yml#L47-L260
Will look into that, thanks π
Are you using Github's CI/CD?
Yes