Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

General Programming Articles

Article Listing

A Journey Through the CPU Pipeline

Published in General Programming

By Bryan Wagstaff (frob) - The CPU does not need to be an opaque box of mystery. Skilled programmers learn their tools, including what goes on inside the CPU. Very skilled pr...

Multithreading

Published in General Programming

By Vivien Oddou - In games, performance is obviously critical, almost every device now features multi core systems; we have a tendency to naturally feel that going t...

Modern Garbage Collectors under the Hood

Published in General Programming

By Jonas Schwammberger aka Bluefirehawk - More and more Applications are written in a language that manages its memory with a Garbage Collector, since that is what the cool kids are doing n...


View Complete Archive You cannot add articles


Like
1Likes
Dislike

Producer Consumer Using Double Queues

Feb 22 2012 09:10 AM | Posted By Ram Mohan Raja in General Programming
Download source - 4.02 KBLicense: ZlibIntroductionProducer consumer is an old computer science problem. Many solutions have been proposed to solve this problem. The general approach is using a common queue. A single queue to which the producer writes data to and the consumer reads data from. Avoiding race conditions is done by locking the queue so that when the producer is writing, the consumer...

Like
1Likes
Dislike

JIRA: Programming Workflows

Jan 31 2012 09:29 PM | Posted By Jobin Kuruvilla in General Programming
In this article by Jobin Kuruvilla author of JIRA Development Cookbook, we will cover:Writing a workflow conditionWriting a workflow validatorWriting a workflow post functionEditing an active workflowIntroductionWorkflows are one standout feature which help users to transform JIRA into a user-friendly system. It helps users to define a lifecycle for the issues, depending on the issue type, the...

Like
1Likes
Dislike

.NET Generics 4.0: Container Patterns and Best Practices

Jan 31 2012 09:26 PM | Posted By Sudipta Mukherjee in General Programming
There are several generic containers and generic algorithms available in the .NET Framework and a couple of other majorly accepted APIs such as Power Collections and C5.In this article by Sudipta Mukherjee, author of .NET Generics 4.0 Beginner’s Guide, we will take a look at:Generic container patterns: There are several patterns that are used more than the others in code bases that use Generics...

Like
2Likes
Dislike

Sedge: An Automated Error Reporting Tool

Jan 30 2012 02:23 PM | Posted By Andrei Marukovich in General Programming
Download demo - 248 KBDownload source - 1.26 MBLicense: Ms-PL IntroductionEvery developer knows how important a good bug report is, and every developer wants as much details about the issue as the user can provide. There are different solutions that aim to facilitate the error reporting process, from tiny third-party components to such powerful technologies like Microsoft Windows Error Reportin...

Like
1Likes
Dislike

Inter-Process Communication (IPC) Introduction and Sample Code (.net)

Jan 30 2012 02:17 PM | Posted By All-In-One Code Framework in General Programming
Download IPC source code - 229.21 KBLicense: Ms-PL IntroductionInter-Process Communication (IPC) is a set of techniques for the exchange of data among multiple threads in one or more processes. Processes may be running on one or more computers connected by a network. IPC techniques include Named Pipes, File Mapping, Mailslot, Remote Procedure Calls (RPC), etc.In All-In-One Code Framework, we ha...

Like
1Likes
Dislike

Parallel programming in .NET - Internals

Jan 30 2012 02:15 PM | Posted By Manabendra Roy (Manab) in General Programming
Download demo - 2.67 KBLicense: Ms-PL Introduction.NET 4 brings a powerful Task library to support a piece of code to run in parallel processors. It just simply spawns threads into multiple processes using the newly written Task libraries (System.Threading.Tasks) in Mscorlib 4.0. Task libraries contain methods like For, ForEach, and Invoke to support parallelism in .NET languages, which I will...

Like
1Likes
Dislike

TortoiseSVN: Revision Graphs

Jan 27 2012 02:37 AM | Posted By Lesley A. Harrison in General Programming
TortoiseSVN is a free and open-source Subversion client for Microsoft Windows. It is not tied to any particular Integrated Development Environment (IDE); instead, it is a shell extension which integrates into the Windows Explorer, giving you easy access to Subversion repositories from within applications you're already familiar with. This means that it can be used with any software, and by...

Like
1Likes
Dislike

Working with Revision Logs in TortoiseSVN

Jan 27 2012 02:34 AM | Posted By Lesley A. Harrison in General Programming
TortoiseSVN is a popular and easy-to-use Subversion client for Microsoft Windows. It is a Windows Shell extension, and is not limited to any particular IDE. TortoiseSVN is a free software which has been released under the GNU General Public License.In this article by Lesley Harrison, author of TortoiseSVN 1.7, we shall learn about differences and changelists in TortoiseSVN 1.7Differences in det...

Like
1Likes
Dislike

TortoiseSVN: Getting Started

Jan 27 2012 02:29 AM | Posted By Lesley A. Harrison in General Programming
In this article you will get your first taste of using TortoiseSVN. This article will explain the concept of working copies and will cover how to check out a working copy, how to manage copy depth, and how to commit a copy after you have made some changes to it. This process is the nuts-and-bolts of version management and something that you will be doing a lot during your work with TortoiseSVN....

Like
1Likes
Dislike

Owl's Programming Snippets

Jan 17 2012 03:20 PM | Posted By Damian Paz in General Programming
wordpress.com — This blog is intended to be a compilation of programming snippets I actually use in my projects. The articles are not intended to be the perfect approach to solve a necessity but more to be a guide on how to use different patterns and libraries. The source code should run on_copy_paste but I can’t guarantee I won’t make a mistake once in a while.

Like
2Likes
Dislike

Collision detection and bug detection

Nov 02 2011 12:00 AM | Posted By Ronen Krendel in General Programming
A Few months ago I decided it was about time I write my own Pacman clone. I had it all figured out except for the AI. I wanted to make a good AI, and started looking for one. Diving more and more into the Pacman’s world, I became obsessed with the AI, and trust me the Pacman AI deserves an article of its own. But it was that obsession, which led me to a decision. I’m gonna to reverse engineer t...

Like
1Likes
Dislike

An Introduction to Version Control

Nov 01 2011 08:00 AM | Posted By Chris Nagele in General Programming
Learn about the new partnership between GameDev.net and Beanstalk and get an introduction to Version Control systems and why they are so valuable to your coding project - alone or with a team

Like
1Likes
Dislike

A Type-safe Generic Pointer

Aug 17 2010 06:23 AM | Posted By Francis Xavier in General Programming
A safer alternative to void*, any_ptr can point to any type of object and provide type-safe, const-correct access to it

Like
1Likes
Dislike

A Collection of Examples of 64-bit Errors in Real Programs

Aug 04 2010 03:13 PM | Posted By Andrey Karpov in General Programming
This article is the most complete collection of examples of 64-bit errors in the C and C++ languages. The article is intended for Windows-application developers who use Visual C++, however, it will be useful for other programmers as well

Like
1Likes
Dislike

Using Abstraction to Optimize Runtime Polymorphism

Jul 09 2010 08:41 AM | Posted By Gabriel T. Delarosa in General Programming
We take a look at the cost of C++'s virtual function mechanism and how to improve the performance of runtime polymorphism without giving up it's many benefits

Like
1Likes
Dislike

Response Curves in XML for Game Parametrization

Nov 30 2009 06:00 AM | Posted By Diego B.S. in General Programming
A basic programming rule is to avoid using parameters and magic numbers directly in source code. This article proposes an addition to this well-known design pattern, explaining a simple way to parametrize in xml the response curves that otherwise may be hard-coded

Like
1Likes
Dislike

A Data-driven Animation Manager

Oct 20 2009 02:07 PM | Posted By Diego B.S. in General Programming
This article explains a simple, yet flexible and robust layer between the game state and the graphics engine. It takes as input the character state, and as output it plays the right animation sequence.

Like
1Likes
Dislike

A Simple C++ Object Loader

Oct 06 2009 12:19 AM | Posted By Francis Xavier in General Programming
A guide to deserializing objects using Daabli. Demonstrates how easy it is to load objects, enumerations, pointers and STL containers using Daabli. Also discusses Daabli's flexible string conversion mechanism

Like
0Likes
Dislike

Super Factory

Jul 17 2009 06:20 AM | Posted By Francis Xavier in General Programming
IntroductionWith object factory implementations already done to death, you might be wondering what on earth a "Super Factory" is. Simply put, it's an object factory which can create objects of any type and return them through any of their respective base class interfaces. This is a very useful feature indeed (especially for persistence frameworks, and especially for the one I'm...

Like
0Likes
Dislike

K-Means Heuristic for General Purpose Binary Search Trees and Animated Data Sets

Feb 11 2009 11:38 AM | Posted By Frédéric Brachfogel in General Programming
This article introduce a new heuristic for constructing binary search trees often used in image synthesis (games, ray-tracing etc.) and in many other fields. This heuristic is based upon the K-Means problem and gives an ideal tree for traversal algorithms. Moreover, the iterative nature of the construction algorithm make it perfect (fast and robust) for animated data sets which are very common...

Like
0Likes
Dislike

Stringizing C++ Enums

Oct 25 2008 06:42 AM | Posted By Francis Xavier in General Programming
A simple method to convert a C++ enumeration to its equivalent string representation and vice versa. It's easy to use and flexible enough for most situations, making it useful for both, beginners as well as more advanced programmers

Like
0Likes
Dislike

Learn to Tango with D Excerpt: Chapter 2

Jun 05 2008 04:30 PM | Posted By Bell, Igesund, Kelly, Parker in General Programming
What is D to C? Come learn about D's declarations, basic data types, pointers, arrays, looping and decision structures, functions and error handling

Like
0Likes
Dislike

Creating a Generic Object Factory

May 19 2004 03:41 PM | Posted By Robert Geiman in General Programming
The IntroductionObject factories are one of those extremely useful but often times overlooked constructs in programming. To put it simply, object factories are like virtual functions but instead of dynamically choosing which function gets executed at runtime, object factories dynamically choose which class gets instantiated at runtime.If you don't have a good understanding of object factori...

Like
6Likes
Dislike

Organizing Code Files in C and C++

Apr 06 2002 03:35 PM | Posted By Ben Sizer in General Programming
IntroductionWhile many simple programs fit into a single C or CPP source file, any serious project is going to need splitting up into several source files in order to be manageable. However, many beginning programmers may not realize what the point of this is - especially since some may have tried it themselves and run into so many problems that they decided it wasn't worth the effort. This art...

Tagged With:  file  files  code  header  need  source  #include  function  class 
Like
0Likes
Dislike

A Tutorial on Pointers and Arrays in C

Feb 16 2002 07:35 PM | Posted By Ted Jensen in General Programming
Editors Note: Please refer to the original document as we reformat this version. Thank you. Feb. 2000This material is hereby placed in the public domainAvailable in various formats viahttp://www.netcom.com/~tjensen/ptr/cpoint.htmTable of ContentsPrefaceIntroductionChapter 1: What is a Pointer?Chapter 2: Pointer Types and Arrays.Chapter 3: Pointers and StringsChapter 4: More on StringsChapter 5:...

PARTNERS