Spook.js, nzira nyowani yekushandisa kushomeka kweSpecter muChannel

Boka revaongorori kubva kumayunivhesiti eAmerica, Australia neIsrael akataura izvozvo yakatsanangura nzira nyowani yekurwisa iyo inobvumidza kushandisa kusagadzikana Specter kirasi pane Chromium-inofambiswa mabhurawuza.

Kurwiswa kwacho, codenamed Spook uye kuverenga zvirimo munzvimbo yese yekero yemaitiro azvino, ndiko kuti, kuwana iyo data yemapeji anoitwa mune mamwe ma tabo, asi ayo anogadziriswa nenzira imwecheteyo.

Sezvo Chrome ichivhura nzvimbo dzakasiyana munzira dzakasiyana, kurwisa kunogumira kune masevhisi anotendera vashandisi vakasiyana kuti vatore mapeji avo. Maitiro ekurwisa eSpook.js anoita kuti zvive nyore kubva papeji iro anorwisa anogona kupinza kodhi yake yeJavaScript, sarudza kuvepo kwemamwe mapeji akavhurwa nemushandisi weiyo saiti uye kubvisa ruzivo rwakavanzika yavo, semuenzaniso, zvitupa kana ruzivo rwebhangi rwakatsiviwa necompocomplete system mumafomu ewebhu.

Kumwe kushandiswa kwenzira iyi kurwisa kwema plugins, iyo inobvumidza, kana plug-in inodzorwa nemurwisi yaiswa, kutora data kubva kune mamwe ma plug-ins.

Spook.js inoshanda kune chero browser kubva paiyo Chromium injini, kusanganisira Google Chrome, Microsoft Edge, uye Brave. Vatsvagiri zvakare vanotenda kuti nzira yacho inogona kuchinjika kuti ishande neFirefox, asi sezvo injini yeFirefox yakanyanya kusiyana neChannel, basa rekugadzira kushandisa kwakadai rakasiiwa kune ramangwana.

Kuchengetedza kubva pakurwiswa kunoenderana nekufungidzira kuitiswa kwemirayiridzo kuburikidza nebrowser, kero nzvimbo segmentation inoitwa muChannel: sandbox kusarudzika inobvumira JavaScript kuti ishande chete nemakumi matatu-matatu mabhii uye inogovera ndangariro yemutongi mune isingazadzike 32GB masaga.

Kuti urongedze kupinda kune yese kero nzvimbo yeichi chiitiko uye kudzivirira iyo 32-bit kukamurwa, ivo vaongorori vakashandisa iyo mhando yekuvhiringidzika nzira, iyo inobvumidza iyo injini yeJavaScript kugadzirisa chinhu chine mhando isiriyo, ichiita kuti zvikwanise kuumba 64-bit kodhi yakavakirwa pamubatanidzwa wemaviri 32-bit kukosha.

Musimboti wekurwiswa ndeyekuti nekugadzirisa chinhu chakasarudzika chakaipa muinjini yeJavaScript, mamiriro ezvinhu anogadzirwa anotungamira mukufungidzira kuitiswa kwemirairo inowana iwo marongero. Chinhu chinosarudzwa nenzira yekuti minda inodzorwa nevanorwisa iiswe munzvimbo munoshandiswa 64-bit pointer.

Sezvo mhando yechinhu chakaipa isingaenderane nerudzi rweakarongedzwa ari kugadziriswa, pasi pemamiriro akajairwa zviito zvakadaro zvakavharirwa muChannel neiyo deoptimization mashini yekodhi inoshandiswa kuwana iwo arrays. Kugadzirisa dambudziko iri, iyo Type Confusion yekurwisa kodhi inoiswa mu "if" mamiriro ane mamiriro, asingatsve pasi peyakajairika mamiriro, asi inomhanya nenzira yekufungidzira, kana processor isina kufanotaura mamwe matavi.

Nekuda kweizvozvo, processor inofungidzira inowana iyo yakaburitswa 64-bit pointer uye inodzosera nyika mushure mekuona fungidziro yakundikana, asi maratidziro ekuuraya akaiswa mune yakagovaniswa cache uye inogona kudzoreredzwa uchishandisa nzira kuona zviri mukati meiyo cache kuburikidza neyechitatu- pati dzepati, kuongorora shanduko munguva yekuwana kune yakachengetwa uye isina-cached dhata.

Kuongorora zvirimo mune cache mumamiriro ekushomeka kwakaringana kwetimer inowanikwa muJavaScript, nzira yakatsanangurwa neGoogle inoshandiswa iyo inonyengera iyo Tree-PLRU cache dhata yekudzinga dhata inoshandiswa mumaprosesa uye inobvumira, nekuwedzera iwo manhamba enhamba, ku zvakanyanya kuwedzera musiyano wenguva muhuvepo uye kusavapo kwemutengo mune cache.

Vatsvagiridzi vakaburitsa prototype inoshandisa iyo inoshanda muChannel 89 en masisitimu ane Intel i7-6700K uye i7-7600U. Iko kushandisa kwakasikwa kuchishandiswa prototypes yeJavaScript kodhi yakamboburitswa neGoogle kuita Specter kurwisa.

Pakupedzisira vaongorori vanotaura izvozvo yakakwanisa kugadzirira mashandiro ekushandisa masisitimu akavakirwa paIntel uye Apple M1 processor, iyo inopihwa mukana wekuronga kuverenga kwendangariro kumhanya kwema500 byte pasekondi uye kurongeka kwe96%. Maitiro acho anofanirwa kuve anoshanda kune AMD processor, asi zvaisakwanisika kugadzirira zvizere zvinoshanda.

mabviro: https://www.spookjs.com


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa. Raida minda anozivikanwa ne *

*

*

  1. Inotarisira iyo data: Miguel Ángel Gatón
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako