Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 21 Feb 2008
Offline Last Active Today, 07:31 PM

Topics I've Started

Why high level languages are slow

15 April 2015 - 05:16 AM

Found this article and thought I should share this with you guys:


Profiling tools

29 January 2015 - 05:12 PM

I am trying to find CPU profiling tools for windows that work like VTune, Razor CPU, SN Tuner, or PIX for Xbox 360/Xbox One. Now all of these are propriatary tools and cost shit loads, not to mention require special hardware like devkits.


I know of Code Analyst and Code XL, however I am running my tools on an Intel chip so they wont give me much information than a timeline over the whole process duration. I want a bit more fine grained control I would prefable like something that I can instrument from code, so I can tell it where a frame swap would happen for example. Also when I had code analyst installed on an Intel machine previously it caused bluescreens due to it wanting to check certain CPU states that offcourse didnt exist. So is CodeXl currently safe for Intel chips?


Whole timeline optimisations only get me so far and only eliminate very hot functions that could have run for a long time, I would like to know where my hot points are per frame.


Are there any good free tools out there for the windows platform?

Disassembly and assembly links

18 November 2014 - 08:41 AM

As I was gathering info on how to learn to read disassembly today I figured I would place the results on here as well for anyone who is interested.


First Up is Alex Darby's series on C/C++ disassembly, he teaches you how to read disassembly by going from C/C++ source code to disassembly generated by the MSVC compiler:



If altdevblogaday ever comes back you can find the whole series there.

Another good series on x64 assmebly are these youtube videos:


He starts from the other direction and shows you how you can call asm code from C++, the reason why you need to do this in a different manner from x86 is because the 64 bit compiler doesnt allow inline asm anymore. There is 65 videos in that link with an average runtime of 15 minutes and covers stuff from simple instructions all the way up to MMX, SSE and AVX.


I hope this information is useful for someone.

Coding a game as a game

30 September 2014 - 02:16 AM

I found this link on the interwebz and it seems like a fun tutorial into several programming by using a game problems. http://www.codingame.com/

Forsaken Code base

07 May 2014 - 04:55 PM