BT

Facilitating the spread of knowledge and innovation in professional software development

Contribute

Topics

Choose your language

InfoQ Homepage Threading Content on InfoQ

  • Article: The Limits of Code Optimization: a new Singleton Pattern Implementation

    The Java double-check singleton pattern is not thread safe and can’t be fixed. In this article, Dr. Alexey Yakubovich provides an implementation of the Singleton pattern that he claims is thread-safe.

  • Presentation: Concurrency: Past and Present

    In this presentation from QCon London 2008, 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.

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

    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.

  • Article: Do Java 6 threading optimizations actually work?

    Features like biased locking, lock coarsening, lock elision by escape analysis and adaptive spin locking are all designed to increase concurrency by allowing more effective sharing amongst application threads. But do they actually work? In this two part article, Jeroen Borgers explores these features and attempt to answer the performance question with the aid of a single threaded benchmark.

  • Article: FXRuby: Create Lean and Mean GUIs with Ruby

    "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 about FXRuby's implementation, threading and more. Also: an InfoQ-exclusive sample chapter from the book.

  • Common Ruby MVM API research kicked off

    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.

  • Article: Ruby Concurrency, Actors, and Rubinius - Interview with MenTaLguY

    Actors, Fibers/Coroutines, Rubinius' Multi-VM and other Concurrency topics have come up recently. To put all these concepts into perspective, we talked to Ruby's MenTaLguY, who's been working on Ruby fastthread, Ruby Actors implementations, Rubinius, and much more. Also: a glimpse at MenTaLguY's next project.

  • The Software Architecture Impact of the Multi-Core Processor Trend

    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.

  • Article: The Box: A Shortcut to finding Performance Bottlenecks

    Quite often performance problems will be reported with some very antidotal comments that do nothing to help you understand where to start looking. Faced with this dilemma, it is not uncommon for teams to start guessing at the root cause. Now enter "the box", a little diagram that is an abstraction of a complete system. The box is a reminder of the true cases of performance bottlenecks.

  • Ruby 1.9 adds Fibers for lightweight concurrency

    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

    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

    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.

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.