Why does Windows not have built-in Perl, Python, and other programming language environments?

Source: Internet
Author: User
OSX and most Linux distributions have built-in Python, Perl, Ruby and other programming language environments. it is a good thing for developers and common users. developers have many choices when writing programs, there is no need to worry about finding a replacement for the language environment on the target machine, and the user can run it directly. O & M personnel can also worry a lot during large-scale deployment of some scripts. Why does Microsoft not do this? Are you afraid of threatening your own products? PS: Microsoft's ScriptCenter also contains Perl, Pyth OS X, and most Linux distributions with built-in Python, Perl, Ruby, and other programming language environments, it is a good thing for developers and common users. developers have many choices when writing programs, so they do not have to worry about finding alternatives without the language environment on the target machine, you can also run it directly. O & M personnel can also worry a lot when deploying scripts on a large scale. Why does Microsoft not do this? Are you afraid of threatening your own products?

PS: Microsoft's Script Center also supports Perl and Python classification.
Powershell, VB Script, SQL and JavaScript
Reply content: One of the reasons is the requirement. For example, FreeBSD has installed perl by default as a system-level component. Later, for various reasons, perl was removed from the system and replaced with awk. Therefore, by default, the latest version of FreeBSD is installed without python or perl, let alone ruby.

Mac OS X and Linux install these languages by default for some reason. Some may be dependent on other software. for example, GNOME desktop is very dependent on python. Some service software depends on perl, while a popular FreeBSD package management system depends on ruby.

In contrast, windows does not have these requirements. It is also reasonable not to install. (FreeBSD is similar to windows.) If Python is built in Windows, when you write a program, take care of Vista. you only need to be compatible with Python 2.5 and consider XP, you must be compatible with Python 2.1 or even Python 1.6. Windows also has many built-in programming environments.
VBScript
PowerShell
These are all. Although Ubuntu is made by Microsoft and comes with python, it does not even have the basic compiling environment of C/C ++, the first thing that can be done after the Codoon installation is to install build-essential.
This shows that, Ubuntu comes with python, not for users to write scripts, but because many modules in the system need to run in the python environment. .
(The Ubuntu Software Center depends on python, because it depends on 2.7, which makes it difficult for me to use 2.6 by default. However, some 2.6 pyc programs need to be run, do you know how awkward it is ?)
Obviously, Windows is not used.
==========
For Linux distributions and Mac OS, it focuses on package management, module separation, and version dependency. When you need to install a software, the underlying modules on which the software depends will be automatically installed.
Windows is a complete installation package. apart from Microsoft's own. Net Framework, Direct X, and other general underlying platforms, most of the software packages the modules they need to install together.
The above two models do not require a bunch of underlying programming languages to be installed in advance.(Is there a target machine? what should I do for large-scale deployment ). This can be said to be two feasible solutions from different directions.
==========
For Linux distributions and Mac OS, many of the software on the platform is contributed by the community, so it is inevitable that it is based on multiple languages.
Windows is developed by Microsoft and the underlying platform is unified, which is its advantage. Windows and Linux are two different styles.

Win: It's easy to use, but it's a little rough in development. Focus on simple operations.
Linux: open-source and diversified. CGI is still very commonly used, and it is inevitable that a variety of script or shell scripts with powerful functions are required.

In contrast, I think Windows provides more "servers ". Linux provides "parts ". For this reason, various "processing plants" (Perl, Python, and so on) are required in Linux ). Of course, each has its own advantages. The whole machine requires more operations for users, while the processing factory requires users to learn a certain design to be handy. The start point of the latter is higher, but after a certain level is reached, the next Linux user will obviously feel a high degree of freedom.

The reason is that it is not built-in. Most of the operations that need to be completed in daily life should already have existing software. a small part of the cyclic operations are almost done by batch processing. Occasionally, you may encounter a development, and the general IDE can also solve the problem. The makefile may be different.

From the perspective of Microsoft's interests, it's not just that. If so many built-in things allow everyone to use these tools and accept the baptism of Unix ideas, how can Microsoft's ecosystem and products be better promoted?

I think that's all I think. This is mainly because no one has built it into it ...... It is not difficult to download an installation package and install it on your own ...... If ScriptHost is installed on Windows, simply go to VBS or JS. Ah, do you like perl/python? M $ doesn't like this? Actually, I'm not sure. I guess.

1. the system is oriented to the masses. windows is originally oriented to the languages of the general public, Perl and Python. it is useless in addition to increasing the system volume. If you are an engineer, it is easy to install it.

2. the Windows system always comes with only its own products. everything from the kernel to the outside is Microsoft's own. In addition, these open source languages are also a closed-source system, it's really awkward. Linux and so on are biased towards Geek, and these languages are also generated on this platform first. They are also open-source software with the same genes.

The above may be all wrong. Because Windows is a GUI system. Basically, GUI applications are developed using c api (Windows API) and. net api @ Li Yao mentioned GUI, which is quite correct.

However, I thought that the problematic real (cao) quality (dian) could be further improved --

Because Windows's GUI is not home-ready, you have to draw a line with "command line.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.