Answer the question
In order to leave comments, you need to log in
Which programming language to choose to learn with a minimum entry threshold for writing a TCP server?
Gentlemen, I am not a programmer in the truest sense of the word, I consider myself to be an amateur. I know a little php, which I use not only in web programming, but also in UNIX server administration scripts. Somehow it happened ...
Now the task is to write a TCP server, which requires approximately the following functionality:
1. Working with the file system (creating, deleting files and directories)
2. Working with the database (mysql)
3. Performing telnet requests
Finally, the code must be compiled to run under UNIX and listen for client connections on specific ports.
Not a holivar for the sake of which language is better, but there are a lot of them that make your eyes run wide, but still.
For example, from what Google gave out, some people do not recommend learning C ++ if you are not going to write applications at the driver level and so on. There were recommendations to look towards Haskell. Heard about languages like python and ruby. Perl and Bash do not compile, we do not consider them. I don’t have anything personal against Java, but in my entire life, everything I saw on it was very slow, or I was so lucky with iron, I don’t know.
Please share your experience and advice. If possible, then briefly why this language, what is the plus in your opinion. Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Take python, Gevent, Flask with sqlalchemy and don't bother.
You need to use the latest PyPy for gevent, otherwise there are no special nuances.
PS Don't forget about MVC and user input filtering.
python and ruby. Perl and Bash do not compile, we do not consider them.
Why a socket server? There are a large number of ready-made libraries, both for writing a server and for writing clients. Describe your task in a little more detail - what are the clients? What does "Performing telnet requests" mean?
If not for the sake of holivar, then FreePascal + INet is very suitable for you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question