香草软件

本页使用了标题或全文手工转换
维基百科,自由的百科全书

计算机科学领域,香草是一个用于表示“一个事物没有经过自定义的改动而仍然保留着它们默认的形式”的术语。[1]这个术语已经广为流传并成为事实标准。香草一词来自于传统冰淇淋的标准口味,香草味。[2]根据Eric S. Raymond的《The New Hacker's Dictionary》一书记载,香草一词在感觉上比普通一词更能表达“默认”的含义。[3]

如何使用这一术语呢?以下是一些例子。

  • 最早的例子之一是 IBM 的大型文本出版系统 BootMaster,提供了一种默认的方式来指定书籍的哪些部分需要被出版,这种方式被称为香草或抹茶。[4]
  • 香草这一术语也在一些有关计算机硬件的地方被使用。比如 1990 年代的未经更新过的 Amiga 品牌家用电脑就被称作纯香草电脑。[5] 随后这种术语的使用开始在个人计算机领域流传开。[6]
  • 对于基于 UNIX 的内核,香草内核指的是内核没有被第三方所修改过。而Linux 发行版在制作的时候就会对香草内核进行改动,这个过程很像是为香草冰淇淋赋予独特的“口味”,也在计算机领域派生出了“口味”这个术语。[7][8]
  • 在 《End of Ignoreance》 一书中,Charles Winborne 将纯香草网页描述为“只是一个简单的静态文本文件,却能链接到其它与之相关的文件”的网页。[9]
  • 在畅销游戏《Minecraft》中,没有添加任何模块的游戏版本被称作香草版本。
  • 没有引入第三方库和插件的 JavaScript 程序代码被叫做“香草 JavaScript”。

参考资料[编辑]

  1. ^ What is vanilla?. techtarget.com. September 2005 [2013-11-17]. (原始内容存档于2022-02-01). 
  2. ^ Hilden, Katri; Robinson, Tim; Currie, Lee; Hutchinson, Emma. Iced: 180 Very Cool Concoctions. Murdoch Books. 2006: 15 [4 April 2013]. ISBN 978-1-74045-818-4. (原始内容存档于2023-10-19). Vanilla has become a synonymous with 'plain'- perhaps most vanilla ice cream is flavoured with fake vanilla extract 
  3. ^ vanilla /adj./页面存档备份,存于互联网档案馆"[from the default flavor of ice cream in the U.S.] Ordinary flavor, standard." from the Jargon File
  4. ^ Gary Richtmeyer. B2H User's Guide (HTML 3 version). AT&T. 2002-05-01 [2013-10-16]. (原始内容存档于2021-12-24). Conditional sections (.cs) and BookMaster's "vanilla" DVCF macros (.CONFIG and .WHEN) are supported, but not BookMaster's "mocha" DVCF macros (e.g. .USING, .INCLUDE). 
  5. ^ EGS Spectrum 28: True Color Graphics for the Amiga. [2022-01-25]. (原始内容存档于2016-03-06). 
  6. ^ How to upgrade your color graphics card.页面存档备份,存于互联网档案馆) from Compute's Getting Started with Power Computing (Buyers Guide) by Steven Anzovin
  7. ^ Re: What is the vanilla kernel?. lkml.indiana.edu. 2005-10-10 [2013-11-17]. 
  8. ^ Ubuntu Kernel vs. Vanilla Kernel. ubuntuforums.org. October 2009 [2013-11-17]. (原始内容存档于2022-04-15). 
  9. ^ Winborne, Charle`s. End of Ignorance. iUniverse. 2003: 150 [2015-05-21]. ISBN 9780595277438.