Jump to content

  • Log In with Google      Sign In   
  • Create Account


General Programming Articles

Article Listing

Introduction to Software Optimization

Published in General Programming

By Bartlomiej Filipek - Takes you through the process and goes over the various techniques to optimizing your code

Using Varadic Templates for a Signals and Slots Implementation in C++

Published in General Programming

By Paul Cook (Aardvajk) - Varadic templates allow for signals and slots systems to be implemented in an elegant and concise manner and are a good example of how the power of...

What Language Do I Use?

Published in General Programming

By John Hattan - This article will cover some of the languages that are popular with game programmers. This list is neither complete nor deep. This article is inten...


View Complete Archive You cannot add articles


Like
6Likes
Dislike

Introduction to Software Optimization

Aug 20 2014 11:17 PM | Posted By Bartlomiej Filipek in General Programming
Takes you through the process and goes over the various techniques to optimizing your code

Tagged With:  optimization  gamedev 
Like
24Likes
Dislike

Using Varadic Templates for a Signals and Slots Implementation in C++

Aug 17 2014 06:07 AM | Posted By Paul Cook (Aardvajk) in General Programming
Varadic templates allow for signals and slots systems to be implemented in an elegant and concise manner and are a good example of how the power of varadic templates can be used to simplify generic systems that were previously difficult to express.

Tagged With:  C++  signals and slots  varadic templates 
Like
29Likes
Dislike

What Language Do I Use?

Jul 29 2014 11:32 PM | Posted By John Hattan in General Programming
This article will cover some of the languages that are popular with game programmers. This list is neither complete nor deep. This article is intended to give you a bird's eye view of the most popular game development languages out there along with a short overview and a few situations where they would be a good or a poor choice for a project.

Tagged With:  c lang  d language  c++  java  c#  .net  assembly  asm  vb  visual basic  flash  actionscript  python  php  asp.net  ruby on rails  javascript  objective c 
Like
29Likes
Dislike

Modern Garbage Collectors under the Hood

Jul 02 2014 05:36 AM | Posted By Bluefirehawk in General Programming
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 now. But weirdly, even experienced programmers seem to have a distorted image of the good and bad sides of the Garbage Collector. In this Article, I try to show how modern Garbage Collector work and discuss some common misconceptions.

Tagged With:  garbage collection  memory management  tutorial  c++ 
Like
11Likes
Dislike

How to Handle Circular Dependencies with Templates in C++

Jan 16 2014 11:10 AM | Posted By Kent Fagerjord in General Programming
This is a problem I encountered while tuning the Message-Component-Entity system in our game under development while using C++ templates

Tagged With:  c++  templates  circular dependency  entity  component 
Like
33Likes
Dislike

Writing Fast Code: Introduction To Algorithms and Big-O

Nov 29 2013 06:07 PM | Posted By Arian Allenson M. Valdez in General Programming
Ever wondered what makes code fast? Here we take a look at different algorithms, their running time, and Big-O.

Tagged With:  fast code  algorithm  big-o 
Like
17Likes
Dislike

Grounded Pointers

Sep 13 2013 09:10 AM | Posted By Andrey Karpov in General Programming
Our ex-colleague is sincerely worried about the quality of the code he deals with in his new job, leading him to write a paper on ways you shouldn't write programs

Tagged With:  c++  swamp  static analysis 
Like
9Likes
Dislike

Design Considerations for Custom Binary Formats and Data Compression (Part 1) UNDER REVIEW

Sep 06 2013 09:54 AM | Posted By Brendan G Bohannon in General Programming
While often there are general purpose file-formats or data representations to achieve a goal, sometimes it may make sense to create something a little more specialized, in cases where encoded size may be significant.

Tagged With:  file formats  data compression  entropy coding  huffman coding 
Like
9Likes
Dislike

Useless Snippet #2: AABB/Frustum test

Sep 04 2013 11:47 PM | Posted By Jim Drygiannakis in General Programming
How fast can a batch of Axis Aligned Bounding Boxes (AABB) be culled by a frustum?

Tagged With:  aabb  frustum  culling  sse  snippet 
Like
10Likes
Dislike

How I Created My Single Threaded Event System UNDER REVIEW

Aug 26 2013 12:25 PM | Posted By Will Song in General Programming
A walkthrough of how I implemented an event system I wrote.

Tagged With:  events  threads  c++ 
Like
17Likes
Dislike

Wade Not In Unknown Waters: Part One

Aug 26 2013 02:08 AM | Posted By Andrey Karpov in General Programming
We decided to write several small posts on how C/C++ programmers play with fire without knowing it. The first post will be devoted to an attempt to explicitly call a constructor.

Tagged With:  c++ 
Like
16Likes
Dislike

Cross Platform Test Driven Development Environment Using CMake (Part 5)

Aug 19 2013 01:21 PM | Posted By AllEightUp in General Programming
CMake 2.8.11 is a game changer. A large portion of the prior 4 articles has just been deprecated and it is time to learn why.

Tagged With:  make  cmake  cross platform  makefile  c++  c++11 
Like
7Likes
Dislike

Why Is It Building So Long?

Aug 17 2013 12:40 AM | Posted By Bartłomiej Filipek in General Programming
How to use the concept of "insulation" to reduce compile times for large software projects

Tagged With:  oop  encapsulation  c++  insulation 
Like
7Likes
Dislike

Advanced Python Part One: List Comprehensions

Aug 16 2013 01:41 PM | Posted By Thomas Hobohm in General Programming
Python List Comprehensions are a small tool with a large use case. They get rid of the tedious loops required for tasks such as list / string manipulation in Python in an elegant and easy way.

Tagged With:  advanced python  python  python2  python3  list comprehensions  lists  programming 
Like
15Likes
Dislike

Data Structures for Pre-College Programmers: Choosing The Right Structure

Aug 13 2013 09:29 AM | Posted By Bryan Wagstaff (frob) in General Programming
This is part of a series of articles dealing with data structures for beginners. It covers choosing between the various data structures.

Like
20Likes
Dislike

How About UNICODE and UTF-8

Aug 06 2013 04:07 PM | Posted By Dominque A Douglas in General Programming
Determining how to represent text can get a bit complicated once you start to get past the ASCII and the Latin alphabet. This article will examine UNICODE's UTF-8 encoding and how it can help.

Like
20Likes
Dislike

The Programming Primer

Aug 06 2013 03:54 PM | Posted By Dan Mayor in General Programming
This article covers some basic programming theory that should help beginner level programmers to better understand what it is that programming is all about and what they are getting themselves into.

Tagged With:  programming  function  method  class  data type  variable 
Like
5Likes
Dislike

D Exceptions and C Callbacks UNDER REVIEW

Aug 06 2013 07:30 AM | Posted By Mike "Aldacron" Parker in General Programming
D is often used in conjunction with C libraries, but there are certain potential issues to be aware of. Exception handling is one of them.

Tagged With:  d language  exception  callback  glfw 
Like
3Likes
Dislike

Getting Started with the D Programming Language

Jul 28 2013 10:53 AM | Posted By Mike "Aldacron" Parker in General Programming
A few tips about getting up and running with the D Programming Language. My way.

Tagged With:  d language  windows  derelict 3 
Like
1Likes
Dislike

MAME emulator disease: memset()

Jul 26 2013 04:09 PM | Posted By Andrey Karpov in General Programming
While analyzing the source codes of various programs I can't help creating associations that each program has a tendency to certain diseases. In many projects you can easily make out patterns of incorrect code that can be found in different project files. In some programs these are Copy-Paste errors, while in others it's "unsigned_integer < 0"-like checks. Each project has its own disease....

Tagged With:  c++  MAME  pvs-studio  Static Code Analyzer 
Like
9Likes
Dislike

Writing Endian Independent Code in C++

Jul 24 2013 11:13 PM | Posted By Promit Roy in General Programming
Endians are a confusing topic for many people. Hopefully, by reading this article you will understand both what endian means and how to write code to deal with it.

Tagged With:  c++  endian 
Like
5Likes
Dislike

Wade Not in Unknown Waters: Part Four UNDER REVIEW

Jul 24 2013 11:44 AM | Posted By Andrey Karpov in General Programming
This time we will discuss virtual inheritance in C++ and find out why one should be very careful using it.

Tagged With:  c++  cpp 
Like
4Likes
Dislike

Wade Not In Unknown Waters: Part Three UNDER REVIEW

Jul 23 2013 06:46 AM | Posted By Andrey Karpov in General Programming
Let's speak on shift operators &lt;&lt;, &gt;&gt;. The working principles of the shift operators are evident and many programmers even don't know that using them according to the C/C++ standard might cause undefined or unspecified behavior.

Tagged With:  c++  cpp  bit shift 
Like
11Likes
Dislike

Wade Not In Unknown Waters: Part Two UNDER REVIEW

Jul 22 2013 09:09 AM | Posted By Andrey Karpov in General Programming
We decided to write several small posts on how C/C++ programmers play with fire without knowing it. This time I want to speak on the 'printf' function.

Tagged With:  c++  cpp  vulnerabilities 
Like
6Likes
Dislike

Getting started with Team Foundation Service: Part 2

Jul 15 2013 09:40 PM | Posted By Oli Wilkinson in General Programming
Wraps up all the basics of using TFS for builds, tests, bug tracking, new feature requests and a practical demonstration of continuous integration

Tagged With:  tfs  visual studio  agile  continuous integration  unit testing 
PARTNERS