473,320 Members | 1,926 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

new e-Book on multicore programming

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
Jul 23 '08 #1
3 1777
here's the link: http://www.cilk.com/multicore-e-book

"threadman" <a@b.comwrote in message
news:ZO******************************@comcast.com. ..
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

Jul 23 '08 #2
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

Jul 23 '08 #3
Gernot Frisch wrote:
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.
Jul 23 '08 #4

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

Similar topics

16
by: Ioannis Vranos | last post by:
Since multicore processors are about to become mainstream soon, multithreading will become a main concern too. However I am thinking that perhaps for small/medium-sized applications...
1
by: Laurynn | last post by:
Like to share this ebook here: # Ebook O'Reilly - Java Data Access JDBC, JNDI, and JAXP # (Ebook - Pdf - Java) O'Reilly - J2Me In A Nutshell - Decrypted # (ebook) - O'Reilly - Java IO #...
0
by: Laurynn | last post by:
# (ebook - pdf) - programming - mysql - php database applicati # (Ebook - Pdf)Learnkey How To Design A Database - Sql And Crystal Report # (ebook-pdf) E F Codd - Extending the Database Relational...
0
by: threadman | last post by:
http://www.cilk.com/multicore-e-book 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...
1
by: threadman | last post by:
http://www.cilk.com/multicore-e-book New e-Book: "How to Survive the Multicore Revolution (or at Least Survive the Hype)" the ebook covers: - Background on the emergence of mainstream...
6
by: cnb | last post by:
If I buy a multicore computer and I have really intensive program. How would that be distributed across the cores? Will algorithms always have to be programmed and told specifically to run on...
20
by: gremlin | last post by:
http://www.cilk.com/multicore-blog/bid/6703/C-Inventor-Bjarne-Stroustrup-answers-the-Multicore-Proust-Questionnaire
0
by: Chris M. Thomasson | last post by:
http://groups.google.com/group/comp.programming.threads/browse_frm/thread/a4a668e20be49644 ] "gremlin" <gremlin@rosetattoo.comwrote in message
4
by: Chris M. Thomasson | last post by:
http://groups.google.com/group/comp.programming.threads/browse_frm/thread/e753228b20889a11 ] "Dmitriy V'jukov" <dvyukov@gmail.comwrote in message...
4
by: kayjay66 | last post by:
hello! MY CODE IS RUNNING AND IT'S ALL FINE, I ONLY NEED TO KNOW HOW TO MODIFY IT AND MAKE IT RUN ON A CORE 2 DUO INTEL CENTRINO. i have written 2 programs, the first one is only for creating...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.