tag:blogger.com,1999:blog-5743983044224833668.post4609244347113296398..comments2023-03-30T02:13:37.406-07:00Comments on Fatvat: Ray Tracing in ClojureJeffhttp://www.blogger.com/profile/08195722595923882332noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5743983044224833668.post-6375411618197488372009-07-23T13:23:46.059-07:002009-07-23T13:23:46.059-07:00From the second post, it definitely seems very eas...From the second post, it definitely seems very easy to scale. I really enjoy Scala and know it's pretty fast from personal use and its almost on par for Java performance. <br /><br />I've had a really hard time finding any Clojure benchmarks compared to Java, so I was just wondering how slow it is relatively. I'd be happy with it being half or maybe even a tenth, but I was just wondering if it performed more like JRuby than Scala. It definitely looks fun to code in.strattonbrazilhttps://www.blogger.com/profile/00840168161538775436noreply@blogger.comtag:blogger.com,1999:blog-5743983044224833668.post-23634313827407979192009-07-23T12:58:17.084-07:002009-07-23T12:58:17.084-07:00Hi Joshua - thanks for commenting.
Clojure, Scala...Hi Joshua - thanks for commenting.<br /><br />Clojure, Scala and Java all ultimately compile down to Java byte code so they should have similar levels of performance (within an order of magnitude I'd guess).<br /><br />None of the Clojure code in this is type hinted in any way, so I expect it to be pretty poor speed-wise. Compiling the Clojure code with warn-on-reflection and adding the type hints should give a juicy speed up.<br /><br />The nice thing about Clojure over Java is that multi-threading it is *really* simple. I've not done enough Scala to know whether this is true for that. It's certainly not as easy to do it in Java as it is in Clojure<br /><br />Cheers<br /><br />JeffJeffhttps://www.blogger.com/profile/08195722595923882332noreply@blogger.comtag:blogger.com,1999:blog-5743983044224833668.post-50329205428154025292009-07-23T12:09:50.155-07:002009-07-23T12:09:50.155-07:00How would you rate the performance of clojure comp...How would you rate the performance of clojure compared to java (or scala) in the context of ray tracing?strattonbrazilhttps://www.blogger.com/profile/00840168161538775436noreply@blogger.com