*
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

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

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Hi,

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

Thank you


SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

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++.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Sergey Babkin
author
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: http://aspose.com/file-tools
 
subject: Does "Practice Parallel Programming" come with Java sample code?
 
Similar Threads
can someone explain to me why the output would say null?
JavaScript And Dom
Parallel Programming
Java Certifications
Java multithreading books