Thanks for the insight and link to http://benchmarksgame.alioth.debian.org.

WRT dynamically typed languages, I have some 5 years experience with Python
circa 2.4ish timeframe. I remember that a practical raw speed was not that
bad, but still was in average like 10 times slower from C++. Good enough
though. We used it along with Twisted to run some performance tests of
certain closed source messaging system. I was okay until we started playing
with threads/GIL. For obvious reasons it was very taxing and is not even
remotely comparable with modern reactive kind of architectures and STM.

I remember someone presented me how common lisp can disassemble compiled
code in fly - very impressive it was. Not only the possibility but the
quality of a generated machine code as well. Following that experience I
ended up trying https://github.com/gtrak/no.disassemble with no beginners
luck :-( with first steps with lein ... Any idea what went wrong?

$ cat project.clj
(defproject my-project "myREPL"
  :dependencies [[nodisassemble "0.1.2"]])

$ lein repl
nREPL server started on port 62154 on host 127.0.0.1
REPL-y 0.3.0
Clojure 1.4.0
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
    Exit: Control+D or (exit) or (quit)
 Results: Stored in vars *1, *2, *3, an exception in *e

user=> (require 'no.disassemble)
nil
user=> (in-ns 'no.disassemble)
#<Namespace no.disassemble>
no.disassemble=> (println (disassemble (fn [])))
java.lang.NullPointerException
    at
org.eclipse.jdt.internal.core.util.ClassFileStruct.u4At(ClassFileStruct.java:61)
    at
org.eclipse.jdt.internal.core.util.ClassFileReader.<init>(ClassFileReader.java:76)

Andy

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