acm-header
Sign In

Communications of the ACM

ACM TechNews

Xml Pioneer Pitches Functional Programming For Concurrency


XML co-inventor Tim Bray

Languages such as Erlang and Clojure offers a way to tackle concurrency, according to XML co-inventor Tim Bray.

Credit: University of Guelph

XML co-inventor Tim Bray says that functional programming, rather than threads, is the best option for programmers developing code for multicore processors.

Programming for multicore chips requires developers to deal with concurrency, which presents its own issues, Bray says. "It involves a lot of problems that are very difficult to think about and reason about and understand," he says.

However, functional programming, made possible with languages such as Erlang and Clojure, offers a way to handle concurrency. Erlang was originally designed for programming massive telephone switches with thousands of processors. Bray says that although it has no classes, objects, or variables, it is "bulletproof and reasonably high-performance." Clojure is a Lisp, runs on the Java Virtual Machine, and compiles to straight Java bytecode, which makes it very fast, Bray notes. "This is a super, super high-performance language," he says.

From InfoWorld
View Full Article

 

Abstracts Copyright © 2010 Information Inc., Bethesda, Maryland, USA


 

No entries found

Sign In for Full Access
» Forgot Password? » Create an ACM Web Account