Aktualizimi i variantit GNU Coreutils, i shkruar në gjuhën Rust

Lansohet versioni i uutils coreutils 0.0.12, i cili zhvillon një analog të paketës GNU Coreutils, i shkruar në gjuhën Rust. Në përbërje të coreutils përfshihen më shumë se njëqind utilitete, duke përfshirë sort, cat, chmod, chown, chroot, cp, date, dd, echo, hostname, id, ln dhe ls. Në të njëjtën kohë, është publikuar paketi uutils findutils 0.3.0 me implementimin në gjuhën Rust të utiliteteve nga grupi GNU Findutils (find, locate, updatedb dhe xargs).

Si arsye për krijimin e projektit dhe përdorimin e gjuhës Rust përmendet dëshira për të krijuar një implementim alternativ shumë-platformë të Coreutils dhe Findutils, i cili mund të funksionojë gjithashtu në platformat Windows, Redox dhe Fuchsia. Një dallim tjetër i rëndësishëm i uutils është shpërndarja nën licencën e lehtësuar MIT, në vend të licencës kopyleft GPL.

Aktualisht janĂ« plotĂ«sisht tĂ« ekuilibruara me GNU Coreutils implementimi i 88 utilitarĂ«ve. Mungesa tĂ« veçanta janĂ« vĂ«rejtur nĂ« 18 utilitarĂ«, duke pĂ«rfshirĂ« cp, dd, date, df, install, ls, more, sort, split, tail dhe test. VetĂ«m utilitari stty mbetet i papĂ«rfunduar. GjatĂ« kalimit tĂ« grupit tĂ« testeve nga projekti GNU Coreutils, 214 teste janĂ« kryer me sukses, por 313 teste tĂ« analogut nĂ« Rust ende nuk kalojnĂ«. NdĂ«rkohĂ«, intensiteti i zhvillimit tĂ« projektit Ă«shtĂ« rritur ndjeshĂ«m — çdo muaj shtohen 400-470 patches nga 20-50 zhvillues nĂ« vend tĂ« 30-60 nga 3-8 zhvillues njĂ« vit mĂ« parĂ«.

Aktualizimi i variantit GNU Coreutils, i shkruar në gjuhën Rust

Nga arritjet e fundit, vĂ«rehet optimizimi i performancĂ«s — nĂ« gjendjen aktuale, shumĂ« utilitarĂ«, si head dhe cut, tejkalojnĂ« ndjeshĂ«m nĂ« performancĂ« variantet nga GNU Coreutils. Mbulimi i grupit tĂ« testeve Ă«shtĂ« zgjeruar nga 55% nĂ« 75% tĂ« gjithĂ« kodit (objektivi i mjaftueshĂ«m Ă«shtĂ« 80%). ËshtĂ« realizuar refaktorizimi i kodit pĂ«r tĂ« thjeshtuar mirĂ«mbajtjen, pĂ«r shembull, Ă«shtĂ« unifikuar pĂ«rpunimi i gabimeve nĂ« programe tĂ« ndryshme, dhe nĂ« chgrp dhe chown Ă«shtĂ« bashkuar kodi pĂ«r tĂ« punuar me tĂ« drejtat e qasjes. JanĂ« shtuar shumĂ« ndryshime pĂ«r tĂ« pĂ«rmirĂ«suar pĂ«rputhshmĂ«rinĂ« me GNU Coreutils.

Planet the future includes the implementation of the stty utility, continued work on improving compatibility with GNU Coreutils, adding optimizations to reduce the size of executable files, and ongoing experiments with using uutils instead of GNU Coreutils and GNU Findutils in Debian and Ubuntu (one of the main developers of uutils previously worked on a project to ensure the build of Debian GNU/Linux using the Clang compiler). Additionally, work is being done on preparing the uutils-coreutils package for macOS, experimenting with replacing GNU Coreutils with uutils coreutils in NixOS, an intention to use uutils coreutils by default in the Apertis distribution, and adapting the uutils set for Redox OS.

Burimi: opennet.ru

Bli njĂ« hosting tĂ« besueshĂ«m pĂ«r faqet me mbrojtje DDoS, VPS VDS serverĂ« đŸ”„ Bli njĂ« hosting tĂ« besueshĂ«m pĂ«r faqet me mbrojtje DDoS, VPS VDS serverĂ« | ProHoster