Java vs Python: Network and GUI code. [networking libraries] [python network]

Q: Any insight? I start to an application that both of these features require design. Id rather write than Java python for a variety of reasons (in search of native UI native compiler, does not require knowledge of the 19 different classes and their methods for each task), but Java seems more standard are available with extensive documentation . .

Any thoughts?


Next Generation Network Marketing Handbook
Re:An opinion based on one thing obviously isn't too useful. ;)

Home Automation & Networking eBook
Re:Originally posted by: dwell
Java + SWT will get you native UI (and speed). I have not seen a decent Python UI myself. Then again I am basing my opinion on the Bitorrent client.

Which one the bitorrent Python client or the bitorrent Java client?

It's probably more based on the mentality of the people that generally use Python vs people that use Java more so then the actual langauge itself. In fact I don't think that the UI interface would be dependant on the language much at all….

Python your more likely to see Unix users and free software buffs, in that case it's function over form…. most of the effort is going to go into underpinnings and technology rather then the user interface. More utilitarian you see. (pluss just plain lazy. Most Linux users are lazy bastards… if the job is done, then the job is done. Why put a bow on it or make it look pretty?)

Were as I am betting that the average java programmer that makes free software (in price and/or freedom) is going to go more for the slick interface to impress people.

Either way doesn't matter as long as it gets the job done.

But that's just the impression that I get.

Plus as far as speed it's all relative.

I can pretty much garrentee you that most people new to Python will make programs that run much faster then people new to Java's programs. Just because it's easier to do a good job when using Python.

Then you have the speed at which you turn out bug-free code. I think that a person can have a easier time cranking out python programs that work correctly then if they were working in Java. (as a end user which would you want more? A slower program that you get on-time and is stable, or a slightly faster program that crashes and/or is late?)

Then when it comes to raw speed as far as performance goes with experianced programmers in both languages then I think that Python can still be faster if you don't program exclusively in python, but call functions that would be written in C for speed-critical parts of the application and then use Python as the "glue" to hold the program together and build the UI. (then there are things like Psycho that you can use that can speed up python programs as much as 5x-10x depending on the type of stuff they do…(mostly repetative mathmatical functions and stuff like that it seems to me))

But like I said, it's all relative. Java definately has it's place.


Social Network Marketing 2.0 – 75% commission
Re:Java + SWT will get you native UI (and speed). I have not seen a decent Python UI myself. Then again I am basing my opinion on the Bitorrent client.

The Social Networking Business Plan
Re:I hate java so I vote for python

though btw, Eve Online is written in C and Python, the engine is mostly C but I think the server is mostly python


Network For Success Business Building Intensive (online
Re:I've heard disgust for wx from quite a few people. One person likes pygtk a lot more, but other than that I dunno what you'd want to do for a gui. You could use tkinter, which is built-in, but that's horribly ugly.

As far as network stuff, what are you looking for? You can use simple c-style stuff like select(), connect(), send(), recv(), etc. The SocketServer module is pretty handy. http://www.python.org/doc/current/lib/module-SocketServer.html

Here are two old hello-world type tests I wrote, I don't even remember exactly what the second one does.

http://incise.org:82/py/serv.python
http://incise.org:82/py/serv2.python


Extra Strength Social Networking – Sale Price
Re:I vote for Python + wxWidgets. (http://www.wxpython.org/screenshots.php)

As long as you use stuff like the OS modules and whatnot you can make any python script or program completely cross platform.

I like it.


NetDepict – 100% Automated Visio Network Drawings
Re:Is this for work? What is the size of it, how much must it scale and so forth.

Related posts

Leave a comment

0 Comments.

Leave a Reply


click to changeSecurity Code

[ Ctrl + Enter ]