Jump to content

  • Log In with Google      Sign In   
  • Create Account

simast

Member Since 18 Oct 2012
Offline Last Active Private

Posts I've Made

In Topic: Is it such possible to create fast games without using C/C++ ?

11 January 2013 - 05:24 PM

Comparing a C/C++ run-time to the Java/.NET framework dependency is a bit too much? The game I am working on has around 7 binary lib dependencies.. And they are all statically linked. The EXE has zero dependencies (other than standard Windows DLLs of course). Heck, it does not even need an installer. The only reason why most of the C++ games require MSVCR DLLs installed are because developers are lazy, don't want to build static libraries themselves for their compiler/MT/MD support and just link with the binary DLL packages they can find on the net.

In Topic: Is it such possible to create fast games without using C/C++ ?

09 January 2013 - 12:55 PM

Personally I think C/C++ is beautiful. You haven't learned programming until you are at the hardware level C/C++ allows you to be at. Still, for a newcomer - learning C++ (or even just C) is a bit overkill. As all the others, I do suggest starting with something more abstracted (Java/Python/C#/you name it).


In Topic: Scripting

02 January 2013 - 12:05 PM

I have just finished embedding Google v8 JavaScript engine in my game. The API is simple and flexible and quite easy (once you get past the basic concepts, such as contexts and Local/Persistent handles). The point is that JSON is a subset of JavaScript so you can employ the same v8 engine for data description (JSON) and scripting (JavaScript).

 

Writing your own scripting language and interpreter in the year of 2013 is just silly. You would be surprised how complicated modern-day scripting virtual machines are. For example, v8 does not interpret anything - it compiles the script directly to machine code. Furthermore, it patches the code on-the-fly optimizing it even further. Theoretically your v8 JavaScript code can run faster than C++.


In Topic: Strange bug in Release mode

31 December 2012 - 02:01 PM

I think there is no need for more code because even if i just add vector declaration (and nothing else) it just crashes my app in Release build, comment it and everything works.

 

I have recently seen some weird things happen when I use templates in VS2012. Have your tried to "Clean" up the .obj files and do a full rebuild of the project?


In Topic: How come many of you prefer to make games from scratch rather than use an eng...

31 December 2012 - 04:12 AM

I like engines. But more importantly, I like well abstracted, stable, flexible libraries. Isn't it great to wake up in the morning and realize there is a new 1.x.x release for one of the libraries you are using? It's like another person on the team did the job while you were sleeping. Same thing applies to engines.


PARTNERS