InfoQ

Topic/Tag specific view

All content and news on InfoQ about Threading


Latest featured content about Threading

Concurrency: Past and Present

Community
Java
Topics
Programming

Brian Goetz discusses the difficulties of creating multithreaded programs correctly, incorrect synchronization, race conditions, deadlock, Software Transactional Memory, the history of concurrency, alternatives to threads, Erlang, Scala, and recommendations for concurrency in Java.

Book Excerpt and Interview: FXRuby: Create Lean and Mean GUIs with Ruby

Community
Ruby
Topics
Rich Client / Desktop

"FXRuby: Create Lean and Mean GUIs with Ruby" is a new book about the FXRuby GUI library. InfoQ talked to the book's author Lyle Johnson. Also: an InfoQ-exclusive sample chapter from the book.

Ruby Concurrency, Actors, and Rubinius - Interview with MenTaLguY

Community
Ruby
Topics
JRuby,
Performance & Scalability,
Programming

With Erlang popularizing Actors, Rubinius adding its Multi-VM, and Ruby 1.9 adding another concurrency primitive with Fibers (Coroutines), a lot of things are going on in the Ruby concurrency world. So we interviewed MenTaLguY, who works on Rubinius, JRuby and many aspects of concurrency in the Ruby world.

News about Threading

Rails Roundup: Rails 2.2 Will Be Threadsafe, ETags Support in Rails Edge

Community
Ruby
Topics
Performance & Scalability,
Ruby on Rails

Work is going on to make Rails 2.2 be thread safe - we look at what's been done. Also: ETags support has been added to Rails Edge.

Common Ruby MVM API research kicked off

Community
Java,
Ruby
Topics
Technology,
Runtimes,
Performance & Scalability,
JRuby

Research on the topic of Multiple VM (MVM) Ruby will be conducted at the University of Tokyo together with Sun's JRuby team. The work will investigate issues such as communication between VMs and a common API across all Ruby implementations, with solutions provided initially for Ruby and JRuby.

The Software Architecture Impact of the Multi-Core Processor Trend

Community
Architecture,
Java
Topics
Performance & Scalability

A JDJ article explains that as we move towards Multi-Core processor architectures, single threaded performance improvement is likely to see a significant slowdown over the next one to three years. In some cases, single-thread performance may even drop. This in turn will require software developers change the way we develop software, increasing our utilization of parallel execution architectures.

Ruby 1.9 adds Fibers for lightweight concurrency

Community
Ruby
Topics
Performance & Scalability,
Dynamic Languages,
Programming

Fibers were recently in the Ruby 1.9 branch. The Coroutine-like concept has many uses, such as implementing lightweight concurrency and others. We look at the concept and influences of Fibers in Ruby 1.9, as well as code samples.

The Futures of Ruby Threading

Community
Ruby
Topics
Programming

Ruby's thread system is about to undergo big changes in Ruby 1.9, possibly moving from user space threads to kernel threads. Or not. A recent interview with Matz and Sasada Koichi shows some new ideas that are considered. We take a look at the different possible future Ruby threading systems.

Ruby Userspace Threads vs GUI toolkits Roundup

Community
Ruby
Topics
Programming

Are Ruby 1.x User-space threads a hindrance with writing GUIs? We take a brief look at the situation and show the situation, options and alternatives such as using JRuby.