C++ Tutorials & Articles
-
Memory Ordering for Atomic Operations in C++0x
by Dan MaharryThe operation that writes a value happens before an operation that reads that value. With the default atomic operations that’s indeed true (which is why this is the default), but it does need spelling out: the atomic operations also have other options for the ordering requirements. In this article, based on chapter 5 of C++ Concurrency in Action, author Anthony Williams discusses the memory-ordering tags used for atomic operations and how they relate to the synchronizes-with relation.
-
Constructors in C++11
by Dan MaharryThe new C++ standard has slowly been set and is now upon us. In this excerpt from Professional C++ 2e, the authors look at the existing ways to write constructor methods and the additional ones newly defined in C++11
-
Massive Data Parallelism on the GPU with Microsoft's C++ AMP (Accelerated Massive Parallelism)
by Yossi LevanoniC++ AMP architect Yossi Levanoni discusses and demonstrates the need for Microsoft's new Accelerated Massive Parallelism specification.
-
Rails: an introduction
by Kevin JonesEver wondered what “Rails” is all about? Kevin Jones explains what it is and why it's important.
-
Pointers on pointers
by Mike JamesMike James discusses pointers, and concludes that they are often unsafe and generally best avoided.
-
Object Oriented JavaScript
by Ian ElliotIan Elliot clarifies the confusion surrounding objects in JavaScript.
-
Introducing Python for .NET - IronPython
by Mike JamesIs it a dead parrot or does it fly? Mike James looks at IronPython and asks if it really is something completely different.
-
C# 4.0 goes dynamic - a step too far?
by Mike JamesIs C# in danger of too much change? Mike James ponders the implications of dynamic types in C
-
Rails: an introduction
by Kevin JonesYou've heard the hype - but not given it a shot yet? Kevin Jones explains the background of MVC, DRY and TDD and how to get started with your first Ruby on Rails web app!
-
Typical errors of porting C++ code on the 64-bit platform
by Andrey KarpovProgram errors occurring while porting C++ code from 32-bit platforms on 64-bit ones are observed. Examples of the incorrect code and the ways to correct it are given. Methods and means of the code analysis which allow to diagnose the errors discussed, are listed.
-
Why Patterns
by Andy ClymerWe look at the rise of 'patterns' in the developer community, and how they've evolved to help communication between developers and understanding more clearly the intent of a given piece of code.
-
AOP in JavaScript using Humax Framework
by M Sheik Uduman AliIn this article, I've explained how can we design our client side application with aspect-oriented approach along with object-oriented approach using the open source web framework "Humax".
-
Dynamic Search Conditions in T-SQL
by Erland SommarskogA very common requirement in an information system is to have a function (or several functions) where the users are able to search the data by selecting freely among many possible criterias. In this text I will look at various techniques to solve this problem.
-
The forgotten problems of 64-bit programs development
by Andrey KarpovThough the history of 64-bit systems development makes more than a decade, the appearance of 64-bit version of OS Windows raised new problems in the sphere of development and testing applications. In the article there are considered some mistakes connected with 64-bit C/C++ code development for Windows.
-
Common Intermediate Language
by Granville BarnetttGranville gets down with the CLR, and takes a look at CIL/MSIL - the intermediate language that every .NET language gets compiled to, and has full access to the capabilities of the CLR.
-
Using WMI From Managed Code
by Andriy KlyuchevskyyWindows Management Instrumentation (WMI) is Microsoft's implementation of Web-Based Enterprise Management (WBEM) and the Common Information Model (CIM). Although WMI is COM-based, Andriy Klyuchevskyy shows you how you can access it from C# and VB.NET through System.Management, thanks to COM Inter-Op.
-
Test-Driven Development in .NET
by Peter ProvostAn article presenting benefits and techniques for using test-driven development in .NET, specifically examining the NUnit testing framework.
-
Multithreading in VB.NET
by John SpanoMultithreading, a very powerful technique, is essential for modern software development. Software users expect to work with a very responsive program that they don’t have to wait on, which is a very reasonable demand with the processor speeds that are currently available. Enter multithreading. This article shows you how.
-
An Introduction to Genetic Algorithms
by Rob BickelA brief introduction to the field of Genetic Algorithms including sample C++ code
-
Mastering C# structs
by Mike JamesAs structs are aggregates of any other data type you care to invent, learning how to work with them is important, and provides an excellent grounding in tackling wider problems.