aspose file tools*
The moose likes Threads and Synchronization and the fly likes Does Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Does "Practice Parallel Programming" come with Java sample code?" Watch "Does "Practice Parallel Programming" come with Java sample code?" New topic

Does "Practice Parallel Programming" come with Java sample code?

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689

I'd like to know if "Practice Parallel Programming" comes with Java sample code.

Thank you

Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3775

According to the Author Java & C# are occasionally used (link). I found one Java source file inside the samples available in SourceForge which uses the concurrent package. Rest of them are mostly C++.

[How to ask questions] [Twitter]
Sergey Babkin
Ranch Hand

Joined: Apr 05, 2010
Posts: 50
Yes, the examples are mostly C++. There are small Java snippets used to show some concepts unique to Java. I've tried to keep almost all the examples in the same language, only mentioning in the discussion the differences of the other languages.

Java is a nice language in the sense that it has much support for the parallel programming in the ready APIs. But it's also inconvenient in a book discussing how things work under the cover, exactly because these APIs are the opaque covers :-) So you can read it and get an idea of what happens inside, and see the reasons why some APIs work better in some situations and worse in the others. And how to make your own that works the way you need :-)
I agree. Here's the link:
subject: Does "Practice Parallel Programming" come with Java sample code?
Similar Threads
Java Certifications
JavaScript And Dom
can someone explain to me why the output would say null?
Parallel Programming
Java multithreading books