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!


Stinkfist

Member Since 21 Nov 2012
Offline Last Active Yesterday, 07:23 AM

#5237865 C++ as a scripting language

Posted by Stinkfist on 01 July 2015 - 08:36 AM

Check out http://runtimecompiledcplusplus.blogspot.com/. The code is available at https://github.com/RuntimeCompiledCPlusPlus/RuntimeCompiledCPlusPlus. At least one integration example to an existing game engine can be found http://urho3d.prophpbb.com/topic308.html.
 




#5151136 what happens when std::vector is left empty?

Posted by Stinkfist on 03 May 2014 - 03:29 AM

Typically you want to declare your variables upon the first usage and not beforehand. Also, you don't want to declare an unused variable: this will likely produce a compiler warning and the variable is most likely removed by the compiler optimizations altogether anyways. An empty std::vector will take some bytes of memory, but the exact size depends on the used compiler, STL implementation, and target architecture. F.ex. figures for couple different MSVC implementations can be found here: http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.aspx




#5024081 Version control for begginers

Posted by Stinkfist on 21 January 2013 - 05:32 PM

Simply learn both SVN and Git. I'd highly recommend learning SVN first, due to Git's steep learning curve. SVN will give you a decent understanding of VCSs in general quickly, after which you can hop into more advanced topics. I personally first hated Git when I tried to learn (and am still learning...) it after SVN, but once I got some sort of hold of it, I realized there's no going back (to SVN). As your focus is in making games, you probably end up using SVN more, assuming you will work with not-so-tech-savvy people (artists etc.). If you can, use TortoiseSVN and TortoiseGit - they'll make your life a lot easier.


PARTNERS