Quote:
Originally Posted by Smaehtin
That's probably some of the dumbest things ever said here on epvp by someone who's not completely retarded
|
Is that so? Since you did not really provide any feedback on a specific point I argued, I'll back both.
So long as the thing you are working is not going to ever be public, then why bother making it look nice? or having some weird names just so others could understand what you actually use a specific class for?
As for the C# and the control you have over the application you create, please show me exactly how you can use the ThreadPool provided by .NET or even abandon the GarbageCollector. Obviously when writing a server the performance counts so, since you say that you can control everything in C# please tell me why do you use the thread pool provided by .NET without even reading any documentation on it? (Probably because you can't avoid it since it's the part of the .NET platform.) You obviously don't know that when the thread pool has some priority items in the queue it will suspend some of threads so the priority item gets done as quickly as possible, and it is recommended not to change the priority of the threads that are used by the thread pool because then you might end up your application crashed.
On the other hand, with C++, your application runs on the threads(or threadpool you chose) and so you don't end up with threads being suspended whenever someone thinks so.
As threading is kinda the most important part of the server, using the ThreadPool provided by .net you don't actually have control over the threads your application uses. (That is if you don't create other threads on your own.)