请输入您要查询的俚语:

 

俚语 borrow checker
释义

borrow checker

The difference between neat and correct.

In programming, a borrow checker verifies that pointers are not used in dangerous ways during compilation time to to ensure that memory is managed safely without the need of a garbage collector.

The guarantees it provides ensure the program is correct in it's usage of memory and that no illegal memory access (double-free, segmentation fault ...) is possible (even in multi threaded situation).

Because in the case of rust, it allows writing a more readable code that is always proven to have no memory issues and often resulting in better performances than their C / C++ equivalent, it is believed in the rust community that it will become a common feature for future languages in the software development industry.
- Did you know about 60% of windows internal crashes are caused by illegal memory access?
- Yes, that is because C++ does not have a borrow checker so the windows source code can't be proven to be safe.
随便看

 

英语俚语辞典收录了3210630条英语俚语在线翻译词条,基本涵盖了全部常用英语俚语的翻译及用法,是英语学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/1/24 4:55:42