Re: Between C and Java - which is easier for writing networking software



On Mon, 28 Jan 2008 23:57:55 -0600, subramanian100in@xxxxxxxxx, India
wrote
(in article
<c1dacc1f-c37c-4370-8850-2790ae997f5b@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>):

On Jan 29, 12:47 am, user923005 <dcor...@xxxxxxxxx> wrote:
On Jan 28, 9:41 pm, "subramanian10...@xxxxxxxxx, India"

<subramanian10...@xxxxxxxxx> wrote:
I have good programming skills in C and C++ in the application
software development.

Now I want to learn TCP/IP networking, network management and practice
writing some networking and network management applications.To try
this, which language - between C and Java, is easier. Which of these
two languages has features that are easy to learn ?

It depends on what you are trying to write.

If you are trying to write a TCP/IP stack, then C or C++ makes sense.
If you are writing an HTTP client, then Java would make more sense.

For writing network management software, which one of C and Java shall
be chosen.

For writing low-level instrumentation of managed systems, devices and
peripherals, you would likely use C instead. Since you say you already
now C and C++ but not Java, learning network development in language
you already know might make sense, instead of trying to learn two new
things simultaneously.

If you want to write a GUI application to use to manage a network,
which connects via TCP/IP to the instrumented devices on the network,
then either Java, C++ or a browser-based approach would make more sense
than C. All have been used in the past for this purpose.



--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw





.



Relevant Pages

  • Re: choosing a teaching language, was Java compiler courses
    ... immediately understand how to use a language for writing programs. ... using powerful libraries ... C or Java? ...
    (comp.compilers)
  • Re: assert-like debug { /* code */ } feature?
    ... But if you're writing about some language other than Java, ... expression whose type is int and whose value is 1. ...
    (comp.lang.java.programmer)
  • Re: C# vs. Java
    ... Codewise, they are very similar, but C# is a superior language. ... Operator overloading is a huge improvement, in my opinion, over Java ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: is it possible that instruction re-ordering cause problems?
    ... threads using regular "var = expression;" statements, then, YES, you can get into big trouble. ... Some high-level languages, Java for example, has a threading models specified by the language; others, like C, doesn't; in that sense, writing in C is like writing in assembly -- it's theoretically system-dependent how things behave. ...
    (comp.lang.asm.x86)
  • Re: (Un)compatibility between files generated from C++ and Java
    ... In Java for instance integer type takes 4 bytes, ... > so when writing in a language and reading the generated integer file ... always writing integers the same way. ...
    (comp.lang.java.programmer)