CHAMP an improvement on HAMT?

2017-08-14 Thread Didier
I think that paper is from 2015. Curious to hear what are people's thoughts as to why it didn't replace Clojure's HAMT. I wouldn't mind a free 3x performance boost and a reduced memory footprint. Is it just a matter of didn't have someone doing the work, or did it turn out that there was issues

[ANN] Specter 1.0.3

2017-08-14 Thread Nathan Marz
Specter supercharges your ability to query and manipulate regular Clojure data structures. https://github.com/nathanmarz/specter 1.0.3 includes navigators for navigating to the index of an element in a sequence, a so far unexplored area of the problem space. Some examples of the new functionali

Re: CHAMP an improvement on HAMT?

2017-08-14 Thread Timothy Baldridge
It came up today in the Clojurian's Slack mailing list, and it sounds like the gist is that the papers did a bit of a apples-to-oranges comparison by using a different hashing algorithm when comparing CHAMP to Clojure's hashmaps. Once this difference is rectified the performance improvements are mu

Re: Spec without global registry?

2017-08-14 Thread Mario T. Lanza
First of all, Clojure, core.async, spec, the whole of what you guys produce is fabulous. I have nothing but respect for the work you're all doing. It's Clojure's simple design that has me enjoying programming more than ever. That said, I'd like to add a new perspective to the discussion Mark

Blending the Functional Programming style (in Clojure, etc.) with Object-orientation.

2017-08-14 Thread Akram Ahmad
- Nothing earth-shattering, but I believe that many, perhaps all of you will enjoy taking a peek at an exploration of *blending the functional programming style with object-orientation*. - Plenty of reference to Clojure, Lisp, and Scala. - You can read at your leisure by visiting: When Object Ori

Re: Question about transitivity in MultiFn.prefers() --- possible bug

2017-08-14 Thread John Alan McDonald
A related but slightly different issue: is prefer-method supposed to be transitive? That is, (prefer-method f a b) and (prefer-method f b c) implies (prefer-method f a c)? Here is a unit test that checks for transitivity (which fails in Clojure 1.8.0): (test/deftest transitive (derive ::tra

Re: CHAMP an improvement on HAMT?

2017-08-14 Thread Colin Fleming
Previous discussion from Zach Tellman about his CHAMP implementation (bifurcan): https://groups.google.com/d/topic/clojure/1m_I7IrDGb0/discussion It seems that Clojure's hashing and in particular equality semantics are relatively expensive, and this accounts for most of the performance difference.

Vote for Clojure support in Natural Docs

2017-08-14 Thread Mark Engelberg
Back in the day, I used to use Natural Docs to build great docs for my projects. There's a new version out, and the author of the project is asking people about what languages to support. I encourage you to upvote the Clojure suggestion: https://www.reddit.com/r/NaturalDocs/comments/6trhdo/which_