![]() |
Good read Mazex. Maybe Luthier knows this now.:-P
|
Quote:
|
1 Attachment(s)
Quote:
This is my only game attempt from 2005 so I'm really not in a position to criticize CloD ;) It had awesome fps though ;) 500+ if I remember it right... It's a lot easier talking than doing it yourself ;) |
Hmmm. Are you speaking in code???:confused:
Quote:
|
Quote:
and if you have any desire to do any kind of programming for a flight sim try this one..its open source . http://www.flightgear.org/ S! |
Quote:
|
Quote:
The hobby project I'm thinking of now is actually doing a small game in Unity3D as I realized that my last project from scratch was way too much work... And with kids and challenging daytime work as a development manager there is little time left. The dilemma is that at work I haven't done any real programming the last five years so I need my fix ;) For a therapeutic project like that C# will be perfect... Just the logic and no plumbing! /mazex |
Maze i found a nice read you might enjoy
Quote:
heres the whole article http://www.developerfusion.com/artic...t-performance/ |
These points stand out.
"Now here's the rub. Marshalling is computationally expensive, and the more data you move back and forth, the more expensive it becomes. Marshalling data structures one way can add as much as 3,000 instructions to your processing time for complex data. " "By investing a little time early in the development phase, you can ensure that you made the right performance choice and not have to go back and make substantial changes after you have a working application. " Can we call CLoD a case study at this point?:-P Jmho, the author comes across bias to managed mode programming. It's a good article though. Hopefully CLoD coders have access to the tool(s) the author speaks about to optimize the interop. |
Memory leaks can occur in any language, no matter if a garbage collector is present or not. It's comes down to following good coding practices, it's especially important when making interop calls.
For me I have no doubt that CloD is written in C# due to early error messages people were posting after release. Also the only official Microsoft "Direct X" API that operates on .NET is XNA, however this is capped at DX9 so you can safely say that they CloD is making calls to the un-managed version of Direct X which is the current main stream API of choice. Maz is right, interop calls are taxing and I wouldn't be surprised it that has been the main cause of all the issues because I get the "feeling" that this style of programming for a game is still in it's pioneering days. |
All times are GMT. The time now is 12:10 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.