gpt4 book ai didi

c++ - 什么是 C++ 中的预存读取?

转载 作者:IT王子 更新时间:2023-10-28 23:35:20 26 4
gpt4 key购买 nike

article I saw today谈论 Rust 编程语言(由 Mozilla 开发)以及它打算如何取代 C++。 Rust 被引用的好处之一是缺少预内存读取。引用 Mozilla 首席技术官 Brendan Eich...

"There's no pre-memory reads" in Rust, he said, but there are in C++. Those problems "lead to a lot of browser vulnerabilities" and would be solved by Rust.

有趣的是,目前在 Google 上只有 4 次点击“pre-memory reads”这个短语,所有这些都指的是文章本身。什么是 C++ 中的预存读取,为什么不好?

最佳答案

似乎对文章进行了更正。 corrected quote如下:

He noted that every year browsers fall victim to hacking in the annual Pwn2Own contest at the CanSecWest conference. "There's no free memory reads" in Rust, he said, but there are in C++. Those problems "lead to a lot of browser vulnerabilities" and would be solved by Rust, which is a self-compiling language.

我认为这解释了它。

关于c++ - 什么是 C++ 中的预存读取?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15793236/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com