On Sat, Feb 12, 2011 at 10:43 PM, Mikhail Kryshen <mikh...@kryshen.net> wrote:
> Java SDK includes javap bytecode disassembler. And you can compile Java
> without creating project structure.

Not with an IDE. You have to resort to poking around at a commandline
and using a normal editor, and then you lose syntax highlighting and
other IDE features.

> $ emacs Test.java

Well, unless you use an abnormal editor. ;)

[snip!]

> So the bytecode generated by the Clojure AOT compiler has checkcast
> instructions similar to the second Java sample.

Ugh. It's even worse than that -- it's even casting the damn /string
literals/. I just hope the JIT can do a good job at optimizing all
that rubbish away if that sort of bytecode ever gets called in a tight
loop. :)

-- 
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

Reply via email to