Need some expert opinions...

  • Thread starter Thread starter Twilight
  • Start date Start date
T

Twilight

Guest
Ok, in the general discussion forum there is a thread asking why HL2 was written in C++ instead of C# or .NET or anything else.

I've done a fair bit of programming in C++, but not the other two. I'm pretty sure C++'s speed and versatility and so on would make it best, but thought I would let you guys here see this thread.

Go post in it and set them straight. (By the way, this is NOT my thread).

Here's the thread:

http://www.halflife2.net/forums/showthread.php?s=&threadid=12509&perpage=15&pagenumber=1

Thanks,

Twilight
 
well one reason might be that they started almost 5 years ago (i dont know exact date).

how longs has .NET been available? i was using the .NEt beta2 in 2001 at Uni ( i tihnk thats when it was released for sale ) so they would have been at least 2 years in development befor .NET was at a stable release. (beta was quite stable tbh)

another reason for it could be gargbage collection. .NET CLR manages all this, but in its own time. I imagen such complex programs would need to release resources more frequently. I dont know if its possible or easy to force garbage collection.

there are also more layers inbetween ur programming and the machine code that gets stuck thorugh the CPU. Cant be most effiecent for any game.

Jamoe
 
Back
Top