Network programming
-
Go with c#. It's all the rage and is very easy to code in.
In addition, go ahead and make a good binary diff engine built into the file transfer software that way you don't have to transfer entire files over slow links… Do what 2003 R2 does and "binary diff" the difference and only transfer the changed bits.
With that your professors head should spin.
-
Write it in a perl one liner and really piss off the instructor ;-P
Better yet, use ssh and rsync out of a shell script. I know, I know…not the intent of the exercise, but I'm lazy, why re-invent the wheel.
--Bill
-
Write it in a perl one liner and really piss off the instructor ;-P
Better yet, use ssh and rsync out of a shell script. I know, I know…not the intent of the exercise, but I'm lazy, why re-invent the wheel.
--Bill
LOL ;D good one.
I'd probably go with C# as well if its windows only. but since you already know Java I'd go with that if your pressed for time in learning C#. Really its just a matter of preference and which language you feel more comfortable developing in. not sure about those horrible io perf for Java, its speed for network IO is almost comparable to C++. Also I have done network apps in Java before and I wouldn't say they were "slow" (running on 1.4 and 1.5 sdk), here are some performace numbers you can look at http://www.artima.com/articles/io_design_patterns3.html..
C# as Scott said has all the rage for windows, the company I work for is buying heavily into it and porting lots of their legacy stuff to .net using the C# language, I'm literally dreaming C# code to show the extent of the work being done and I must say its a really nice language, especially the new 2.0 platform. I can't say I really notice any performance difference between Java and C++ and C# for IO apps, both Java and C# can and will munch a lot of memory especially for network apps that see a lot of activity, C++ if programmed correctly will be more memory efficient but the development time may stretch longer because if you can't find the necessary libraries to do what you want you may end up spending a lot of time coding them. -
Talked with a friend of mine who graduated while they still mainly taught c/c++/c# here and they said the reason why they didn't do java was cause of the overhead with the language….kinda like those people who would walk around campus with a wheely-bag, a backpack, and a laptop when all they need is book. I'll have to look more into c#, haven't touched it ever but I would assume it's pretty similar to c++.
-
the reason why they didn't do java was cause of the overhead with the language….kinda like those people who would walk around campus with a wheely-bag, a backpack, and a laptop when all they need is book.
Huh? C# and Java are in the same boat in terms of the overhead incurred by their programs. If you talking about a features comparison then C# may have the edge..
-
so I heard lastnight when I was talking to a friend about, started coding in c++.
-
I agree with scott, I'm using .NET every day and it's really powerfull, since you know how to code in Java you will be at ease with C#.
Java has the advantage of runing on multiple OS but windows implementation is still very slow at my point of view…. :-D
-
I have started playing with a new language named D.. its pretty decent in my opinion, the author called it the successor to C++. I'v its still a young langauge but I'm loving its features.
-
I have started playing with a new language named D.. its pretty decent in my opinion, the author called it the successor to C++. I'v its still a young langauge but I'm loving its features.
If you like D, you'll love D-Trace from Solaris :P
-
If you like D, you'll love D-Trace from Solaris :P
LOL..
I think their are a few languages around named D. Sun named the DTrace query language D. But the one I'm referring to is D system programming language from Digital Mars http://www.digitalmars.com/d/. here is a comparison to other languages http://www.digitalmars.com/d/comparison.html. I think this language is perfect for my little hobby projects as it strikes a good balance between power and easy of use. Just need to check if the gcc compiler for Free supports this language, It should.
I havn't gotten around to playing with DTrace but I will one day when the port to Free is complete.
-
As far as I know it uses the "D" language for its scripts. Maybe I am wrong here.
EDIT: http://www.eweek.com/article2/0,1759,1626474,00.asp?kc=EWRSS03129TX1K0000612 (explains that they use the D language)
-
Oh. I can see where the name really cause confusion.
http://en.wikipedia.org/wiki/D_programming_language_%28disambiguation%29
:-\