英文翻译 下面这句话太难懂了。我看了好几次也不太明白什么意思。能给具体的翻译一下吗?我不想在这骂人

英文翻译下面这句话太难懂了。我看了好几次也不太明白什么意思。能给具体的翻译一下吗?我不想在这骂人。但是如果你拿的机器翻译,浪费别人时间的话。我觉得你真的可以去死了。这种人简直就是无耻。It was a great day, to take a concrete example, when C programmers stopped thinking that their servers had to always run as root—which had risked the compromise of the entire machine if something were to go wrong—and instead wrote network daemons that would start up, grab the low-numbered port on which their service lived, and then immediately drop their privileges to those of a normal user. They almost seemed to consider it a contest to see how few lines of code they could leave in the part of their program that ran with root privileges. And this brought about a vast reduction in exposure. Your Python code is the same way: fewer lines of code that run before you have verified the sanity of an input value, or tested for a subtle error, mean that less of the surface area of your program can harbor bugs that enemies could exploit.
2026年09月29日 04:44
有2个网友回答
网友(1):

那真是难忘的一天,举个实例,当C程序员不再想让自己的服务器必须作为基础用户始终运行(冒着整个机器出故障的危险),而是写启动网络运行的后台程序,抓住服务器赖以生存的低编号端口,然后立即把权限丢给一个普通用户。他们看上去就像是进行一个竞赛,看谁能够用最少的代码写出带有根权限的程序的一部分。而这带来的是及其巨大的减少泄密风险。你的Python代码方式是相同的:在运行更少的代码行数之前已经验证了合理的输入值,或者测试一个及其细小的差错,意味着你的程序中敌人可以利用的缺陷表面积就更少。

因为我不是计算机专业的,大致意思不会错,你再根据情况自己修正一下吧!

网友(2):

Overall
comprehensive
求采纳为满意回答。