Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Clojure 1.3 released

Name: Anonymous 2011-09-24 3:47

Now with serious performance boost!

https://github.com/clojure/clojure/blob/1.3.x/changes.txt

Name: Anonymous 2011-09-24 4:52

* Clojewr

Name: Anonymous 2011-09-24 4:58

Let me know when the JVM gets proper tail call optimizations and makes garbage collection optional for host languages.

Name: Anonymous 2011-09-24 5:03

>>3
using lisp without GC
Oh you.

Name: Anonymous 2011-09-24 6:21

Expert fibs benchmark performed by our Japanese friends: http://cx4a.blogspot.com/2011/09/clojure-13.html

Name: Anonymous 2011-09-24 6:36

>>4
It is well known that until mid-eighties most people run Lisp with garbage collection turned off, even on Lisp machines (especially on Lisp machines!), because it was slow as fuck and it was easier to just buy a lot of memory and dump/reload the program through permanent storage when it was exhausted.

Name: Anonymous 2011-09-24 6:42

Clojewre

Name: Anonymous 2011-09-24 6:49

>>2,7
Never try to speak with a dick in you're mouth.

Name: Anonymous 2011-09-24 7:40

>>5
Clojure is a way to disassemble the function Toka, javap Tool decompile or would not like. To find it so much, but perhaps not all trouble, in an abstract language about Clojure, there is no analysis tools are their hands, or I think quite deadly. At least I can not be love. Also, with respect to the compiler, this is called a byte code in Python, the compiler just cover up toys like the class file, was disappointed with disappointment. Well now would be improved.
That describes Clojure pretty well.

Name: Anonymous 2011-09-24 8:15

>>5
I really like how it's done in Clojure, clean and simple:

(defn fib ^long [^long n]
  (if (<= n 1)
      1
      (+ (fib (dec n)) (fib (- n 2)))))

Compare to the Common Lisp code, where type hints are smeared all throughout the function:

(defun fib (n)
  (declare (optimize (speed 3) (safety 0))
           (fixnum n))
  (if (<= n 1)
      1
      (the fixnum (+ (fib (1- n)) (fib (- n 2))))))

Name: Anonymous 2011-09-24 8:19

>>10
0/10

Name: Anonymous 2011-09-24 8:51

>>11
What? You really don't see the advantage of having one place to declare your types and like the idea of doing it at the start AND at the end of the function? Gross.

Don't change these.
Name: Email:
Entire Thread Thread List