Answer the question
In order to leave comments, you need to log in
Would knowing C++ help?
Good evening, I am new to this business, but I did not find the answer to some questions on the Internet.
Answer, please:
1) Knowledge of c++ helps in the web. programming?
2) Will the algorithm for writing a server in C++ be the same as in Java or Node.js?
3) Why is C++ in the first place in importance for protection or hacking if they are going to protect or hack something written in other languages?
4) Why is it said that Java is slow and some games are written in it, and not in C ++?
And, if you don’t mind, tell me where you can find a good tutorial or an article with information about the server part, where you can read from creating the foundation, requesting the server and checking its operation, to where we already make a serious kid out of it on which we can keep facebook?
Answer the question
In order to leave comments, you need to log in
1. No, knowledge of a specific language (C++) does not help much in this area.
2. You are trying to compare warm to soft. Node.js in the context of the question can be considered as a set of ready-made solutions, something like a standard library (it is extremely incorrect to say so, but oh well), with the help of which you can build a simple server in Javascript in a few minutes. In C++, you either need other off-the-shelf solutions, or you have to write everything from scratch at the lowest level. This question is quite complicated and requires a little more than knowledge of any one language.
3. The question is not entirely clear, but most likely they meant the fact that what is written in C ++ is executed on hardware, in Java - in its virtual machine, in Javascript - by its interpreter. Accordingly, to break something, intentionally or accidentally, and to realize how what kind of attacks work is easiest in C ++ (meaning something like a buffer overflow).
4. Java is slow because see the previous point. For the same reason, Java is easier to port from platform to platform. For games it is very useful.
In general, I agree with the answer given above - learn technologies and algorithms.
Write a server in C++? If you are using Apache or Nginx as a server, then they are already written in C. Like many other lesser known web servers.
javascript is already used to create the site. The site is running on the server. The server is written in C. (I can be wrong, I’m not friends with the web, except that I created a proxy server)
Of course, you can create a site in C / C ++ right in the server code (I have seen such implementations when the site page is created right inside the server code), but it will be much less flexible than using modern web-specific scripting languages.
All points are INCORRECT!
"Serious kid" - this is your brain and logic, and you before this "kid" - like the moon.
Learn technologies and algorithms !
And languages are just tools for automating them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question