Dr. Dobb's Blogs http://www.drdobbs.com/ Dr. Dobb's Copyright 2012, United Business Media. en-us The Long and Short of Parallelism http://www.drdobbs.com/blogs/parallel/240000868 Ten years ago, multi-core processors were just on the horizon. Today they are mainstream and have become the impetus for a revolution in computer programming that can make best use of the two, four, six, or eight cores. Wed, 23 May 2012 06:16:00 -0400 Bone Yard http://www.drdobbs.com/blogs/embedded-systems/240000708 The BeagleBone is a capable little Linux box. Sun, 20 May 2012 21:25:00 -0400 The Solution to Last Week's Language-Design Puzzle http://www.drdobbs.com/blogs/cpp/240000619 Anomalies, and design strategies for avoiding them, are among the many reasons that programming-language design is harder than it looks. Thu, 17 May 2012 14:51:00 -0400 Ham It Up http://www.drdobbs.com/blogs/embedded-systems/240000315 Hamming distance is important in reliable systems and is also used in some cryptography algorithms. Mon, 14 May 2012 06:37:00 -0400 The JavaFX SceneBuilder Tool http://www.drdobbs.com/blogs/jvm/240000176 Mon, 14 May 2012 03:10:37 -0400 The Tell-Tale Compiler http://www.drdobbs.com/blogs/parallel/240000206 In this post, I want to remind you to consider issues that your parallel code can encounter from the compiler. Thu, 10 May 2012 19:49:00 -0400 Java Concurrency: The Executor Service http://www.drdobbs.com/blogs/jvm/240000161 Exploring the Java Executor Service, which is useful for managing pools of threads, as well as the scheduling of future events Thu, 10 May 2012 07:17:25 -0400 A Language-Design Puzzle in Operator Overloading http://www.drdobbs.com/blogs/cpp/240000124 Resolving an overloaded function call involves finding a single possibility that is strictly better than all the others. Wed, 09 May 2012 18:31:00 -0400 Voldemort Types In D http://www.drdobbs.com/blogs/cpp/232901591 Sometimes, the confluence of existing features can yield unexpected surprises. Mon, 07 May 2012 19:34:00 -0400 Stock in Trade http://www.drdobbs.com/blogs/embedded-systems/232901504 The classic trade in computer science is trading memory for execution speed. Fri, 04 May 2012 18:47:00 -0400 Easy-to-Use ARM System on a Board http://www.drdobbs.com/blogs/tools/232901444 Raspberry Pi makes creating and programming ARM-based PCs trivially easy and a great deal of fun Thu, 03 May 2012 20:00:00 -0400 A Personal Note About Argument-Dependent Lookup http://www.drdobbs.com/blogs/cpp/232901443 One of the comments on my article last week noted that argument-dependent lookup in C++ is often called "Koenig lookup". I didn't invent it, but unfortunately, I don't know who did, so I don't know where the credit &mdash; or blame &mdash; is really due. Thu, 03 May 2012 19:24:00 -0400 The Pit and the Parallelism: Memory Models http://www.drdobbs.com/blogs/parallel/232901196 When I analyze parallel algorithms and how independent threads interact with each other across shared resources, I use the assumption of <i>sequential consistency</i>. Mon, 30 Apr 2012 13:16:00 -0400 Mean Spirited http://www.drdobbs.com/blogs/embedded-systems/232901125 One of the more interesting things about programming for the "real world" is that you get to see a lot of practical applications for the math you learned (or didn&#8217;t) in school. Fri, 27 Apr 2012 14:22:00 -0400 Java 7u4, JavaFX 2.1, and NetBeans 7.1.2 http://www.drdobbs.com/blogs/jvm/232901064 Garbage First (G1) garbage collector, Mac support, a brand new JVM implementation, and more goodies. Thu, 26 Apr 2012 14:35:59 -0400 Object Swapping, Part 7: How Do You Call It? http://www.drdobbs.com/blogs/cpp/232900925 We've talked about why swapping is important, and about how to use it to implement other operations such as assignment. We shall now look more closely at how to use it. Wed, 25 Apr 2012 06:13:00 -0400 techBASIC 2.0 Now Available http://www.drdobbs.com/blogs/tools/232900398 techBASIC is a really powerful platform for students and individuals interested in learning how to program using Post PC hardware. Tue, 24 Apr 2012 03:35:25 -0400 USB: The (Other) End http://www.drdobbs.com/blogs/embedded-systems/232900692 For the past several weeks I've been building a USB device using a PIC18F2550. This time around I wanted to wrap up with a discussion of the host software. Fri, 20 Apr 2012 14:35:00 -0400 Object Swapping, Part 6: Exception Safety http://www.drdobbs.com/blogs/cpp/232900528 Swapping has an important role to play in making operations exception safe. Wed, 18 Apr 2012 10:41:00 -0400 Auto Types and Range-Based For Statements in C++11 http://www.drdobbs.com/blogs/cpp/232900460 Two really handy features in C++11 are the <i>range-based for statement</i> and the <i>auto type specifier</i>. Tue, 17 Apr 2012 10:41:00 -0400 Java Concurrency: Queue Processing, Part 2 http://www.drdobbs.com/blogs/parallel/232900063 There are times when you need to process different actions in different threads, but they need to be coordinated using a hand-off pattern. With a <code>SynchronousQueue</code>, both sides of the queue (consumer and producer) will block until there is a corresponding producer and consumer, respectively. Sun, 15 Apr 2012 18:06:08 -0400 Penultimate USB http://www.drdobbs.com/blogs/embedded-systems/232900306 The last several weeks, I've been talking about building a USB device using a Microchip PIC 18F2550. Fri, 13 Apr 2012 12:59:00 -0400 Wearable Computing Evolves http://www.drdobbs.com/blogs/embedded-systems/232900211 With tablets becoming the new PCs, wearables could become the new mobiles. Thu, 12 Apr 2012 07:13:45 -0400 Object Swapping, Part 5: A Fine Point About Overloading http://www.drdobbs.com/blogs/cpp/232900202 Last week, a sharp-eyed reader pointed out a subtle pitfall in the code that I presented. Thu, 12 Apr 2012 06:10:00 -0400 Reporting as Ordered http://www.drdobbs.com/blogs/embedded-systems/232800454 The main purpose of usb_descriptors.c is to define the "reports" the device can send. Fri, 06 Apr 2012 14:30:00 -0400