Answer the question
In order to leave comments, you need to log in
Choosing a Script Language
Good evening!
Help, please, with the choice of a scripting language for the following purposes (all operations will take place on Windows):
1. working with files:
- searching for files in a folder;
- launch applications with certain commands;
— changing the date and time of file modification;
2. working with test files:
3. downloading files via the Internet;
4. performance and resource intensity.
To be honest, I have two variants of Lua and JavaScript.
Answer the question
In order to leave comments, you need to log in
You can’t look at Python yet, there are either many different good ones, they can come in handy, and it’s easy to learn.
Powershell. All the power of .net in lightweight little scripts.
Without a moment's hesitation, I would choose PERL.
Sooner or later, regular expressions will be required, but PERL, IMHO, is the coolest.
Well, working with files and directories is a pleasure.
Suddenly PHP. All this is there, even in several threads it can be launched with a certain method (for example, by calling several scripts from the launcher). Networking is also good. Once, a very long time ago, I made a search engine for FTP servers in hostel locales, there were also several streams there.
Can run in a single php.exe file (no need to force users to install it). One script can run for days on end (I'm talking about memory leaks).
Easily extendable with C functions.
Much faster than Lua (to be precise, compared only with LÖVE).
Full of extensions for working with files, network, external languages, WinApi.
Both options are good, Lua is easier to integrate into the application, JavaScript is more people who own it, unlike Lua.
I vote for Python. The language of the maximum start, logical, learning it is a pleasure.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question