What is the difference between Linux and Windows? What is the difference between common programming languages?

The difference between Linux and Windows
(1). The cost of use is different.
Linux is an open source project, so it is free for programmers to use,

​ And Windows is a system that needs to be purchased. The latest genuine Windows system currently sells for 888 yuan.

(2). Suitable for different objects.
Linux is suitable for enterprise server system architecture, while Windows is suitable for public use.

(3). Different operating styles
​ Windows is for the masses, so the operation is more in line with the operating habits of ordinary people, and most of them are operated through the interface.

​ And Linux needs to operate through the command line in many cases.

Learn windows: Anyone who has been online can give you pointers. Learning Linux: Haha, self-study is a bit difficult, reading books or watching series of videos.

(4). Different supported software
​ Because of the large number of users, Windows-supported software has advantages over Linux in terms of quantity and quality.

​ The Linux platform is only maintained by developers and lacks a large amount of financial support, so the quantity and quality of software are relatively lacking.

(5). The file format is different​ The
kernel of the Windows operating system is NT, while Linux is the shell.

(6). Different security
​ Windows systems often become the target of *** and viruses, so it is necessary to install some security software to protect the security of the computer.

​ Compared with Windows, Linux is much safer. Using Linux does not need to install additional security software.

(7). Different customizability
​ Most of the operating range of Windows has been restricted by Microsoft, so basically the user can only operate according to the rules of how the system is set up.

​ And Linux provides higher customization, it supports developers to define their own operating system through coding.

(8). Program portability is different
​ Windows program portability is poor, and the program is basically incompatible with Linux.

​ And the portability of Linux programs is good, not only can be transplanted between different Linux, but also can be transplanted to Windows.

(9) Important differences between
linux and windows ①Linux is case sensitive, and windows is not case sensitive under dos interface commands;

②All the contents of linux are saved as files, including hardware and users, while windows files have nothing to do with hardware, and there is no connection between the two;

③Windows uses extensions to distinguish files such as .exe for executable files, .txt for text files, and linux has no concept of extensions. Of course, some extensions such as .gz, .bz2, .tar.bz2 represent for the convenience of administrators. Compressed package, .html, .php represent web files, these are purely for the administrator to see for easy distinction, but linux itself does not have an extension, linux distinguishes files based on permissions

④ The .exe file under windows cannot be installed and run directly under linux. At the same time, most of linux is a character interface, which greatly increases the security of the linux system and reduces the possibility of ******. At the same time, the linux character interface occupies The system resources are less than the resources occupied by the graphical interface under windows.

The difference between common programming languages
C language → the source of all things
Brief description: C language is a language for compilation and execution, and the commonly used compiler under linux is gcc. C language source code can be directly compiled into executable programs (machine code), C language The usefulness of is so great that you cannot imagine it. It is said that it is the source of all things because other languages ​​are written in C language, such as java virtual machine, php interpreter, python interpreter...

Java→
Brief description of the most popular languages : Java’s cross-platform advantages and powerful class libraries are very powerful, and other languages ​​are difficult to surpass. In addition to many peripheral products (such as jsp) derived from Java, many open source systems are based on java ( hadoop, hive, hbase, lucene, etc.), java and c are also compiled and executed languages, the difference is that the bytecode file compiled by java runs on a layer of java virtual machine, and the virtual machine can be set up on various operating systems , So java has the advantage of cross-platform, one place is compiled and multiple places are executed

Python→A
brief description of the language from the future : The power of python lies in its nondescript. It is said that it is interpreted and executed, but it will be compiled into a file. It is said that it is a scripting language, but it has all the properties of object-oriented. Now python is open source The library is already very powerful. It has all functions. A language like glue is talking about Python. It can do everything in web applications, user interaction interfaces, data analysis, statistics, etc.-no matter what the problem is, you can always Find the required framework in Python. Recently, Python has become an important tool for data scientists to filter large data sets.

php→
Brief description of the best language in the world : php is arguably the easiest language to learn

c++ → A
brief description of the language that claims to be the best to find an object : When you need to directly access the hardware for maximum processing power, C++ is the best choice. It is the best programming language for developing powerful desktop software, hardware-accelerated games, and content-intensive applications on the desktop, console, and mobile devices.

Guess you like

Origin blog.51cto.com/7681914/2575770