Hello,
I'm interested in learning Lisp. I've been following various tutorials on the internet and they recommend the following .emacs configuration:
Code:
;; Setup
(add-to-list 'load-path "/usr/share/common-lisp/source/slime/")
(setq inferior-lisp-program "/usr/bin/sbcl")
(require 'slime)
(slime-setup)
;; Use syntax highlighting
(global-font-lock-mode t)
;; Highlight open/close parens
(show-paren-mode 1)
;; Properly indent line when "enter/return" key is pressed.
(add-hook 'lisp-mode-hook '(lambda ()
(local-set-key (kbd "RET") 'newline-and-indent)))
The comments are mine. I have SLIME installed as well. My question is about the First two lines in the setup section. I have read in this forum that many people prefer SBCL as opposed to CLISP.
Am I missing something terribly significant by using CLISP rather than SBCL?
If so what would I need to change in my configuration file to use SBCL rather than CLISP?
Thanks!
EDIT: I found how to change lisp implementations, but I still am not sure about SBCL compared to CLISP.
I've read that CLISP is compiled to the bytecode interpreter while SBCL is compiled to machine code, so SBCL is arguably faster than CLISP...but I'm sure there is more to it than that.
Bookmarks