Connecting Tech Pros Worldwide Forums | Help | Site Map

new e-Book on multicore programming

threadman
Guest
 
Posts: n/a
#1: Jul 23 '08
Cilk Arts has published a free e-Book: "How to Survive the Multicore
Revolution (or at Least Survive the Hype)"

the ebook covers:
- Background on the emergence of mainstream multicore processors
- The key challenges facing software developers
- An introduction to multithreading concepts
- Twenty questions to ask when going multicore
- Overview of available concurrency layers



threadman
Guest
 
Posts: n/a
#2: Jul 23 '08

re: new e-Book on multicore programming


here's the link: http://www.cilk.com/multicore-e-book

"threadman" <a@b.comwrote in message
news:ZO6dnXT9YcJ2AxvVnZ2dnUVZ_gednZ2d@comcast.com. ..
Quote:
Cilk Arts has published a free e-Book: "How to Survive the Multicore
Revolution (or at Least Survive the Hype)"
>
the ebook covers:
- Background on the emergence of mainstream multicore processors
- The key challenges facing software developers
- An introduction to multithreading concepts
- Twenty questions to ask when going multicore
- Overview of available concurrency layers
>

Gernot Frisch
Guest
 
Posts: n/a
#3: Jul 23 '08

re: new e-Book on multicore programming


Quote:
here's the link: http://www.cilk.com/multicore-e-book
The book is basically an advertisement for the CILK++ thing.
It's worth a look, though.

This code:
int fib (int n) {
if (n<2) return (n);
else {
int x,y;
x = cilk_spawn fib(n-1);
y = fib(n-2);
cilk_sync;
return (x+y);
}
}

uses the "cilk_spawn", which creates a new thread and "cilk_sync" that waits
for execution of both.

Now my question:
Is this just a C++ library, or do I need a true compiler for this stuff?
Could one write that with (e.g. Windows API) calls and C++ only?


--
------------------------------------
Gernot Frisch
http://www.glbasic.com

Mirco Wahab
Guest
 
Posts: n/a
#4: Jul 23 '08

re: new e-Book on multicore programming


Gernot Frisch wrote:
Quote:
uses the "cilk_spawn", which creates a new thread and "cilk_sync" that
waits for execution of both.
>
Now my question:
Is this just a C++ library, or do I need a true compiler for this stuff?
Could one write that with (e.g. Windows API) calls and C++ only?
This is imho the result of a decade-long research at their
university - which now gets translated into a business model
including compiler and tools:

http://www.cilk.com/Default.aspx?app...s%2C+Final.pdf

...
Business model: license the runtime platform.
...

There's (as of now) no such tool available
for testing/evaluating (last time I checked).

When they started long ago, there wasn't OpenMP.

(my €0.02)

Regards

M.
Closed Thread