Hi,

Can I ask a newbie question about clojure performance?

What make clojure performance slow than java?, it seems clojure has the 1/4 
performance compared to java in general, according to  tests, some cases it 
might be 1/10. the reasons I can think out are 

- the byte code is not efficient sometimes
- the byte code might not enjoy the jvm optimization
- the reflection 
- the immutable data structure
- the abstract interface design

The abstract interface like seq offers its power, but it is easy to drop in 
the performance trap.

And it seems to me that it is easy to write a slow clojure program, I know 
the efficiency of code depends on coder, you can write the code faster than 
java sometimes,but  need to know a lot of deep thing and tricky, and 
clojure is not the funny clojure any more.


Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to