Home    General Programming    Artificial Intelligence    Math    Physics    Graphics    Networking    Audio Programming    
Audio/Visual Design    Game Design    Production    Business of Games    Game Studies    Conferences    Schools    Contact   
Architecture
C++ and Languages
Optimizations
Scripting
Resource Management
Data Structures
Memory Management
UI and Menus
Player Input
Level Editors and Tools
Debugging
All Articles
Game Programming Gems
Game Programming Gems 2
Game Programming Gems 3
Game Programming Gems 4
Game Programming Gems 5
Game Programming Gems 6
Game Programming Gems 7
AI Game Programming Wisdom
AI Game Programming Wisdom 2
AI Game Programming Wisdom 3
AI Game Programming Wisdom 4
GPU Gems
GPU Gems 2
GPU Gems 3
ShaderX
ShaderX2
ShaderX3
ShaderX4
ShaderX5
Massively Multiplayer Game Development
Massively Multiplayer Game Development 2
Secrets of the Game Business
Introduction to Game Development
GDC Proceedings
Game Developer Magazine
Gamasutra


General Game Programming: Optimizations


Lock-Free Algorithms

Toby Jones (Microsoft)
Game Programming Gems 6

Utilizing Multicore Processors with OpenMP

Pete Isensee (Microsoft Corporation)
Game Programming Gems 6

BSP Techniques

Octavian Marius Chincisan
Game Programming Gems 6

Closest-String Matching Algorithm

James Boer (ArenaNet)
Game Programming Gems 6

Writing a Fast, Efficient, Fixed-Size Object Allocator

Tom Gambill (NCsoft Corporation)
Massively Multiplayer Game Development

Optimized Script Execution

Alexander Herz (Lionhead Studios Ltd.)
AI Game Programming Wisdom 2
Abstract: The slow speed with which script languages are executed (compared to native code) places many limitations on a script language's potential applications. Previously only infrequently executed code placed outside of the game's inner loops has been deemed suitable for scripting, and for this reason script languages have typically only been used for story telling or customizable event-handling purposes.

Using optimization techniques presented in this article, it possible to increase script execution efficiency to near-native performance levels, enabling the use of scripting in the game's core logic, or even in a high performance 3D rendering system. The flexibility gained from switching to script-based logic means that even modifying a program's innermost mechanics is trivial, and does not come with the performance penalties one would expect.

Three stages of script execution are individually examined, and optimizations for each are presented. The techniques and principles presented can be easily applied to any existing scripting engine.

Optimization for C++ Games

Andrew Kirmse (LucasArts Games)
Game Programming Gems 2

Fast Data Load Trick

John Olsen
Game Programming Gems

Fast Math Using Template Metaprogramming

Pete Isensee
Game Programming Gems

Simple, Fast Bit Arrays

Andrew Kirmse
Game Programming Gems

40% off discount
"Latest from a must have series"
Game
Programming
Gems 7



"Cutting-edge graphics techniques"
GPU Gems 3


"Newest AI techniques from commercial games"
AI Game
Programming
Wisdom 4






Home