V2EX  ›  英汉词典

Shared Library

Definition / 释义

shared library:共享库;在多个程序之间共同使用的库文件(包含可复用的代码与数据)。程序运行时可以动态加载它,从而减少重复、节省内存,并便于统一更新。常见于 Linux/Unix 的 .so、Windows 的 .dll、macOS 的 .dylib。(该术语也可泛指“共享的图书馆”,但在计算机语境中更常指此义。)

Pronunciation / 发音

/ʃɛrd ˈlaɪbrɛri/

Examples / 例句

My program fails because a shared library is missing.
我的程序运行失败,因为缺少一个共享库。

After the upgrade, the application crashed due to an incompatible shared library version, so we had to reinstall the correct package.
升级后,应用程序因为共享库版本不兼容而崩溃,所以我们不得不重新安装正确的软件包。

Etymology / 词源

shared 来自 share(分享、共用),library 来自拉丁语 librarium(书籍之处、藏书处)。在软件领域里,library 引申为“代码库”,与 shared 组合后强调“可被多个程序共同使用的代码库”,对应“动态链接/运行时加载”的常见机制。

Related Words / 相关词

Literary Works / 文学作品

  • Advanced Programming in the UNIX Environment(W. Richard Stevens 等)
  • The Linux Programming Interface(Michael Kerrisk)
  • Computer Systems: A Programmer’s Perspective(Bryant & O’Hallaron)
  • UNIX and Linux System Administration Handbook(Nemeth 等)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1203 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 17:07 · PVG 01:07 · LAX 09:07 · JFK 12:07
♥ Do have faith in what you're doing.