Microsoftilla on ollut aina ongelmia Windows-koodin tietoturvan kanssa. Yhtiön itsensä mukaan noin 70 prosenttia haavoittuvuuksista on liittynyt siihen, miten koodi käsittelee muistia. Nyt tästä halutaan eroon ja keinoksi on valittu Rust-kieli.

Microsoftin Rust-kokeiluista on vihjattu jo pidemmän aikaa, mutta vasta viime kuussa yhtiö kertoi tarkempia tietoja projekteistaan. Hyper-V-kehitystiimiin kuuluva Adam Burch kertoi blogissaan, miten C++-kielellä aiemmin koodattu komponentti vaihdettiin Rust-koodiin.

Asiasta kerrottiin myös Microsoftin keynotessa RustFest-tapahtumassa Barcelonassa. Burchin mukaan hänen tehtäväkseen annettiin uudelleen koodata yksi alemman tason Windows-komponentti Rustilla, joka on alusta asti suunniteltu nimenomaan käsittelemään muistia ja dataa turvallisella tavalla.

Burchin mukaan Rustin käännin takaa sen, että tuotettu koodi ohittaa muistin käyttöön liittyvät haavoittuvuudet. Tämä antaa koodaajalle palon aiempaa enemmän luottamusta. Kääntimen varoitukset ja virheviestit ovat erittäin hyvin kirjoitettuja, minkä ansiosta myös aloittelevat Rust-koodaajat voivat nopeasti tunnistaa ja ratkaista koodinsa ongelmia.

Burchin mukaan Rustin voi oppia hyvin nopeasti. Kokenut C++koodaaja pääsee sisään kieleen muutamassa viikossa. Verkossa löytyy lisäksi paljon tutoriaaleja, kuinka siirtyä C:stä Rustiin.

Burch myöntää, että helpointa on kirjoittaa Rustilla kokonaan uusia ohjelmistokomponentteja. Vanhan C++-koodin vaihtaminen Rustiin on haastavaa, sillä usein C++-koodissa abstraktiot valuvat tasoilta toisille.

Tämä tarkoittaa käytännössä myös sitä, että Windowsin valtavaa koodimassaa voida kovin nopeasti vaihtaa Rustiin. Burchin mukaan Rust-koodi voidaan aika suoraviivaisesti liittää C++-massaan C:n sovellusbinääriliitäntöjen kautta, mutta tämä on toki työlästä ja vaatii oman proseduurinsa.

ETNtv

Watch ECF videos

TekoÀlyn avulla robotteja voidaan ohjata puheella

ETN - Technical article

Generatiivisen tekoälyn vallankumous, joka tuo chatbotit asiakaspalveluun ja mahdollistaa älykaiuttimien kaltaiset laitteet, on vasta alkua. Sama teknologia, joka ymmärtää ihmisten puhetta, siirtyy nyt robotiikkaan, missä se auttaa kehittämään algoritmeja robottien liikkeiden ohjaamiseen ja politiikkojen toteuttamiseen tärkeiden tehtävien suorittamiseksi.

Lue lisÀÀ...

SOM-ratkaisut ovat lÀÀketieteellisen elektroniikan luotettava tulevaisuus

Lääketieteellinen elektroniikka on yksi nopeimmin kasvavista teollisuudenaloista. Väestön ikääntyminen, erityisesti länsimaissa, ja terveydenhuollon teknologioiden jatkuva kehitys pitävät yllä kovaa kysyntää ja ohjaavat alan tutkimus- ja tuotekehitystä, kirjoittaa Digi Internationalin OEM-ratkaisuista Euroopassa vastaava johtaja Ronald Singh.

Lue lisÀÀ...

LATEST NEWS

NEW PRODUCTS

 

NEWSFLASH

 SPONSORS

 

Etteplan supports customers cross industries in digitalizing their business from requirement specifications to solution development and implementation. With over 30 years of experience, Etteplan has the needed expertise to develop a wide range of industrial applications, from large established companies to start-ups. We deliver complete turn-key solutions containing cross-discipline know-how.

 

CN Rood offers technical solutions in the field of testing and measurement. We aim to remain leaders in that regard. Our customers are often not looking for a product, but for a solution, and we all have the drive to work on that solution. What we love to do most is to continually work on the latest developments in the field of testing and measuring equipment. Now and in the future.

 


EBV Elektronik was founded in 1969 and is one of the leading specialists in European semiconductor distribution. This success is based on the underlying company philosophy, which was developed a long time ago and which still applies today: operational excellence, flexibility, reliability and execution – with the goal of achieving the highest degree of customer satisfaction.

 

Tria is a world leader in the design and manufacture of embedded computing for OEMs. We offer a broad range of off-the-shelf modules to fully customized systems built for our customers. With a global footprint and deep in-house expertise, we support innovators from design to delivery.

congatec is a rapidly growing technology company focusing on embedded and edge computing products and services. The high-performance computer modules are used in a wide range of applications and devices in industrial automation, medical technology, robotics, telecommunications and many other verticals.

 

Mespek was founded in 1989. Our main products are embedded electronic modules, industrial PCs with peripherals, KVM and server management products, as well as wireless solutions for IoT applications.

 

Since 1985, Digi International Inc. (Digi) has been a pioneer in wireless communication, forging the future for connected devices and responding to the needs of the people and enterprises that use them.

 

CVG Convergens is an ICT services company specialized in embedded systems, smart connected products and ICT systems and processes for SME businesses. Our mission is to help our clients, our team, and the society to improve and thrive by providing reliable and sustainable solutions, services, and products by creative and efficient application of technology.

 

BCC Solutions Oy is a Finnish company that, in addition to expert services, offers comprehensive equipment solutions for data transfer and telecommunication networks, as well as their analysis, testing and measurement. We broadly represent the industry's leading brands.

 

Acal BFi has trusted expertise in advanced electronics for 50 years. If you’re in search of a trusted technology solutions partner, your search ends here. Our extensive knowledge, cutting-edge portfolio, and worldwide capabilities are at your service to bring the future into reality.

 





ECF template