• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Thank you
 
Vijitha Kumara
Bartender
Posts: 3908
9
Chrome Fedora Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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++.
 
Sergey Babkin
author
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic