bsless / clj-fast

Unpredictably faster Clojure
Eclipse Public License 2.0
242 stars 1 forks source link

Clojurescript support? #13

Open thenonameguy opened 4 years ago

thenonameguy commented 4 years ago

Are there any performance improvements for the same cases possible in cljs? Can some of the files be moved .cljc?

bsless commented 4 years ago

Are there any performance improvements for the same cases possible in cljs

I have no idea. Are you interested in running the benchmarks on cljs?

I've only used Clojure until now for backend development, so if you're interested in participating in any way to bring it to cljs as well you're more than welcome.

My guess is, based on what I read here is that all type hinted code currently is useless for cljs.

The unrolling code (lenses, etc) probably has usage, but I don't know if it has performance gains.

thenonameguy commented 4 years ago

Just passing interest, I considered using this to make the clj-side of Pathom faster. Currently that implementation is in cljc files and then the idea came up that some of these optimizations could be useful in cljs land as well (hopefully most of these are already in stdlib).