tag:blogger.com,1999:blog-11300808.post5966691488980545661..comments2024-03-27T04:19:57.377-07:00Comments on The official Google Code blog: Better performance in App Engine with new Lisp language ClojureMike Marchakhttp://www.blogger.com/profile/08067736591419106914noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-11300808.post-34931478304253071522010-05-16T01:17:15.497-07:002010-05-16T01:17:15.497-07:00Not to mention JavaScript which has been interoper...Not to mention JavaScript which has been interoperating with Java for years and is included in the JDK.pasthttps://www.blogger.com/profile/05077555675379961731noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-21524304520467139752010-05-12T00:44:24.538-07:002010-05-12T00:44:24.538-07:00Note, there was a lack of ability in Clojure at on...Note, there was a lack of ability in Clojure at one point to handle annotations, but unless I missed something, it was finally being added in 1.2 (the new version that is not in final stable release yet but is coming soon to that form, barring problems).Unknownhttps://www.blogger.com/profile/04302234580734115570noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-23602113616213621332010-05-11T15:20:05.618-07:002010-05-11T15:20:05.618-07:00@ThomasB - Thank you, will do!@ThomasB - Thank you, will do!Jim Ramiahttps://www.blogger.com/profile/04162318240817380657noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-56462543211757262862010-05-11T15:08:31.587-07:002010-05-11T15:08:31.587-07:00@Jim, I'm obviously not the article writer, bu...@Jim, I'm obviously not the article writer, but as for Clojure it has very good interoperability with Java.<br /><br />It has a lot of syntatic sugar to make calling Java from Clojure code very simple.<br /><br />Consider this example from the Clojure website:<br /><br />(. javax.swing.JOptionPane (showMessageDialog nil "Hello World"))<br /><br />or this line from one of my recent experiments while teaching myself Clojure:<br /><br />(.. Runtime (getRuntime) (exec (str "wget -q http://www.phrack.com/archives/tgz/phrack" num ".tar.gz")))<br /><br />Basically, you can do *anything* you can do in Java in Clojure.<br /><br />You can also can also do things going the other way but it's not as direct.<br /><br />Now, this is not necessarily true of other languages on the JVM. I personally don't think any of them have as well thought out/implemented interoperability with Java...many of them have little, more complex systems for it, or even none at all.<br /><br />I'm just getting started with Clojure, but so far I am really really liking it. I highly recommend checking it out.Unknownhttps://www.blogger.com/profile/02555201658990014269noreply@blogger.comtag:blogger.com,1999:blog-11300808.post-77004865201903493102010-05-11T14:00:30.526-07:002010-05-11T14:00:30.526-07:00Just a few questions for languages that run on top...Just a few questions for languages that run on top of the JVM platform such as Clojure - 1) are there any aspects of the java programming language that are missing or can you accomplish all of the same things you can accomplish using java? 2) is it possible to use java and Clojure together since it will all be compiled to java bytecode in the end anyway?Jim Ramiahttps://www.blogger.com/profile/04162318240817380657noreply@blogger.com