Iprojekthi yoMthombo ovulekileyo we-Android ngoku ixhasa iRust yophuhliso lwe-OS

Umhlwa usebenzisa indibaniselwano yexesha lokudityaniswa kokunyanzeliswa kobomi / ubunini kunye nexesha lokubaleka ukuze kuqinisekiswe ukuba ukufikelela kwimemori kuyasebenza, ukuphucula ukhuseleko kwimemori ngelixa kubonelelwa ngokulinganayo ku-C no-C ++.


Ngelixa iilwimi ezikhuselekileyo kwimemori ezinje ngeKotlin kunye neJava ziyilelwe ukusetyenziswa, ukuphatheka, kunye nokukhuseleka kwaye lolona khetho lufanelekileyo kuphuhliso lweapps ye-Android, ayilulo ukhetho kumanqanaba asezantsi e-OS afuna iinkqubo zolwimi ezinje ngeC. , C ++, kunye neRust. Ityala lemifanekiso: Google
  • Ilizwe:
  • eunited States

UGoogle ngolwe-Lwesibini ubhengeze ukuba iProjekthi yoMthombo ovulekileyo we-Android (AOSP) ngoku ixhasa iRust ulwimi lwenkqubo yophuhliso lwe-OS.

isahluko se-aot isahluko 138

Ngelixa iilwimi ezikhuselekileyo kwimemori ezinje ngeKotlin kunye neJava ziyilelwe ukusetyenziswa, ukuphatheka, kunye nokukhuseleka kwaye lolona khetho lufanelekileyo kuphuhliso lweapps ye-Android, ayilulo ukhetho kumanqanaba asezantsi e-OS afuna iinkqubo zolwimi ezinje ngeC. , C ++, kunye neRust.

Nangona kunjalo, kwiilwimi ze-C kunye ne-C ++, umphuhlisi unoxanduva lokulawula ixesha lokugcina inkumbulo kwaye kulula ukwenza iimpazamo xa usenza oku, ngakumbi kwiikhowudi zekhowudi ezintsonkothileyo nezineenkcukacha ezininzi. Kulapho iRust uza emfanekisweni.

Umhlwa usebenzisa indibaniselwano yexesha lokudityaniswa kokunyanzeliswa kobomi / ubunini kunye nexesha lokubaleka ukuze kuqinisekiswe ukuba ukufikelela kwimemori kuyasebenza, ukuphucula ukhuseleko kwimemori ngelixa kubonelelwa ngokulinganayo ku-C no-C ++.

Kwelinye icala, i-C kunye ne-C ++ ayiboneleli ngezi ziqinisekiso zokhuseleko kwaye ifuna ukubekwa bucala iyanceda ukoyisa ukusikelwa umda kwezi lwimi njengoko ithomalalisa uxinano lweebugs ngaphakathi kwekhowudi, ikonyusa ukusebenza kwe-sandboxing yangoku kwaye iyanciphisa iimfuno zebhokisi yesanti, ivumela ukwaziswa kweempawu ezintsha ezikhuselekileyo kunye nokukhanya kwezixhobo.

Indoda enye yenqindi yexesha le-3 umhla

Ngaphandle koko, umhlwa kuphucula ukuchaneka kwekhowudi ngokuphucula uluhlu lwezinto ezithile zolwimi ezinjengokhuseleko lwenkumbulo, idatha yedatha, ukuphatha impazamo engcono kumathala eencwadi asemgangathweni, ukuphatha amanani apheleleyo akhuselekileyo kunye nokuqalisa okungafaniyo.

Ukongeza ulwimi olutsha kwiqonga le-Android ngumsebenzi omkhulu. Kukho izixhobo zokusebenza kunye nokuxhomekeka ekufuneka kugcinwe, ukuvavanya iziseko kunye nezixhobo ekufuneka zihlaziyiwe, kunye nabaphuhlisi ekufuneka beqeqeshiwe. Kwiinyanga ezili-18 ezidlulileyo, besidibanisa iRust Inkxaso kwiAndroid Open Project Project , kwaye sineeprojekthi ezimbalwa zokuqala zabantwana esiza kuthi sabelane ngazo kwiinyanga ezizayo. Ukulinganisa oku ngaphezulu kwe-OS yiprojekthi yeminyaka emininzi, 'uGoogle utshilo.