5 ms·
I was looking up some info on hash tables in Scheme the other day and came across this insightful HN comment: https://news.ycombinator.com/item?id=531079 https
by malvosenior 12y ago
I was looking up some info on hash tables in Scheme the other day and came across this insightful HN comment:
https://news.ycombinator.com/item?id=531079 https://news.ycombinator.com/item?id=531079
I imagine the same applies to CL.
I personally use and love Clojure, but wish it compiled to native code.
- pjmlp 12y ago>I personally use and love Clojure, but wish it compiled to native code. It is a matter of implementation, not the language. So you can: - use a JVM with AOT compilation like Aonix and RoboVM among many others - use a bytecode AOT compiler like Excelsior JET - join the Clojure to C or Clojure to Scheme compiler projects - write your own compiler
- wtbob 12y agoIn Common Lisp: (setf h (make-hash-table)) (setf (gethash 'foo h) "hi") ;; -> "hi" (gethash 'foo h) ;; -> "hi" (gethash 'bar h "bye") ;; -> "bye" That's not too bad. Not quite as perfect as bracket-based dereferencing, but I can live with it.