Re: Best Programming language for Network programming (serious server application



On May 24, 10:05 pm, Matthew Hicks <mdhic...@xxxxxxxx> wrote:
First of all, before you start a fight between C++ and Java fans, which one
is faster is inconsequential to your application. The reason is that Java
is not well suited at all for real-time applications. One reason, the garbage
collector. In fact, for truely real-time apps, your best option is C and
assembly. Reading your post, I think that you really don't understand what
real-time is especially as it concerns your system. Maybe some background
reading on the subject would be helpful. Once you do that reading, you will
probably come to the conclusion that what you want to develop is a system
that maintains soft real-time (bounded response times) performance in the
face of at most XXXXX clients (asynchronous tasks) with YYYY resources available.
This may mean that you need a real-time operating system (RTOS), if you
are pushing the limits of your hardware.

By the way, you can increase the amount of memory that the Java VM will have
access to so your heap won't fill so quickly.

---Matthew Hicks

My intention was never to start a fight between C++ and Java fans.
Apologies if it seemed to be so...
I correct myself in accepting that it is not a Real-Time application
in true sense. I accept i m not geek. By real-time I meant real fast
response time. C and assembly may give me that performance but then
assembly shall be an overkill i guess. Is it really required to go to
that low-level? As I mentioned that code maintainability shall also be
an issue and that is the main reason of my confusion over the choice
Java and C/C++. Suggestions on this shall really very much appreciated.

.



Relevant Pages