网易首页 > 网易号 > 正文 申请入驻

Bug明明是虫子的意思,为什么演变成了漏洞?原来科技也有历史

0
分享至

漏洞什么意思?又被翻译带歪了,直到看到英文单词 Bug 我才恍然大悟。

科学技术飞速发展,创造了更多新词汇,外来语也越来越多,世界趋于大同。

1 英语原意

缺陷、漏洞 bug

2 英文解释

2.1 单词解释

1)bug noun (INSECT)

a very small insect

小虫子

范例

  • Hang on - there's a bug in your hair - let me get it out for you.
  • Will this spray get rid of those little black bugs that are attacking my shrubs?

2)bug noun (ILLNESS)

a bacteria or a virus causing an illness that is usually not serious

(引起小毛病的)细菌;病毒

  • I had a tummy/stomach bug last week.
    上周我的肠胃出了点小毛病。
  • There's a bug going around (= an illness that many people are getting).
    有种细菌引起的疾病现正在流行。

3)bug noun (COMPUTER PROBLEM)

a mistake or problem in a computer program

(计算机程序中出现的)缺陷,漏洞

  • A bug caused the company's computer system to crash.
    程序缺陷导致公司的计算机系统崩溃。
3 Why Do We Call Them Bugs?为什么我们叫它们虫子?

The term "bug" predates the invention of computers, and we don't actually know who originally coined the term "bug" to refer to an engineering defect. In written records, historians have traced it back to Thomas Edison in the 1870s at the earliest.

“bug”这个词在计算机发明之前就已经出现了,我们并不知道是谁最初创造了“bug”这个词来指代工程缺陷。在书面记录中,历史学家最早将其追溯到19世纪70年代的托马斯爱迪生。

Edison used the term in his personal notes and correspondence to mean a difficult problem that needed solving or an engineering defect that needed fixing. He even joked about the term being related to insects, writing in an 1878 letter:

爱迪生在他的个人笔记和信件中使用这个词来表示需要解决的难题或需要修复的工程缺陷。他甚至开玩笑说这个词与昆虫有关,在1878年的一封信中写道:

"You were partly correct, I did find a 'bug' in my apparatus, but it was not in the telephone proper. It was of the genus 'callbellum.' The insect appears to find conditions for its existence in all call apparatus of Telephones."
“你说得有一部分是对的,我确实在我的仪器里发现了一个‘窃听器’,但它不在电话里。这是属于callbellum。“这种昆虫似乎在所有电话的通话装置中找到了生存的条件。"

While some take Edison's examples to mean that he coined the term "bug," it's possible that it originated from someone else earlier and that he merely popularized the term among his engineering friends and associates. The Oxford English Dictionary cites an 1889 example related to Edison that describes a bug as a metaphor for an insect crawling into a piece of equipment and making it malfunction, suggesting that a real bug doing just that might have originally inspired the term, similar to the term "fly in the ointment."

虽然有些人拿爱迪生的例子来说明他创造了“bug”这个词,但也有可能这个词是早些时候来自其他人,他只是在他的工程师朋友和同事中推广了这个词。《牛津英语词典》引用了一个1889年与爱迪生有关的例子,将bug描述为一种昆虫爬进一件设备并使其发生故障的隐喻,这表明一个真实的bug可能最初启发了这个术语,类似于“美中不足”。

Setting the word "bug" aside for a moment, the first known person in history to realize that software may malfunction due to errors in programming was Ada Lovelace. She wrote about the problem way back in 1843 in her commentary about Charles Babbage's Analytical Engine.

把“bug”这个词放在一边,历史上第一个认识到软件可能由于编程错误而发生故障的人是Ada Lovelace。早在1843年,她就在对查尔斯·巴贝奇的分析机的评论中提到了这个问题。

"To this it may be replied that an analysing process must equally have been performed in order to furnish the Analytical Engine with the necessary operative data; and that herein may also lie a possible source of error. Granted that the actual mechanism is unerring in its processes, the cards may give it wrong orders."
“对此,可以回答说,分析过程必须同样进行,以便为分析机提供必要的 执行部分 数据;并且这里也可能存在错误的可能来源。假设实际的机制在其过程中是正确的, 卡 可能会给予错误的命令。“

In this quote, Lovelace refers to the actual calculating mechanism being error-free in the way that it processes data, but stipulates that the data fed to it by humans (as programmed on cards at the time) could give the machine the wrong instructions and thus produce the wrong results.

在这段引文中,洛夫莱斯提到实际的计算机制在处理数据的方式上是无错误的,但规定人类输入的数据(就像当时在卡片上编程的那样)可能会给机器给予错误的指令,从而产生错误的结果。

What About Grace Hopper's Moth?格蕾丝·霍珀的飞蛾怎么样?

For decades, books, magazines, and websites have erroneously reported that the term "bug" was coined by legendary computer scientist Grace Hopper when a moth flew into the relays of the Harvard Mark II computer and caused it to malfunction. As the story goes, she then taped the moth into a logbook and wrote a historical note: "First actual case of bug being found."

几十年来,书籍、杂志和网站都错误地报道说,“bug”一词是由传奇计算机科学家格蕾丝·霍珀(Grace Hopper)创造的,当时一只飞蛾飞进了哈佛马克II型计算机的继电器,导致它出现故障。随着故事的发展,她把飞蛾粘在一本日志里,并写下了一个历史记录:“第一个发现虫子的实际案例。“

While a moth really did fly into the Mark II in 1947, it wasn't the inspiration for the terms "bug" or "debug," both of which predate the incident. Also, it's not entirely clear that the moth actually made the computer malfunction, just that it was an amusing find while they were fixing other defects. Hopper made the story famous by telling it in a widely cited November 1968 interview:

虽然1947年确实有一只飞蛾飞进了Mark II,但它并不是“bug”或“debug”这两个术语的灵感来源,这两个术语都是在事件发生之前。此外,目前还不完全清楚,飞蛾实际上是计算机故障,只是这是一个有趣的发现,而他们正在修复其他缺陷。霍珀在1968年11月的一次采访中讲述了这个著名的故事:

When we were debugging Mark II, it was over in another building, and the windows had no screens on them and we were working on it at night, of course, and all the bugs in the world came in. And, one night she conked out, and we went to look for the bug and found an actual large moth, about four inches wing span, in one of the relays beaten to death, and we took it out and put it in the log book and pasted scotch tape over it, and as far as I know, that's still in the historical log book up at Harvard (we found an actual bug in the computer)."
“当我们调试Mark II时,它在另一栋建筑物中,窗户上没有屏幕,我们在晚上工作,当然,世界上所有的虫子都进来了。有一天晚上,她睡着了,我们去找虫子,发现了一只真正的大飞蛾,大约四英寸翼展,在一个继电器中被打死了,我们把它拿出来,把它放在日志簿里,用透明胶带粘在上面,据我所知,这仍然在哈佛的历史日志里(我们在计算机中发现了一个真正的虫子)。“

Hopper found the story amusing because, after frequently hunting down bugs in the computer (as in hardware and software defects), her team had finally found an actual, literal insect inside the computer. Hence the inscription, "First actual case of bug being found."

霍珀发现这个故事很有趣,因为在频繁地寻找计算机中的错误(如硬件和软件缺陷)之后,她的团队终于在计算机中发现了一个真实的昆虫。因此,上面写着:“第一个发现bug的实际案例。“

(As an interesting aside, Hopper describes the Mark IV moth as "beaten to death," likely because of the damage from getting caught within the movement of the computer's electromechanical relays, which suggests the computer continued to function while the moth was in there.)

(As有趣的是,霍珀将Mark IV蛾描述为“被殴打致死”,可能是因为计算机机电继电器的运动造成的损坏,这表明计算机在蛾在那里时继续运行。

Historians don't know whether it was Hopper's log book, or who actually wrote the entry, but today, the Harvard Mark II log book resides in the National Museum of American History at the Smithsonian in Washington, D.C.

历史学家不知道这是否是霍珀的日志,也不知道是谁写的,但今天,哈佛马克二世的日志保存在华盛顿,华盛顿特区史密森尼博物馆的国家美国历史博物馆

4 中文解释

Bug一词的原意是“昆虫”或“虫子”,而在电脑系统或程序中隐藏着的一些未被发现的缺陷或问题,人们也叫它“bug”。

Bug,指软件中的缺陷,它可能会引发软件失效。

“Bug”的创始人格蕾丝·赫柏(Grace Murray Hopper),是一位为美国海军工作的电脑专家,也是最早将人类语言融入到电脑程序的人之一。而代表电脑程序出错的“bug” 这名字,正是由赫柏所取的。1947年9月9日,赫柏对Harvard Mark II设置好17000个继电器进行编程后,技术人员正在进行整机运行时,它突然停止了工作。于是他们爬上去找原因,发现这台巨大的计算机内部一组继电器的触点之间有一只飞蛾,这显然是由于飞蛾受光和热的吸引,飞到了触点上,然后被高电压击死。所以在报告中,赫柏用胶条贴上飞蛾,并把“bug”来表示“一个在电脑程序里的错误”,“Bug”这个说法一直沿用到今天。

科技并不是一蹴而就,而是一步一步发展而来,现在的高端科技,背后都有一个无比精彩的故事。

特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。

Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.

相关推荐
热点推荐
最邪恶的实验:6女4男船上共渡100天,失去法律约束,结果如何?

最邪恶的实验:6女4男船上共渡100天,失去法律约束,结果如何?

泪满过眼
2026-10-20 07:44:02
菲律宾有人继续搞鬼,想对我大使如何?

菲律宾有人继续搞鬼,想对我大使如何?

新民周刊
2026-10-20 09:06:39
人情薄如纸,河南女子在浙江被朋友做局欠下220万,债务逾期后,亲戚朋友全部远离,如今无家可归

人情薄如纸,河南女子在浙江被朋友做局欠下220万,债务逾期后,亲戚朋友全部远离,如今无家可归

捣蛋窝
2026-10-20 08:56:07
马斯克在 X 上发帖暗示:全球美元加起来,恐怕都不够 AI 巨头用了!

马斯克在 X 上发帖暗示:全球美元加起来,恐怕都不够 AI 巨头用了!

混沌录
2026-10-20 00:38:08
张本智和父亲勇敢发声!入日籍是对的,否则儿女在中国无出头之日

张本智和父亲勇敢发声!入日籍是对的,否则儿女在中国无出头之日

娱妮啵啵啊
2026-10-18 18:37:26
“21岁男子在稻城亚丁高反身亡”追踪:官方称同行三人系非法穿越,如找到将处罚 多部门即日起对非法穿越展开巡查

“21岁男子在稻城亚丁高反身亡”追踪:官方称同行三人系非法穿越,如找到将处罚 多部门即日起对非法穿越展开巡查

红星新闻
2026-10-20 13:51:30
越南准备采购100台盾构机,中方抢先动手,官宣管制盾构机出口

越南准备采购100台盾构机,中方抢先动手,官宣管制盾构机出口

阿绐聊社会
2026-10-20 08:21:03
反思过去的计划生育口号,孙玉良:不负责任的口号损害政府公信力

反思过去的计划生育口号,孙玉良:不负责任的口号损害政府公信力

孙玉良
2026-10-18 08:56:59
全面理解个人是养老第一责任人

全面理解个人是养老第一责任人

阿亮评论
2026-10-20 10:23:58
特斯拉:公司CEO马斯克2025年考核未达标,全年实际到手收入为零,没有现金,也没有解锁任何股权

特斯拉:公司CEO马斯克2025年考核未达标,全年实际到手收入为零,没有现金,也没有解锁任何股权

极目新闻
2026-10-20 09:10:39
驴友在4500米亚丁高反离世,期间姐姐全网求免费直升机,牧民报价1万被她拉黑

驴友在4500米亚丁高反离世,期间姐姐全网求免费直升机,牧民报价1万被她拉黑

可达鸭面面观
2026-10-19 21:43:29
山东打响第一枪:“个人是养老第一责任人”

山东打响第一枪:“个人是养老第一责任人”

毒哥的毒鸡汤
2026-10-19 16:38:18
刘恺威承认与黎纪君恋情:“多谢大家关心,我们是打网球认识的,大家有共同爱好,所以很合得来”

刘恺威承认与黎纪君恋情:“多谢大家关心,我们是打网球认识的,大家有共同爱好,所以很合得来”

韩小娱
2026-10-20 11:59:46
小区物业大撤退!收缴率跌到 16%,售价数百万住宅恐变贫民窟

小区物业大撤退!收缴率跌到 16%,售价数百万住宅恐变贫民窟

风向观察
2026-10-19 20:17:57
五常就剩下中国了

五常就剩下中国了

凤眼论
2026-10-19 16:41:44
轰动全国的“91大神”庭审细节曝光,炸翻无数人

轰动全国的“91大神”庭审细节曝光,炸翻无数人

鸣金网
2026-10-18 14:17:30
王岐山会见清华经管学院顾问委员会委员代表

王岐山会见清华经管学院顾问委员会委员代表

黎禾梨财经人物
2026-10-20 12:06:01
太可惜了!一条命不值2000块?5次活命机会全部浪费!这家人的无知,葬送了一条年轻生命

太可惜了!一条命不值2000块?5次活命机会全部浪费!这家人的无知,葬送了一条年轻生命

魔都姐姐杂谈
2026-10-19 08:58:03
美国新闻周刊封面炸了!五人穿红军装骑单车,白宫彻底坐不住了

美国新闻周刊封面炸了!五人穿红军装骑单车,白宫彻底坐不住了

麓谷隐士
2026-10-20 00:10:04
一次精日作死,彻底毁掉一辈子:留学生陈宇昕面临的四条绝路

一次精日作死,彻底毁掉一辈子:留学生陈宇昕面临的四条绝路

莫地方
2026-10-19 22:38:55
2026-10-20 15:08:49
喜爱的CAD incentive-icons
喜爱的CAD
用3D看世界,让自动化更简单!
415文章数 12917关注度
往期回顾 全部

教育要闻

“儿子刚上大学就开始报复我!”,30岁巨婴的诞生:父母谈不上无辜

头条要闻

21岁男子在稻城亚丁高反身亡 家属支付7500元马帮费

头条要闻

21岁男子在稻城亚丁高反身亡 家属支付7500元马帮费

体育要闻

30天30队·奇才:三状元一榜眼 35胜?

娱乐要闻

港媒曝刘恺威与32岁黎纪君恋情,秘密恋爱两个月

财经要闻

这些科技股王,为什么总输给茅台?

科技要闻

新版MiniMax,能和DeepSeek掰手腕吗?

汽车要闻

不知道二代海鸥多好玩? 上赛道跑两圈 很过瘾的

态度原创

旅游
时尚
家居
艺术
数码

旅游要闻

秋日露营经济升温

4种“棒针毛衣”穿搭,美翻了!

家居要闻

2026建博会(广州) 公装联探展交流活动

艺术要闻

17家民企抱团,投资50亿建成广州第四高楼,每家分3层!

数码要闻

倍思发布PrimeSentinel U2 Pro安防摄像机 可用聚光灯实时追踪目标

无障碍浏览 进入关怀版