Home > Articles > Programming > C/C++

C/C++

61 Items

Sort by Date | Title

Move Semantics in C++11, Part 1: A New Way of Thinking About Objects
By Danny Kalev
Jul 2, 2012
Not every resource transfer is a copy operation. In many programming tasks, the resource only moves from one object to another, emptying the source object in the process. The semantics and formal properties of these 'move semantics' are a new C++11 paradigm to make code more efficient and simulate real-world situations more accurately, as Danny Kalev explains in this two-part series.
Introduction to C++ Programming
By Paul Deitel, Harvey Deitel
May 10, 2011
In this chapter, Harvey and Paul Deitel offer five examples that demonstrate how your programs can display messages and obtain information from the user for processing.
Domain-Specific Languages: An Introductory Example
By Martin Fowler
Sep 27, 2010
In this excerpt from his book, Domain-Specific Languages, Martin Fowler offers a concrete example to demonstrate the different forms a DSL can take.
Interview with Andrei Alexandrescu (Part 3 of 3)
By Andrei Alexandrescu, Eric Niebler
Aug 25, 2010
Eric Niebler and Andrei Alexandrescu conclude their conversation about the D programming language by discussing concurrency, the complications of sharing data, dynamic loading, specification and licensing, and the future of D.
Interview with Andrei Alexandrescu (Part 2 of 3)
By Andrei Alexandrescu, Eric Niebler
Aug 18, 2010
Part 2 of this interview about the D programming language finds Eric Niebler and Andrei Alexandrescu deep in discussion about structs versus classes, the difficulties of copy semantics, rvalue references, the intricacies of garbage collection, and Andrei's occasional failure in serving as the standard-bearer for policy-based design.
All Systems Are Go: An Interview with Rob Pike, the Co-developer of Google's Go Programming Language
By Rob Pike, Danny Kalev
Aug 17, 2010
Danny Kalev talks with Rob Pike, the co-developer of Google's new Go programming language. In this interview, Pike speaks about the limitations of C++ in large-scale projects, the design philosophy of Go and its unusual type-system, and Go's future.
Interview with Andrei Alexandrescu (Part 1 of 3)
By Andrei Alexandrescu, Eric Niebler
Aug 11, 2010
In part 1 of this three-part series, Eric Niebler talks with his pal and fellow InformIT contributor Andrei Alexandrescu about the D programming language and Andrei's new book about it: what makes D different from other languages, whether D's class libraries rival those of Java and .NET, and why Andrei claims not to be a guru.
Parallel Programming in CUDA C
By Jason Sanders, Edward Kandrot
Jul 12, 2010
Much of the promise of GPU computing lies in exploiting the massively parallel structure of many problems. In this vein, this chapter examines how to execute parallel code on the GPU using CUDA C.
Concurrency in the D Programming Language
By Andrei Alexandrescu
Jul 6, 2010
Andrei Alexandrescu explains recent hardware changes allowing concurrency and how the D programming languages addresses these possibilities.
How to Build a Strong Virtual Team
By Karen N. Johnson
May 11, 2010
Karen N. Johnson provides valuable advice for establishing and maintaining virtual relationships with team members. Using senses other than just your sight, paying attention to subtle clues, and putting in a little extra effort to be available when needed can help you to build a strong team that works together even when they're physically separated.
Improve Your Testing and Your Testers with Paired Testing
By Karen N. Johnson
Apr 27, 2010
Have you ever had testers on your team whose knowledge and skill sets were complementary, and wondered how you could encourage them to exchange and collaborate so that they could both increase their skills? Author Karen Johnson shows a different approach to testing and some of the advantages of pairing testers.
The Design of Design: Exemplars in Design
By Frederick P. Brooks
Apr 19, 2010
Few designs are all-new. Usually, even novel designs derive from earlier artifacts intended for similar purposes and built with similar technology. What then is the proper role of exemplars, precedents, in design? How should the designer study and use them? Should each design domain develop an accessible cumulative store of exemplars? Frederick P. Brooks considers these questions in this excerpt from his book, The Design of Design.
What Programmers Have to Know About Testing
By Janet Gregory
Jan 11, 2010
Janet Gregory offers some good advice to developers: Even when you know that a dedicated test team will be testing your software, there are some things that your programming team shouldn't leave for the testers to find.
On Iteration
By Andrei Alexandrescu
Nov 9, 2009
Andrei Alexandrescu provides a fresh perspective on iteration and proposes a new approach to iteration that builds on the strengths of abstractions defined by other languages and libraries. The proposed framework is sensible and expressive, yet one that is simple and obvious in hindsight.
Robert C. Martin's Clean Code Tip #12: Eliminate Boolean Arguments
By Robert C. Martin
Aug 25, 2009
We join "The Craftsman," Robert C. Martin's series on an interstellar spacecraft where programmers hone their coding skills. In this twelfth tip in the series, the crew learns that Boolean arguments loudly declare that the function does more than one thing. They are confusing and should be eliminated.
Helping the Development Team Learn More About the Business
By Lisa Crispin
Aug 18, 2009
Your software development team might be brilliant at testing and coding, but the team can support your business much better with software if they know that business inside and out. Lisa Crispin shows how the effort can pay off.
Eight Terrifying Team Project Mistakes
By John Paul Mueller
Aug 17, 2009
John Paul Mueller shares project mistakes, including these frightening (true) examples.
Robert C. Martin's Clean Code Tip of the Week #8: Your Build Shouldn't Require More Than One Step
By Robert C. Martin
May 16, 2009
We join "The Craftsman," Robert C. Martin's series on an interstellar spacecraft where programmers hone their coding skills. In this eighth tip in the series, the crewmen learn that building a project should be a single trivial operation.
Robert C. Martin's Clean Code Tip of the Week #7: Clean up Old Commented Out Code
By Robert C. Martin
Mar 30, 2009
Robert C. Martin explains why old commented-out code is an abomination.
Robert C. Martin's Clean Code Tip of the Week #6: Avoid Poorly Written Comments
By Robert C. Martin
Feb 27, 2009
We join "The Craftsman," Robert C. Martin's series on an interstellar spacecraft where programmers hone their coding skills. In this sixth tip in the series, the crewmen try to interpret a poorly worded comment.

< Prev Page 1 2 3 4 Next >