Re: Python vs C for a mail server
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Python vs C for a mail server

From: al pacino <siddharthdave84@gmail.com>
Date: Sat Jan 28 2006 - 09:24:19 CET

>but i am not able to choose the language.Should i go for C(socket API)

Ravi is right
(>using sockets is more or less the same
from any language.)

..try JSP(java server pages), some guys in nit warangal implemented a
mail server
(foa LAN though)for their minor project.

my contention is that using sockets(in c++) will improve your
understanding of the protocol
suite and improve your programming as well.

Ravi Teja wrote:
> >> Why don't you use an existing mail server?
>
> Probably because that was his homework assignment for a networking
> class. Not uncommon to be told to implement a server from the scratch
> from the RFC. Although that does not explain his concern about
> performance.
>
> Abhinav, if that is the case, using sockets is more or less the same
> from any language. Python as usual will be cleaner than C. You might
> want to look at Twisted Mail. Use SocketServer module in the standard
> library to implement the RFC. Other than that it is silly to try to
> write a Mail Server unless you have some extra ordinary need.
Received on Tue Feb 7 19:59:12 2006