gpt4 book ai didi

terminology - 遗留错误复制的术语?

转载 作者:行者123 更新时间:2023-12-04 02:44:23 26 4
gpt4 key购买 nike

出于好奇,有没有人知道在旧系统的新实现中复制错误以保持与依赖错误功能的旧客户端的向后兼容性的术语?如果它包含必须对不正确的行为进行逆向工程以便正确复制不符合规范的内容的含义,我会特别感兴趣。

最佳答案

我认为这包含在“向后兼容性”中。
Joel Spolsky 著名的“API Wars”帖子中关于 Windows 3.1 开发的一个很好的例子:

The most impressive things to read on Raymond's weblog are the stories of the incredible efforts the Windows team has made over the years to support backwards compatibility.

[...]

I first heard about this from one of the developers of the hit game SimCity, who told me that there was a critical bug in his application: it used memory right after freeing it, a major no-no that happened to work OK on DOS but would not work under Windows where memory that is freed is likely to be snatched up by another running application right away. The testers on the Windows team were going through various popular applications, testing them to make sure they worked OK, but SimCity kept crashing. They reported this to the Windows developers, who disassembled SimCity, stepped through it in a debugger, found the bug, and added special code that checked if SimCity was running, and if it did, ran the memory allocator in a special mode in which you could still use memory after freeing it.

关于terminology - 遗留错误复制的术语?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3292416/

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