The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Threads

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Threads Posted: Feb 28, 2007 8:17 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Threads
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

SDTimes has two opinion pieces this month on threading - both talking about a "thread maturity model", which tracks a programmers progress up the slopes of thread-ability. First, the opinion piece by Alan Zeichick - he seems to think it's all about training - here's his "level 5":

Adoption. All developers trained to use threading. Threading is addressed at the design, requirements and architectural states of development, in addition to coding and testing. Broad incorporation of threading tools into the toolchain. Newly adopted code, such as libraries and components, must demonstrate support for threading. Funded efforts to eliminate all nonthreaded libraries and runtimes. All threaded applications are tested against platforms with different cores/processors to identify runtime issues. Formal source-code validation techniques are used to identify potential failures.

Unless your runtime system was written to deal seamlessly with these issues, you'll never get there - period. The major issue, properly identified by the Erlang folks, is sharing. In Erlang, threads use a "shared nothing" model to ensure that you don't get deadlocks. Using Smalltalk, or Java, or C#, the way to do the same thing is to run N processes, and have them interoperate via heavyweight messaging. Larry O'Brien touches on that at the end of his piece:

Today, those who have achieved the “Optimizing” level of parallel programming mastery are vanishingly rare. During the days, they are locked deep inside telecom buildings, research facilities and hardware companies.

Erlang came out of telecom research - we had an interesting talk on it at last year's StS conference. A side note on all this - last week's podcast covered this ground. And see Runar's post on scaling via multiple images.

Technorati Tags: ,

Read: Threads

Topic: Lean drinking in New Zealand Previous Topic   Next Topic Topic: Smalltalk Daily 2/26/07: Basic Ciphers in CST

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use