Saturday, October 24, 2009

Installing Emacs Lisp packages

From ELPA, the Emacs Lisp Package Archive, install package.el, a simple package manager for Emacs to make it simple to install, use, and upgrade Emacs Lisp packages.

Once you have installed the package manager, type M-x package-list-packages.
Type r in the package menu buffer to update the list of packages available from the server.
If you want a particular package, type i next to its name to mark it for installation, and then x to download and install it.

Thursday, October 22, 2009

Rationale of Clojure

Customers and stakeholders have substantial investments in, and are comfortable with the performance, security and stability of, industry-standard platforms like the JVM. While Java developers may envy the succinctness, flexibility and productivity of dynamic languages, they have concerns about running on customer-approved infrastructure, access to their existing code base and libraries, and performance. In addition, they face ongoing problems dealing with concurrency using native threads and locking. Clojure is an effort in pragmatic dynamic language design in this context. It endeavors to be a general-purpose language suitable in those areas where Java is suitable. It reflects the reality that, for the concurrent programming future, pervasive, unmoderated mutation simply has to go.

Clojure meets its goals by: embracing an industry-standard, open platform - the JVM; modernizing a venerable language - Lisp; fostering functional programming with immutable persistent data structures; and providing built-in concurrency support via software transactional memory and asynchronous agents. The result is robust, practical, and fast.

Thursday, October 16, 2008

Lisp on Erlang VM

See forum on LFE - Lisp Flavoured Erlang, a concurrent Lisp based on the features and limitations of the Erlang VM. Unlike Lisp it doesn't have global data or mutating operations. Instead it has the goodness of Lisp macros, sexprs, code-as-data together with the Erlang power of pattern matching and binary comprehensions. And the best part is that LFE hosts seamlessly with vanilla Erlang/OTP.