473,785 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Interesting article about concurrent programming, any thoughts?

3 1367
"Sonoman" <bi*******@micr osoft.com> wrote...
http://www.gotw.ca/publications/concurrency-ddj.htm


Is this a write-only newsgroup?
Jul 22 '05 #2
* Sonoman:

http://www.gotw.ca/publications/concurrency-ddj.htm


Herb does a good job of convinving the socially bound technicians
(non-engineers, non-scientists, non-thinkers) of a self-evident
historical fact. Namely that we'll increasingly be doing parallel and
distributed processing, both hardware and software. The presentation is
very well matched to what I presume is the intended audience.

Minus: the graph of CPU-speeds presented seems to be exaggerated (at
least visually the drawn graph doesn't seem to be anywhere near a best
fit to the data) -- to make a point that is in all likehood true.

With respect to C++ the now 60 years of historical precedent of ever
more parallelism doesn't mean very much, just, AFAICS, (1) that it's
over time to get some standardized threading support as other languages
have enjoyed the last few decades, and (2) that C++ and other
conventional thread-viewpoint languages will in all likelyhood continue
their migration toward pure support roles. I wish Herb would write an
article about those aspects. That kind of thing is what he excels at.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Jul 22 '05 #3
Alf P. Steinbach wrote:
Herb does a good job of convinving the socially bound technicians
(non-engineers, non-scientists, non-thinkers) of a self-evident
historical fact. Namely that we'll increasingly be doing parallel and
distributed processing, both hardware and software. The presentation is
very well matched to what I presume is the intended audience.

Minus: the graph of CPU-speeds presented seems to be exaggerated (at
least visually the drawn graph doesn't seem to be anywhere near a best
fit to the data) -- to make a point that is in all likehood true.

With respect to C++ the now 60 years of historical precedent of ever
more parallelism doesn't mean very much, just, AFAICS, (1) that it's
over time to get some standardized threading support as other languages
have enjoyed the last few decades, and (2) that C++ and other
conventional thread-viewpoint languages will in all likelyhood continue
their migration toward pure support roles. I wish Herb would write an
article about those aspects. That kind of thing is what he excels at.

From a message of mine in clc++m:

I think what we really need for concurrency so as to take advantage of
multicore processors in straight-forward applications (that is our usual
applications that have no reason to have concurrent design), is a safe
language level support in the style of OpenMP (which as far as I know is
not safe in the sense that it is "hard-coded" and does not throw
exceptions in case of errors for example).
Perhaps the "safe part", should be additional compiler checks on such
multithreading declarations.

OpenMP: http://www.openmp.org

VC++ 2005 will support OpenMP 2.


--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
2103
by: Nick Coghlan | last post by:
Thought some folks here might find this one interesting. No great revelations, just a fairly sensible piece on writing readable code :) The whole article: http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=271&page=1 The section specifically on white space: http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=271&page=3 Cheers,
1
1614
by: Dominic Fox | last post by:
I've created a few classes to support some concurrent programming concepts in Python: AsyncResult represents the state of a process currently running in a separate thread. MultiEvent allows listeners to wait for any one of a list of events to be signalled. MultiQueue allows listeners to wait for an item to be added to any one of a list of queues. DataflowObject can be used to block while waiting for a
23
2042
by: Bruno R. Dias | last post by:
Perhaps it would be interesting to program a virtual machine simulating an ancient computer (such as the pdp-7). Then, it would be rather interesting to code for it (porting gcc to it maybe?). I think it would be fun to play with the long-forgotten art of coding in machine language. And what about a fictional computer, such as one that works on an entirely different way (such as a non-binary computer)? It wouldn't be very useful, but...
7
2870
by: David Sworder | last post by:
Hi, I'm developing an application that will support several thousand simultaneous connections on the server-side. I'm trying to maximize throughput. The client (WinForms) and server communicate via a socket connection (no remoting, no ASP.NET). The client sends a message to the server that contains some instructions and the server responds in an asynchronous fashion. In other words, the client doesn't block while waiting for the...
3
2467
by: Animesh | last post by:
Hi All, I have a lexical analyzer in flex/bison associated with a lot of custom C function calls linking to external programs which uses quite a lot of global variables and data structures. The program is quite complex and does a lot of Natural Language Processing. The program needs to initialize a few databases from files every time it launches and needs to load them in the memory. I am currently thinking of a design where I could...
2
1358
by: manu.diaz.gomez | last post by:
Hello, I am looking for a good online documentation dealing with concurrent distributed programming in C++. Do you any? Cheers Manuel
1
3628
by: TroutyJoe | last post by:
Hi all, For performance reasons, I would like to restrict concurrent request to a WebService that I provide, so that only a single request to a WebService can run at any time, with all other requests going into the request queue. I have tried editing thread settings in the machine.config e.g: processModel - maxWorkerThreads="1" maxIoThreads="1"
3
1586
by: Brian | last post by:
An MSKB article on the scalability of ADO/ASP (http://support.microsoft.com/kb/176056/EN-US/) says in a discussion of why connection objects shouldn't be stored in session variables, "If you do not pool there will be idle connections wasting server and network resources. You also have some threading issues that can occur if multiple concurrent threads end up hitting on the same connection (though the session ID might save you here, but it...
0
1484
by: Gerardo Herzig | last post by:
Hi all. Im having some "problems" with a small concurrent plpython function. Based on a small example about concurrent programming, there is some code which works fine under python: #! /usr/bin/python import threading, random import time def myPrint(str):
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.