473,385 Members | 1,400 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,385 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 1782
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.