Gamasutra: The Art & Business of Making Gamesspacer
View All     RSS
December 10, 2018
arrowPress Releases

If you enjoy reading this site, you might also want to check out these UBM Tech sites:


Niklas Gray's Blog   Expert Blogs


Niklas Gray is a 15 year veteran in the game development industry. He was a lead programmer at Grin for six years together with Tobias Persson. After Grin, they created the Bitsquid game engine which was acquired by Autodesk in 2014. He's currently working on new tech at Our Machinery together with Tobias Persson and Tricia Gray.

Niklas is a strong advocate for openness and information sharing in the gamedev community. We're all in this together.


Expert Blogs

Posted by Niklas Gray on Thu, 08 Nov 2018 10:27:00 EST in Programming
The rationale and design goals behind the data model we use in The Machinery.

Posted by Niklas Gray on Thu, 20 Sep 2018 10:05:00 EDT in Programming
A detailed account of hunting down two bugs in The Machinery alpha.

Posted by Niklas Gray on Tue, 30 Jan 2018 09:56:00 EST in Programming
In this post I show how to use the minimalist container types from my last post to create more advanced data structures.

Posted by Niklas Gray on Tue, 09 Jan 2018 09:57:00 EST in Programming
How to implement a minimalist library of container types in C.

Posted by Niklas Gray on Tue, 07 Nov 2017 09:22:00 EST in Programming
Shows some non-obvious tricks you can do with virtual memory.

Posted by Niklas Gray on Wed, 18 Oct 2017 09:07:00 EDT in Programming
Adding high-performance multi-threading support to a complicated data structure.

Niklas Gray's Comments

Comment In: [Blog - 11/08/2018 - 10:27]

Thanks r n r nChanges ...

Thanks r n r nChanges are propagated in real-time, but we don 't use publish-subscribe, instead it is a polling model. I.e. every frame B will ask are there any changes to the data model . If there are changes, the view is updated. In the case where B has ...

Comment In: [Blog - 09/27/2017 - 10:28]

Interesting questions I 'll do ...

Interesting questions I 'll do my best to answer: r n r n Modifications to the PR can be a whole range of things: coding standard violations, spelling errors, inefficient algorithms, incomplete documentation, missing const, etc. I 'd say the most serious ones were the ones where a concept or ...

Comment In: [Blog - 06/26/2017 - 11:24]

Yes, it 's true that ...

Yes, it 's true that the last code doesn 't let us distinguish between a non-existing bone and a bone with length zero. But there are cases where we don 't need to make that distinction. If we do, we can write the slightly more cumbersome code that checks the ...

Comment In: [Blog - 05/17/2017 - 10:18]

You could do everything with ...

You could do everything with source code and static linking, but that creates other problems. It means that in order to add new functionality a plugin to the product, I need to have a development environment setup and recompile the application. We envision a setup where for example an artist ...

Comment In: [Blog - 04/25/2017 - 10:30]

I use those three, but ...

I use those three, but not much more. I prefer working in pure text editor rather than Visual Studio mostly because I find it gives me better focus -- I see the code and nothing else. Visual Studio Code and Sublime Text are nice too.

Comment In: [Blog - 04/19/2017 - 10:30]

The reason why we are ...

The reason why we are using C style interfaces to our systems is not primarily about reducing compile times, but for a number of other reasons: r n r n We want to allow API users to write C and not force them to use C . r n We ...