XML Pioneer Pitches Functional Programming for Concurrency.

InfoWorld (07/26/10) Krill, Paul

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.

-MORE-

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: