Vim 9.0 has just been released

After many years of incremental improvements, Vim is taking a big step with a major release. In addition to many small additions, one is coming of the Vim script language. the Vim9 script:

vim

Why is a new script language needed? Το Vim script μεγαλώνει με την πάροδο του χρόνου, διατηρώντας παράλληλα τη συμβατότητα προς τα πίσω. Αυτό σημαίνει ότι οι όλα τα κακώς κείμενα του παρελθόντος δεν αλλάζουν γιατί κάτι τέτοιο μπορεί να έχει επιπτώσεις στην συμβατότητα. Αυτό περιόριζε τις πιθανές λύσεις βελτίωσης του Vi, με αποτέλεσμα η εκτέλεση του να είναι αρκετά αργή, αφού κάθε γραμμή έπρεπε να αναλυθεί κάθε φορά που έτρεχε η .

The main goal of the Vim9 script is to drastically improve performance. This is achieved by compilation σε εντολές που μπορούν να τρέξουν αποτελεσματικά. Έτσι αναμένεται αύξηση της of execution from 10 to 100 times. A secondary goal was to avoid Vim-specific commands and move closer to commonly used programming languages ​​such as JavaScript, TypeScript, and Java.

But performance improvements can only be achieved if they are not 100% backwards compatible. For those who have a large collection of legacy scripts: Don't worry! They will continue to operate as before. There are no plans to stop supporting legacy scripts. There will be no dramas like with the Python 2 deprecation.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.083 registrants.
Vim, script language, iguru

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).