Re: Road to Clojure Survey



Scott Burson schrieb:
On Feb 18, 9:21 am, "Mark H." <mark.hoem...@xxxxxxxxx> wrote:
On Feb 9, 11:30 pm, Kenneth Tilton <kentil...@xxxxxxxxx> wrote:

In 25 words or less, why is Clojure better than Common Lisp?
Seqs partake of some of the awesomeness of SERIES, but are easier to
use and more native to functional programming.

One more time, I can't resist... ;-}

http://common-lisp.net/project/fset/

Yes, not bad.
But I doubt someone could use this after having used Clojure.
It misses the nice reader macros.
It does not plug in into CL. For example one has to use image
instead of mapcar.
What about REST, LENGTH working on fsets?
There is a do-map, do-seq, do-set, ... instead of just one
thing to do them all.
Examples such as
(isetq m6 (with-default (map ('a (set 1)) ('b (set 2))) (set)))
#{| (A #{ 1 }) (B #{ 2 }) |}/#{ }
(isetq m7 (with-default (map ('b (set "x")) ('c (set "y"))) (set)))
#{| (B #{ "x "}) (C #{" y" }) |}/#{ }
look unreadable and cryptic to me.

Performance wise.. not sure. Rich Hickey spent a good bit of time
to make the concurrency ready Clojure data structures pretty fast.
Most importantly: Fset lacks a STM and MVCC.

But Fset has Bags while Clojure doesn’t.


André
--
Lisp is not dead. It’s just the URL that has changed:
http://clojure.org/
.



Relevant Pages

  • Re: Road to Clojure Survey
    ... use and more native to functional programming. ... But I doubt someone could use this after having used Clojure. ... if I had known about HAMTs when I started FSet I would probably ...
    (comp.lang.lisp)
  • Re: CL Community on Clojure
    ... "immutable" data structures in CL much as Clojure provides them in ... FSet, which along with bug fixes and some new features will ... that FSet was in some way inspired by Clojure, ... FSet was very much inspired by Refine (hmm, ...
    (comp.lang.lisp)
  • Re: Road to Clojure Survey
    ... But I doubt someone could use this after having used Clojure. ... author, and more important, neither do existing algorithms defined in ... FSet relates to Common Lisp in exactly the same way as Clojure relates ...
    (comp.lang.lisp)
  • Re: Road to Clojure Survey
    ... But I doubt someone could use this after having used Clojure. ... Clojure also doesn't "plug in" into Java. ... Because the core algorithms in the COMMON-LISP package do not ... FSet relates to Common Lisp in exactly the same way as Clojure relates ...
    (comp.lang.lisp)
  • Re: Road to Clojure Survey
    ... But I doubt someone could use this after having used Clojure. ... Because the core algorithms in the COMMON-LISP package do not ... You decided to use Java as the "back end" for implementing Clojure, while Scott Burson decided to use Common Lisp as the "back end" for implementing FSet. ...
    (comp.lang.lisp)