Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
the future of programming (for Highly Multi-Core Systems)
Old 06-05-2011, 02:20 AM the future of programming (for Highly Multi-Core Systems)
Lashtal's Avatar
wherenomanhasgonebefore

Posts: 680
Name: Lashtal
Trades: 0
in the future: Will languages be developed to accomodate specifically for multi-core systems? If so, how?
__________________
Currently Reading:
Please login or register to view this content. Registration is FREE
Lashtal is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-05-2011, 02:38 AM Re: the future of programming (for Highly Multi-Core Systems)
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
Any languages that supports multiple threads (which is most of the major ones) can already accommodate multi-core/multi-processor systems. The catch is that it is up to the programmer to implement concurrency.

There are languages that are inherently parallel. For example functional languages (Lisp, Haskell) and actor-model languages (Erlang, Axum).

Both Google and Microsoft announced languages, Go and Axum respectively, that were specifically designed for concurrency in 2009.

So I guess the answer to your question is Yes
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 06-05-2011, 03:14 AM Re: the future of programming (for Highly Multi-Core Systems)
Lashtal's Avatar
wherenomanhasgonebefore

Posts: 680
Name: Lashtal
Trades: 0
I'd read about issues, like concurrency. But I wondered if maybe more would go into it...

I wonder if automatic-concurrency will be a feature built-in to certain languages, while others will be totally bereft. This could perhaps become the new, "this language has automatic garbage collection and this one doesn't" comparison/debate. no?
__________________
Currently Reading:
Please login or register to view this content. Registration is FREE
Lashtal is offline
Reply With Quote
View Public Profile
 
Old 06-05-2011, 04:25 AM Re: the future of programming (for Highly Multi-Core Systems)
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
Quote:
Originally Posted by Lashtal View Post
I wonder if automatic-concurrency will be a feature built-in to certain languages, while others will be totally bereft.
As I pointed out, some languages are inherently concurrent. Others support concurrency, but it has to be explicitly coded to be concurrent. Some languages don't support concurrency at all.

Quote:
Originally Posted by Lashtal View Post
This could perhaps become the new, "this language has automatic garbage collection and this one doesn't" comparison/debate. no?
Garbage collected vs non-garbage collected is about performance. For embedded systems or performance critical applications you don't want a garbage collector kicking in at just any time. Languages like Java don't allow the coder to specify when garbage collection should occur, or maybe more importantly, not occur (actually I believe Java allows you to 'suggest' when to do garbage collection). However, in general, features like garbage collection are more 'affordable' than in the past.

Concurrency is about performance as well, but the question you have to ask yourself is 'Is it useful to divide a single task between multiple processors?'. Some tasks are strictly sequential and cannot be done concurrently (ie function b needs the result of function a before it can do any work). Other tasks aren't demanding enough to warrant concurrency, and the overhead of implementing concurrency may reduce overall performance.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 06-05-2011, 06:40 AM Re: the future of programming (for Highly Multi-Core Systems)
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Languages that support SMP (Symmetrical Multiple Processors) have been around for many years. Back in the "dark ages" of Unix. (Solaris & HP-UX) multiple processors was the order of the day.


It's simply M$ Windows (as usual) software that needs to catch up
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-05-2011, 07:04 AM Re: the future of programming (for Highly Multi-Core Systems)
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
Quote:
Originally Posted by chrishirst View Post
It's simply M$ Windows (as usual) software that needs to catch up
It's not the operating system, it's the software running on the operating system. Windows can delegate tasks between processors just fine. What it can't do is take some software that was coded to use a single thread of execution and make it utilize multiple processors.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 06-05-2011, 07:41 AM Re: the future of programming (for Highly Multi-Core Systems)
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Yep. It wasn't the OS I was really referring to (should have made that clearer). The Windows OS has been SMP capable since NT3.51 and Win95 of course, though it did have some "stability" issues there.
I should have said software FOR the windows OS

Many software developers still use the "apartment" threading model because it lets the OS handle the threads rather than them having to be aware of synching the worker threads and the UI threads.

http://gsraj.tripod.com/com/com_threading.html

Maybe it's the Windows ME and Vista debacles that makes developers wary of going all out multi-threaded.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to the future of programming (for Highly Multi-Core Systems)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.52923 seconds with 12 queries