Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


NightCreature83

Member Since 21 Feb 2008
Online Last Active Today, 03:50 AM

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:

http://sebastiansylvan.com/2015/04/13/why-most-high-level-languages-are-slow/


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:
http://www.gamasutra.com/view/news/128161/A_Low_Level_Curriculum_for_C_and_C.php
http://www.gamasutra.com/view/news/128857/CC_Low_Level_Curriculum_Part_2_Data_Types.php
http://www.gamedevelopment.com/view/news/129645/CC_low_level_curriculum_Even_more_stack.php
http://www.gamedevelopment.com/view/news/165036/CC_low_level_curriculum_Conditionals.php
http://gamedeveloper.com/view/news/169946/CC_low_level_curriculum_Looking_at_optimized_assembly.php
http://www.gamasutra.com/view/news/177155/CC_low_level_curriculum_Loops.php

http://www.gamasutra.com/view/news/184430/InDepth_CC_Low_Level_Curriculum_Part_10_User_Defined_Types.php

 

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

Another good series on x64 assmebly are these youtube videos:
https://www.youtube.com/playlist?list=PL0C5C980A28FEE68D

 

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

https://github.com/ForsakenX/forsaken


PARTNERS