pizza4ever
Lt. Commander
- Registriert
- Apr. 2009
- Beiträge
- 1.711
Also sorry, bei allem Für und Wider. Die meisten Sprachen haben ihre Daseinsberechtigungen und sind auf ihre Anwendungsgebiete hin spezialisiert. Und das ist ein skriptsprachen Problem und die Tools sind einfach deutlich geeigneter zum schnellen Entwickeln und Testen als kompilierte Sprachen.
Gründe sind u.a. schneller Entwicklungs und Debugging Möglichkeiten, kein separates Aufbewahren vom Code, darauf hin optimierte Libaries usw usw
Mir fällt dazu folgender Eintrag von Stackoverflow ein:
https://stackoverflow.com/questions/9343413/vbs-vs-powershell-which-is-lighter
Gründe sind u.a. schneller Entwicklungs und Debugging Möglichkeiten, kein separates Aufbewahren vom Code, darauf hin optimierte Libaries usw usw
Mir fällt dazu folgender Eintrag von Stackoverflow ein:
https://stackoverflow.com/questions/9343413/vbs-vs-powershell-which-is-lighter
There is a conservation of work principal going on here. If the machine does less work, then you have to do more work. If the machine does more work, you have to do less work.
Our philosophy with PowerShell was that the most important resource was the Admin's time and attention so we spend machine resources to deliver the best possible experience. So if you are looking for the lightest possible footprint on the machine, you should code it in 'C'. C++ is heavier than that and VBS is even heavier, and C# is even heavier, and they are lighter than PowerShell. Of course each one also requires more effort to produce a solution than PowerShell.
So the end of the day, what you end up with is a continuum of choices and what you need to do is decide what is the right tool for the problem at hand. We understood that from the beginning so we designed PowerShell to provide a smooth glide path to C# => C++ => C. This allows you to start with PowerShell and if it is too heavy, you can transition to another language without having to start over from scratch like you do with PERL => C.
Zuletzt bearbeitet: