by regularfry · 16y ago · 0 comments
$ script/repl
Clojure 1.2.0-master-SNAPSHOT
user=> '(println 1)
(println 1)
user=> (eval '(println 1))
1
nil
I don't understand what about this says "lisp code isn't a list itself"> and JVM isn't a Lisp machine in general
Well, neither's the x86, but we do what we can.
Btw, there was a link here to a blog-post from a jruby developer who argued that JVM is a crap for a dynamic languages (read: for anything except what it is) Why would you think it is perfect for a Lisp?
Do we need to start again about bad-by-design FFI, rudimentary and inefficient network and disk support, and so on?
Yes, it is well situated to some in-house development, but not for everything.
I know, some people believe it is good even for things like Cassandra, but I cannot imagine database system without things like efficient and low-level implementation of network layer (epoll/kuqueue support, tunable buffers, intellectual error handlers) and especially disk routines (O_DIRECT, proper caching and the like).
user=> (class '(println 1))
clojure.lang.PersistentList
A PersistentList is effectively a cons cell.> The pointers to functions and agruments, as is should be?
Effectively, yes. What would you expect to be able to do with this in a "real lisp" that you can't do in clojure?
> Btw, there was a link here to a blog-post from a jruby developer who argued that JVM is a crap for a dynamic languages (read: for anything except what it is) Why would you think it is perfect for a Lisp?
I don't. It is demonstrably good enough, though.
> <Further irrelevant JVM rantings>
Meh.