Sockets What Language would you choose

Questions about programming languages and debugging
Post Reply

Sockets What Language would you choose

C/C++
6
86%
Python
1
14%
 
Total votes: 7

User avatar
maboroshi
Dr. Mab
Dr. Mab
Posts: 1613
Joined: 28 Aug 2005, 16:00
15

Sockets What Language would you choose

Post by maboroshi »

(Assuming basic proficiency in both) What language would you prefer to write low level socket code in...

Options Are Python or C

and why

The reason why Im asking this I have a pretty strong knowledge of Python and enough proficiency in C and need assistance in what would be more efficient and have more control between the two

ty

Cheers Maboroshi

User avatar
FrankB
Ph. D. in Sucko'logics
Ph. D. in Sucko'logics
Posts: 315
Joined: 06 Mar 2006, 17:00
15
Location: Belgistahn
Contact:

Re: Sockets What Language would you choose

Post by FrankB »

Maboroshi wrote:(Assuming basic proficiency in both) What language would you prefer to write low level socket code in...

Options Are Python or C

and why
Python is not low-level enough, it is pretty eccletic for sockets.
While C/C++ has standard, fully compliant IO (Input[mport]/Output) Socket handlers.
The plus : C++ sockets have neat useable namespace s :
#include <iostream>,<iostream>;<WinSock2.h>, etc..
and the general class "Socket"->SocketClient, SocketServer.
Plenty of toys to play with.

I don't think Python is that widely portable or i must be completely wrong or the language has seriously developed (i have not my Python knowledge up-to-date neither ;-)

HTH
--FrankB
n00b X

Post Reply