Home > News content

Microsoft uses just to rewrite the experience of a Windows component.

via:ZDNet     time:2019/11/8 13:12:33     readed:35

In July, we reported“Microsoft is exploring Rust as a security alternative to C and C”According to Microsoft, rust is a programming language that fundamentally considers security. They will try to rewrite various products with rust, because over 70% of the company's security patches have provided memory related errors in the past decade, and rust is the "good medicine" to solve this problem.

Recently, Microsoft revealed how it feels to use Rust instead of C / C to write Windows components. Although it did not specify which products would be rewritten with Rust, Microsoft said it would keep users informed of the progress of the experiment.

Microsoft said that the current experimental work is in good condition, and engineers described it as "fantastic" to use rust. Although some functions are not completed, it will push the project forward.

Adam Burch, software engineer of Microsoft Hyper-V teamBowenChina said:

My task is to perform an experimental rewrite of a low-level system component of the windows code base (which component can't be disclosed at present). Although this project hasn't been completed, in general, the experimental experience in the aspect of rust is very good. It is easy to migrate new components or existing components with clean interfaces to rust.

Although the process of testing rust didn't go well, it would be unrealistic if the expectation went well. Burch pointed out that the security transformation, the security support for C, the accurate allocation and the support for large-scale unit testing are needed by Microsoft's huge code testing infrastructure. Burch believes that Microsoft will try to shape the future of the language to improve its usefulness in these situations.

Burch added that rust has a bright future in microcontrollers and low-level systems such as the kernel and hypervisors, in which the first feature of the language's security, once mature, will make it attractive. At present, in the single chip market, Intel is mainly supporting and promoting, and it is trying to make rust achieve the same function as C.

If Microsoft wants to use rust to rewrite some windows components and become the first operating system manufacturer to do so, it should speed up, because Linux project is also considering using rust in some kernel drivers.


China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments