Showing posts with label multicore. Show all posts
Showing posts with label multicore. Show all posts

Monday, October 5, 2009

Fan: A Portable Language is Bringing Actors to JavaScript

Posted on http://www.ddj.com/go-parallel
Fan, another new programming language developed in the multicore era, has recently launched its 1.0.45 release. It is a very active open source project with a very interesting approach to many modern concurrent programming challenges.
Read more here

Keeping Parallelism Balanced is a Must

Posted on http://www.ddj.com/go-parallel
It is very important to optimize applications for existing and forthcoming multicore microprocessors. However, a lack of balance in parallelism levels could lead to explosive parallelism with resulting slowdown rather than speedup.
Read more here

Thursday, July 2, 2009

A Domain-Specific Language to Let Groovy Go Parallel

Posted on http://www.ddj.com/go-parallel

Groovy is an agile dynamic language for the Java Platform. It runs on the JVM (Java Virtual Machine). It supports Domain-Specific Languages (DSLs). Last week, GParallelizer 0.7 release added exciting intuitive ways to handle tasks, actors and message. Great news for the Groovy community in order to go parallel.

Read more here

Work Stealing Queues in .Net 4 and in Previous Versions

Posted on http://www.ddj.com/go-parallel
.Net 4.0 Beta 1 offers a new and improved thread pool engine. It uses work stealing queues to provide nice load-balancing capabilities, better performance and greater scalability. The work stealing mechanism allows you to reduce the scheduling overhead in highly parallelized algorithms.
Read more here

Challenges in Multi-Core Era – Part 3

Previously, I compared the performance of today’s popular operating systems with respect to multi-core processors. In this final part to Challenges in Multi-Core Era, I’ll talk about the multi-core capabilities found in today’s programming languages and development tools.
Read more on Techdoer Times

Wednesday, June 24, 2009

Challenges in Multi-Core Era – Part 2

Previously I talked about the evolution of microprocessors and specialized hardware since the wide-spread adoption of multi-core began a few years ago. In this second part to Challenges in Multi-Core Era, I’ll compare the multi-core capabilities across today’s popular operating systems.
Read more on Techdoer Times

Thursday, June 18, 2009

Challenges in Multi-Core Era – Part 1

A few years ago, in 2005, Herb Sutter published an article in Dr. Dobb’s Journal, “The Free Lunch Is Over: A Fundamental Turn Toward Concurrency in Software”. He talked about the need to start developing software considering concurrency to fully exploit continuing exponential microprocessors throughput gains.
Here we are in year 2009...
Read more on Techdoer Times

Saturday, May 30, 2009

Alternatives for Parallelizing Legacy Serial Code

Posted on http://www.ddj.com/go-parallel
Applications developed using modern programming languages can become legacy code faster than expected. Multicore microprocessors have been found guilty of transforming outstanding serial code into legacy code in just a few years. However, there are many alternatives to translate multicore power into application performance making small changes to the legacy serial code.
Read more here

Tuesday, May 19, 2009

Microsoft Visual Studio 2010 and .Net Framework 4.0 Beta 1 Finally Arrived

Posted on www.ddj.com/go-parallel
After a long silence since the last CTP (Community Technology Preview), Microsoft released the Visual Studio 2010 Beta 1 that comes with the new .Net Framework 4.0. This new release will bring new promising features that empower parallel programming using the supported languages.

Wednesday, May 13, 2009

Use lambda expressions in C# to simplify the parallelized code

Posted on Intel Software Network
So, you want to start using Task Parallel Library Beta 1. You want to take advantage of the new features that will be available in .Net 4.0. Hold on! Are you familiar with lambda expressions?

Designing Rich Internet Applications With Parallelism in Mind

Posted on www.ddj.com/go-parallel
Are you still designing RIAs (Rich Internet Applications) using a serial programming approach? If that's the case, then you are losing a big opportunity to achieve a sustainable competitive advantage over competitors.

Wednesday, May 6, 2009

Counting cores in .Net and Java

Posted on Intel Software Network
As C# and Visual Basic (in the .Net world) and Java are high level programming languages, most developers were not used to check for some hardware information. With multicore microprocessors and a task-oriented programming model, trying to take full advantage of parallel processing capabilities offered by modern microprocessors, this is changing.

Monday, May 4, 2009

Measuring Parallelism: How Much Power Are You Wasting?

Posted on www.ddj.com/go-parallel
Management professionals love metrics. However, they don't like the idea to optimize applications that are currently running. Thus, what about showing them some metrics about the power that they are wasting using a free tool?

Wednesday, April 29, 2009

Invoking parallel tasks

Posted on Intel Software Network
In a recent post, Robert Chesebrough (Intel) talked about less focus on threads and more focus on tasks. I agree with him. I do believe that decomposing the job to be done into many tasks is the key to a successfully parallelized algorithm.

Tuesday, April 28, 2009

Using Intel Concurrency Checker 2.1 to benchmark threading and multicore metrics

This video uses Intel Concurrency Checker 2.1 to benchmark threading metrics on a parallelized and multithreaded C# application. Watching this video you will find out that there is an easy to use utility to test multicore optimizations in any executable.

For more information about Intel Concurrency Checker 2.1, visit: http://software.intel.com/

The application also uses AForge.NET imaging framework. For more information about AForge.NET, visit: http://www.aforgenet.com

For more information about .Net Parallel Extensions, visit: http://msdn.microsoft.com/en-us/concurrency/default.aspx

Novell's Mono brings SIMD support to C#

Posted on www.ddj.com/go-parallel
Parallel programming is not just about multi-threading and multi-core. There's also a lot of power in the SIMD (Single Instruction Multiple Data) extended instruction set available in most modern microprocessors from Intel and AMD.

Tuesday, February 17, 2009

Exploiting a quad-core CPU using C# parallel programming


This is what you will learn following the exercises in the book "C# 2008 and 2005 Threaded Programming: Beginner's Guide". You will learn to develop applications that exploit modern multicore CPUs. No tricks, what you see is what you get!

Watch video in YouTube

Friday, February 6, 2009

C# 2008 and 2005 Threaded Programming: Beginner's Guide


Are you tired of watching your dual-core CPU usage around 50%?
Are you tired of watching your quad-core CPU usage around 25%?
Do you work with C#?
Do you want to exploit all the cores available in modern computers?
Do you want to parallelize your algorithms?
Do you want to improve your applications' performance without reading 2,000 pages?
If your answer to this six questions is YES, then, my new book "C# 2008 and 2005 Threaded Programming: Beginner's Guide", published by Packt Publishing, can help you.

The book offers a practical guide to developing responsive multi-threaded applications in C#to tackle the multicore complexity in around 400 pages.

This is a concise practical guide that will help you learn C# threaded programming, with lot of examples and clear explanations. It is packed with screenshots to aid your understanding of the process.

You can also download the code samples from Packt's website support for this book.

Comments and feedback about the book are both welcome!