LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Is Python a good choice for writing a browsing proxy server? (https://www.linuxquestions.org/questions/programming-9/is-python-a-good-choice-for-writing-a-browsing-proxy-server-698950/)

SnapCrakllPop 01-21-2009 02:56 PM

Is Python a good choice for writing a browsing proxy server?
 
I've been programming in C++ for a couple of years now. I basically picked it up as my first language for the sake of knowing the "industry standard" for game programming. However, I've been wanting (for a while now) to pick up either Perl, Ruby, or Python. After doing my research I've landed on Python. (but I'm still open to persuasion ;)) Anyway...I needed a project to get me started. When learning C++ I had the help of my high school's IT guy. He assigned me projects that he thought would help me toward my goal. So he had me write a screen saver that displayed content from the school's RSS feed. The idea that's come to mind is a proxy server that can be privately used by me and my friends at school. We're pretty dedicated gamers and enjoy doing our game-research after finishing all of the assignments in Computer Repair (what a joke...). So, would Python be a good choice for writing this? or would Perl/Ruby be better?

Thanks in advance,
Snap

Hko 01-21-2009 04:06 PM

I was in the same boat few years ago. Knew about C and C++, wanted to learn a language "between C and shell".

At that time I didn't know about ruby's existance. I chose python over perl, which I would still do again no doubt. But I still know little more about ruby than that it exists. From what I saw about it, it looks OK. But knowing python now I don't feel there's no point to learn ruby anymore.

As for a proxy server I'm sure it is possible to code one in python. But intuitively I think C/C++ would be more suitable for a proxy server than either perl/python/ruby. But don't take my word for that. I could be wel wrong about that.

I know little about proxies, but I do know good open source proxies already exist. Why code one yourself? It won't be easy in any language to make a good one.


All times are GMT -5. The time now is 03:14 PM.