Sakin beta na farko na Arti, aiwatar da Tor a cikin Rust

Masu haɓaka hanyar sadarwar Tor da ba a san su ba sun gabatar da sakin beta na farko (0.1.0) na aikin Arti, wanda ke haɓaka abokin ciniki na Tor da aka rubuta cikin Rust. Aikin yana da matsayi na haɓakar gwaji, yana bayan aikin babban abokin ciniki na Tor a cikin C kuma bai riga ya shirya don maye gurbinsa ba. A watan Satumba an shirya don ƙirƙirar saki 1.0 tare da daidaitawar API, CLI da saitunan, wanda zai dace da amfani da farko ta masu amfani da talakawa. A cikin gaba mai nisa, lokacin da lambar Rust ta kai matakin da zai iya maye gurbin sigar C gaba ɗaya, masu haɓakawa sun yi niyya don ba Arti matsayin babban aiwatar da Tor kuma su daina ci gaba da aiwatar da C.

Ba kamar aikin C ba, wanda aka fara tsara shi azaman wakili na SOCKS sannan kuma aka keɓance shi da sauran buƙatu, an fara haɓaka Arti a cikin nau'in ɗakin karatu na zamani wanda za'a iya amfani dashi ta aikace-aikace daban-daban. Bugu da ƙari, lokacin haɓaka sabon aiki, ana la'akari da duk abubuwan da suka faru na ci gaban Tor, wanda zai guje wa matsalolin gine-ginen da aka sani kuma ya sa aikin ya zama mai sauƙi da inganci. Ana rarraba lambar a ƙarƙashin lasisin Apache 2.0 da MIT.

Dalilan sake rubuta Tor a cikin Rust shine sha'awar cimma babban matakin tsaro na lamba ta amfani da yaren da ke tabbatar da amintaccen aiki tare da ƙwaƙwalwa. A cewar masu haɓaka Tor, aƙalla rabin duk lahanin da aikin ke kula da shi za a kawar da su a cikin aiwatar da tsatsa idan lambar ba ta amfani da tubalan "marasa lafiya". Tsatsa kuma zai ba da damar samun saurin ci gaba da sauri fiye da amfani da C, saboda fa'idar harshe da tsauraran garanti waɗanda ke ba ku damar ɓata lokaci akan dubawa sau biyu da rubuta lambar da ba dole ba.

Daga cikin sauye-sauye a cikin sakin 0.1.0, akwai ainihin daidaitawar APIs masu girma da kuma kawo ɗakin karatu zuwa shirye-shiryen haɗin gwiwar gwaji tare da wasu ayyukan. Daga cikin canje-canjen, an ambaci ƙarin API don ƙirƙirar abubuwan TorClient, gami da ikon ginawa da farawa (bootstrap) a bayan amfani da farko. Bugu da kari, an ƙara sabon babban matakin API don sarrafa kuskure.

Kafin fitowar sakin 1.0.0, masu haɓakawa sun yi niyya don samar da Arti tare da cikakken goyon baya don yin aiki a matsayin abokin ciniki na Tor wanda ke ba da damar yin amfani da Intanet (aiwatar da aiwatar da tallafin sabis na albasa don nan gaba). Wannan ya haɗa da samun daidaito tare da babban aikin C a cikin yankuna kamar aikin cibiyar sadarwa, nauyin CPU, da aminci, da kuma ba da tallafi ga duk abubuwan da suka shafi tsaro.

source: budenet.ru

Add a comment