CINXE.COM
Zig - 维基百科,自由的百科全书
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="zh" dir="ltr"> <head> <meta charset="UTF-8"> <title>Zig - 维基百科,自由的百科全书</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )zhwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"zh", "wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRequestId":"ea446499-1538-4a47-8d2c-5bac45413a8a","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Zig","wgTitle":"Zig","wgCurRevisionId":80807518,"wgRevisionId":80807518,"wgArticleId":7917179,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["CS1美国英语来源 (en-us)","CS1英语来源 (en)","CS1英国英语来源 (en-gb)","自2022年11月粗劣翻译","使用未知编程语言信息框参数的页面","维基百科和维基数据上的官方网站不同","系統程式語言","使用MIT许可证的软件","静态类型编程语言","2015年建立的程式語言","自由發展元件與函式庫","自由編譯器與直譯器","嵌入式系统","跨平台軟體","自由跨平台軟體","程序设计语言"],"wgPageViewLanguage":"zh","wgPageContentLanguage":"zh", "wgPageContentModel":"wikitext","wgRelevantPageName":"Zig","wgRelevantArticleId":7917179,"wgUserVariant":"zh","wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"zh","pageLanguageDir":"ltr","pageVariantFallbacks":["zh-hans","zh-hant","zh-cn","zh-tw","zh-hk","zh-sg","zh-mo","zh-my"]},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":10000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q51885456", "wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.gadget.large-font":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","site","mediawiki.page.ready", "jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.edit0","ext.gadget.WikiMiniAtlas","ext.gadget.UnihanTooltips","ext.gadget.Difflink","ext.gadget.pseudonamespace-UI","ext.gadget.SpecialWikitext","ext.gadget.switcher","ext.gadget.VariantAlly","ext.gadget.AdvancedSiteNotices","ext.gadget.hideConversionTab","ext.gadget.internalLinkHelper-altcolor","ext.gadget.noteTA","ext.gadget.NavFrame","ext.gadget.collapsibleTables","ext.gadget.scrollUpButton","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=zh&modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=zh&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=zh&modules=ext.gadget.large-font&only=styles&skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=zh&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.5"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Zig_logo_2020.svg/1200px-Zig_logo_2020.svg.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="420"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Zig_logo_2020.svg/800px-Zig_logo_2020.svg.png"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="280"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Zig_logo_2020.svg/640px-Zig_logo_2020.svg.png"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="224"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Zig - 维基百科,自由的百科全书"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//zh.m.wikipedia.org/wiki/Zig"> <link rel="alternate" type="application/x-wiki" title="编辑本页" href="/w/index.php?title=Zig&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (zh)"> <link rel="EditURI" type="application/rsd+xml" href="//zh.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://zh.wikipedia.org/wiki/Zig"> <link rel="alternate" hreflang="zh" href="https://zh.wikipedia.org/wiki/Zig"> <link rel="alternate" hreflang="zh-Hans" href="https://zh.wikipedia.org/zh-hans/Zig"> <link rel="alternate" hreflang="zh-Hans-CN" href="https://zh.wikipedia.org/zh-cn/Zig"> <link rel="alternate" hreflang="zh-Hans-MY" href="https://zh.wikipedia.org/zh-my/Zig"> <link rel="alternate" hreflang="zh-Hans-SG" href="https://zh.wikipedia.org/zh-sg/Zig"> <link rel="alternate" hreflang="zh-Hant" href="https://zh.wikipedia.org/zh-hant/Zig"> <link rel="alternate" hreflang="zh-Hant-HK" href="https://zh.wikipedia.org/zh-hk/Zig"> <link rel="alternate" hreflang="zh-Hant-MO" href="https://zh.wikipedia.org/zh-mo/Zig"> <link rel="alternate" hreflang="zh-Hant-TW" href="https://zh.wikipedia.org/zh-tw/Zig"> <link rel="alternate" hreflang="x-default" href="https://zh.wikipedia.org/wiki/Zig"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh"> <link rel="alternate" type="application/atom+xml" title="Wikipedia的Atom feed" href="/w/index.php?title=Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Zig rootpage-Zig skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">跳转到内容</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="站点"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="主菜单" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">主菜单</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">主菜单</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">隐藏</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> 导航 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Wikipedia:%E9%A6%96%E9%A1%B5" title="访问首页[z]" accesskey="z"><span>首页</span></a></li><li id="n-indexpage" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%88%86%E7%B1%BB%E7%B4%A2%E5%BC%95" title="以分类索引搜寻中文维基百科"><span>分类索引</span></a></li><li id="n-Featured_content" class="mw-list-item"><a href="/wiki/Portal:%E7%89%B9%E8%89%B2%E5%85%A7%E5%AE%B9" title="查看中文维基百科的特色内容"><span>特色内容</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:%E6%96%B0%E8%81%9E%E5%8B%95%E6%85%8B" title="提供当前新闻事件的背景资料"><span>新闻动态</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:%E6%9C%80%E8%BF%91%E6%9B%B4%E6%94%B9" title="列出维基百科中的最近修改[r]" accesskey="r"><span>最近更改</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:%E9%9A%8F%E6%9C%BA%E9%A1%B5%E9%9D%A2" title="随机载入一个页面[x]" accesskey="x"><span>随机条目</span></a></li> </ul> </div> </div> <div id="p-help" class="vector-menu mw-portlet mw-portlet-help" > <div class="vector-menu-heading"> 帮助 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:%E7%9B%AE%E5%BD%95" title="寻求帮助"><span>帮助</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%A4%BE%E7%BE%A4%E9%A6%96%E9%A1%B5" title="关于本计划、你可以做什么、应该如何做"><span>维基社群</span></a></li><li id="n-policy" class="mw-list-item"><a href="/wiki/Wikipedia:%E6%96%B9%E9%87%9D%E8%88%87%E6%8C%87%E5%BC%95" title="查看维基百科的方针和指引"><span>方针与指引</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/Wikipedia:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88" title="参与维基百科社群的讨论"><span>互助客栈</span></a></li><li id="n-Information_desk" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%9F%A5%E8%AF%86%E9%97%AE%E7%AD%94" title="解答任何与维基百科无关的问题的地方"><span>知识问答</span></a></li><li id="n-conversion" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2" title="提出字词转换请求"><span>字词转换</span></a></li><li id="n-IRC" class="mw-list-item"><a href="/wiki/Wikipedia:IRC%E8%81%8A%E5%A4%A9%E9%A2%91%E9%81%93"><span>IRC即时聊天</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Wikipedia:%E8%81%94%E7%BB%9C%E6%88%91%E4%BB%AC" title="如何联络维基百科"><span>联络我们</span></a></li><li id="n-about" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E" title="查看维基百科的简介"><span>关于维基百科</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Wikipedia:%E9%A6%96%E9%A1%B5" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="维基百科" src="/static/images/mobile/copyright/wikipedia-wordmark-zh.svg" style="width: 6.5625em; height: 1.375em;"> <img class="mw-logo-tagline" alt="自由的百科全书" src="/static/images/mobile/copyright/wikipedia-tagline-zh.svg" width="103" height="14" style="width: 6.4375em; height: 0.875em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:%E6%90%9C%E7%B4%A2" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="搜索维基百科[f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>搜索</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="搜索维基百科" aria-label="搜索维基百科" autocapitalize="sentences" title="搜索维基百科[f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:搜索"> </div> <button class="cdx-button cdx-search-input__end-button">搜索</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="个人工具"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="外观"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="更改页面字体大小、宽度和颜色的外观" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="外观" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">外观</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=zh.wikipedia.org&uselang=zh" class=""><span>资助维基百科</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&returnto=Zig" title="我们推荐您创建账号并登录,但这不是强制性的" class=""><span>创建账号</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&returnto=Zig" title="建议你登录,尽管并非必须。[o]" accesskey="o" class=""><span>登录</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="更多选项" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="个人工具" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">个人工具</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="用户菜单" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=zh.wikipedia.org&uselang=zh"><span>资助维基百科</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E5%88%9B%E5%BB%BA%E8%B4%A6%E6%88%B7&returnto=Zig" title="我们推荐您创建账号并登录,但这不是强制性的"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>创建账号</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95&returnto=Zig" title="建议你登录,尽管并非必须。[o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>登录</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> 未登录编辑者的页面 <a href="/wiki/Help:%E6%96%B0%E6%89%8B%E5%85%A5%E9%97%A8" aria-label="了解有关编辑的更多信息"><span>了解详情</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:%E6%88%91%E7%9A%84%E8%B4%A1%E7%8C%AE" title="来自此IP地址的编辑列表[y]" accesskey="y"><span>贡献</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:%E6%88%91%E7%9A%84%E8%AE%A8%E8%AE%BA%E9%A1%B5" title="对于来自此IP地址编辑的讨论[n]" accesskey="n"><span>讨论</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="站点"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="目录" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">目录</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">隐藏</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">序言</div> </a> </li> <li id="toc-範例" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#範例"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>範例</span> </div> </a> <button aria-controls="toc-範例-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>开关範例子章节</span> </button> <ul id="toc-範例-sublist" class="vector-toc-list"> <li id="toc-Hello_World" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Hello_World"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Hello World</span> </div> </a> <ul id="toc-Hello_World-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-鏈結串列" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#鏈結串列"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>鏈結串列</span> </div> </a> <ul id="toc-鏈結串列-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-參見" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#參見"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>參見</span> </div> </a> <ul id="toc-參見-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-參考資料" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#參考資料"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>參考資料</span> </div> </a> <ul id="toc-參考資料-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-外部連接" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#外部連接"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>外部連接</span> </div> </a> <ul id="toc-外部連接-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="目录" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="开关目录" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">开关目录</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Zig</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="前往另一种语言写成的文章。21种语言可用" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-21" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">21种语言</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D8%B2%D9%8A%D8%BA_(%D9%84%D8%BA%D8%A9_%D8%A8%D8%B1%D9%85%D8%AC%D8%A9)" title="زيغ (لغة برمجة) – 阿拉伯语" lang="ar" hreflang="ar" data-title="زيغ (لغة برمجة)" data-language-autonym="العربية" data-language-local-name="阿拉伯语" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/Zig" title="Zig – 白俄罗斯语" lang="be" hreflang="be" data-title="Zig" data-language-autonym="Беларуская" data-language-local-name="白俄罗斯语" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Zig_(llenguatge_de_programaci%C3%B3)" title="Zig (llenguatge de programació) – 加泰罗尼亚语" lang="ca" hreflang="ca" data-title="Zig (llenguatge de programació)" data-language-autonym="Català" data-language-local-name="加泰罗尼亚语" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/Zig_(programovac%C3%AD_jazyk)" title="Zig (programovací jazyk) – 捷克语" lang="cs" hreflang="cs" data-title="Zig (programovací jazyk)" data-language-autonym="Čeština" data-language-local-name="捷克语" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Zig_(Programmiersprache)" title="Zig (Programmiersprache) – 德语" lang="de" hreflang="de" data-title="Zig (Programmiersprache)" data-language-autonym="Deutsch" data-language-local-name="德语" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Zig_(programming_language)" title="Zig (programming language) – 英语" lang="en" hreflang="en" data-title="Zig (programming language)" data-language-autonym="English" data-language-local-name="英语" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%B2%DB%8C%DA%AF_(%D8%B2%D8%A8%D8%A7%D9%86_%D8%A8%D8%B1%D9%86%D8%A7%D9%85%D9%87%E2%80%8C%D9%86%D9%88%DB%8C%D8%B3%DB%8C)" title="زیگ (زبان برنامهنویسی) – 波斯语" lang="fa" hreflang="fa" data-title="زیگ (زبان برنامهنویسی)" data-language-autonym="فارسی" data-language-local-name="波斯语" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Zig" title="Zig – 芬兰语" lang="fi" hreflang="fi" data-title="Zig" data-language-autonym="Suomi" data-language-local-name="芬兰语" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Zig_(langage)" title="Zig (langage) – 法语" lang="fr" hreflang="fr" data-title="Zig (langage)" data-language-autonym="Français" data-language-local-name="法语" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%96%D7%99%D7%92_(%D7%A9%D7%A4%D7%AA_%D7%AA%D7%9B%D7%A0%D7%95%D7%AA)" title="זיג (שפת תכנות) – 希伯来语" lang="he" hreflang="he" data-title="זיג (שפת תכנות)" data-language-autonym="עברית" data-language-local-name="希伯来语" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/Zig_(programoz%C3%A1si_nyelv)" title="Zig (programozási nyelv) – 匈牙利语" lang="hu" hreflang="hu" data-title="Zig (programozási nyelv)" data-language-autonym="Magyar" data-language-local-name="匈牙利语" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-io mw-list-item"><a href="https://io.wikipedia.org/wiki/Zig_(programifo-linguo)" title="Zig (programifo-linguo) – 伊多语" lang="io" hreflang="io" data-title="Zig (programifo-linguo)" data-language-autonym="Ido" data-language-local-name="伊多语" class="interlanguage-link-target"><span>Ido</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Zig_(linguaggio_di_programmazione)" title="Zig (linguaggio di programmazione) – 意大利语" lang="it" hreflang="it" data-title="Zig (linguaggio di programmazione)" data-language-autonym="Italiano" data-language-local-name="意大利语" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/Zig_(%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E8%A8%80%E8%AA%9E)" title="Zig (プログラミング言語) – 日语" lang="ja" hreflang="ja" data-title="Zig (プログラミング言語)" data-language-autonym="日本語" data-language-local-name="日语" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/Zig_(%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8D_%EC%96%B8%EC%96%B4)" title="Zig (프로그래밍 언어) – 韩语" lang="ko" hreflang="ko" data-title="Zig (프로그래밍 언어)" data-language-autonym="한국어" data-language-local-name="韩语" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Zig_(programmeertaal)" title="Zig (programmeertaal) – 荷兰语" lang="nl" hreflang="nl" data-title="Zig (programmeertaal)" data-language-autonym="Nederlands" data-language-local-name="荷兰语" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Zig_(linguagem_de_programa%C3%A7%C3%A3o)" title="Zig (linguagem de programação) – 葡萄牙语" lang="pt" hreflang="pt" data-title="Zig (linguagem de programação)" data-language-autonym="Português" data-language-local-name="葡萄牙语" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/Zig_(%D1%8F%D0%B7%D1%8B%D0%BA_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F)" title="Zig (язык программирования) – 俄语" lang="ru" hreflang="ru" data-title="Zig (язык программирования)" data-language-autonym="Русский" data-language-local-name="俄语" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Zig_(programlama_dili)" title="Zig (programlama dili) – 土耳其语" lang="tr" hreflang="tr" data-title="Zig (programlama dili)" data-language-autonym="Türkçe" data-language-local-name="土耳其语" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/Zig" title="Zig – 乌克兰语" lang="uk" hreflang="uk" data-title="Zig" data-language-autonym="Українська" data-language-local-name="乌克兰语" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/Zig" title="Zig – 粤语" lang="yue" hreflang="yue" data-title="Zig" data-language-autonym="粵語" data-language-local-name="粤语" class="interlanguage-link-target"><span>粵語</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q51885456#sitelinks-wikipedia" title="编辑跨语言链接" class="wbc-editpage">编辑链接</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="命名空间"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Zig" title="浏览条目正文[c]" accesskey="c"><span>条目</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:Zig" rel="discussion" title="关于此页面的讨论[t]" accesskey="t"><span>讨论</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown " > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="更改语言变体" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">不转换</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-varlang-0" class="selected ca-variants-zh mw-list-item"><a href="/zh/Zig" lang="zh" hreflang="zh"><span>不转换</span></a></li><li id="ca-varlang-1" class="ca-variants-zh-Hans mw-list-item"><a href="/zh-hans/Zig" lang="zh-Hans" hreflang="zh-Hans"><span>简体</span></a></li><li id="ca-varlang-2" class="ca-variants-zh-Hant mw-list-item"><a href="/zh-hant/Zig" lang="zh-Hant" hreflang="zh-Hant"><span>繁體</span></a></li><li id="ca-varlang-3" class="ca-variants-zh-Hans-CN mw-list-item"><a href="/zh-cn/Zig" lang="zh-Hans-CN" hreflang="zh-Hans-CN"><span>大陆简体</span></a></li><li id="ca-varlang-4" class="ca-variants-zh-Hant-HK mw-list-item"><a href="/zh-hk/Zig" lang="zh-Hant-HK" hreflang="zh-Hant-HK"><span>香港繁體</span></a></li><li id="ca-varlang-5" class="ca-variants-zh-Hant-MO mw-list-item"><a href="/zh-mo/Zig" lang="zh-Hant-MO" hreflang="zh-Hant-MO"><span>澳門繁體</span></a></li><li id="ca-varlang-6" class="ca-variants-zh-Hans-MY mw-list-item"><a href="/zh-my/Zig" lang="zh-Hans-MY" hreflang="zh-Hans-MY"><span>大马简体</span></a></li><li id="ca-varlang-7" class="ca-variants-zh-Hans-SG mw-list-item"><a href="/zh-sg/Zig" lang="zh-Hans-SG" hreflang="zh-Hans-SG"><span>新加坡简体</span></a></li><li id="ca-varlang-8" class="ca-variants-zh-Hant-TW mw-list-item"><a href="/zh-tw/Zig" lang="zh-Hant-TW" hreflang="zh-Hant-TW"><span>臺灣正體</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="查看"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Zig"><span>阅读</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Zig&action=edit" title="编辑该页面[e]" accesskey="e"><span>编辑</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Zig&action=history" title="本页面的早前版本。[h]" accesskey="h"><span>查看历史</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="页面工具"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="工具" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">工具</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">工具</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">隐藏</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="更多选项" > <div class="vector-menu-heading"> 操作 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Zig"><span>阅读</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Zig&action=edit" title="编辑该页面[e]" accesskey="e"><span>编辑</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Zig&action=history"><span>查看历史</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> 常规 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:%E9%93%BE%E5%85%A5%E9%A1%B5%E9%9D%A2/Zig" title="列出所有与本页相链的页面[j]" accesskey="j"><span>链入页面</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:%E9%93%BE%E5%87%BA%E6%9B%B4%E6%94%B9/Zig" rel="nofollow" title="页面链出所有页面的更改[k]" accesskey="k"><span>相关更改</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Project:%E4%B8%8A%E4%BC%A0" title="上传图像或多媒体文件[u]" accesskey="u"><span>上传文件</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:%E7%89%B9%E6%AE%8A%E9%A1%B5%E9%9D%A2" title="全部特殊页面的列表[q]" accesskey="q"><span>特殊页面</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Zig&oldid=80807518" title="此页面该修订版本的固定链接"><span>固定链接</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Zig&action=info" title="关于此页面的更多信息"><span>页面信息</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:%E5%BC%95%E7%94%A8%E6%AD%A4%E9%A1%B5%E9%9D%A2&page=Zig&id=80807518&wpFormIdentifier=titleform" title="有关如何引用此页面的信息"><span>引用此页</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:URL%E7%BC%A9%E7%9F%AD%E7%A8%8B%E5%BA%8F&url=https%3A%2F%2Fzh.wikipedia.org%2Fwiki%2FZig"><span>获取短链接</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fzh.wikipedia.org%2Fwiki%2FZig"><span>下载二维码</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> 打印/导出 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Zig&action=show-download-screen"><span>下载为PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="本页面的可打印版本[p]" accesskey="p"><span>打印页面</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> 在其他项目中 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:Zig_(programming_language)" hreflang="en"><span>维基共享资源</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q51885456" title="链接到连接的数据仓库项目[g]" accesskey="g"><span>维基数据项目</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="页面工具"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="外观"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">外观</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">移至侧栏</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">隐藏</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> <div id="mw-indicator-noteTA-f3e2a619" class="mw-indicator"><div class="mw-parser-output"><span class="skin-invert" typeof="mw:File"><span title="本页使用了标题或全文手工转换"><img alt="本页使用了标题或全文手工转换" src="//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/35px-Zh_conversion_icon_m.svg.png" decoding="async" width="35" height="22" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/53px-Zh_conversion_icon_m.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/70px-Zh_conversion_icon_m.svg.png 2x" data-file-width="32" data-file-height="20" /></span></span></div></div> </div> <div id="siteSub" class="noprint">维基百科,自由的百科全书</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="zh" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r83732972">.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}html.client-js body.skin-minerva .mw-parser-output .mbox-text-span{margin-left:23px!important}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .ambox{border-left-color:#36c!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-speedy,html.skin-theme-clientpref-night .mw-parser-output .ambox-delete{border-left-color:#b32424!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-speedy{background-color:#300!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-content{border-left-color:#f28500!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-style{border-left-color:#fc3!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-move{border-left-color:#9932cc!important}html.skin-theme-clientpref-night .mw-parser-output .ambox-protection{border-left-color:#a2a9b1!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .ambox{border-left-color:#36c!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-speedy,html.skin-theme-clientpref-os .mw-parser-output .ambox-delete{border-left-color:#b32424!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-speedy{background-color:#300!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-content{border-left-color:#f28500!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-style{border-left-color:#fc3!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-move{border-left-color:#9932cc!important}html.skin-theme-clientpref-os .mw-parser-output .ambox-protection{border-left-color:#a2a9b1!important}}</style><table class="box-Rough_translation plainlinks metadata ambox ambox-style ambox-rough_translation" role="presentation"><tbody><tr><td class="mbox-image"><div style="width:52px"><span class="skin-invert" typeof="mw:File"><a href="/wiki/File:Translation_to_zh_arrow.svg" class="mw-file-description" title="翻譯標記"><img alt="翻譯標記" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Translation_to_zh_arrow.svg/50px-Translation_to_zh_arrow.svg.png" decoding="async" width="50" height="17" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/da/Translation_to_zh_arrow.svg/75px-Translation_to_zh_arrow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/da/Translation_to_zh_arrow.svg/100px-Translation_to_zh_arrow.svg.png 2x" data-file-width="60" data-file-height="20" /></a></span></div></td><td class="mbox-text"><div class="mbox-text-span">此條目<b><a href="/wiki/Wikipedia:%E7%BF%BB%E8%AD%AF%E6%8C%87%E5%BC%95" title="Wikipedia:翻譯指引">翻譯</a>品質不佳。</b><span class="hide-when-compact"></span> <small class="date-container"><i>(<span class="date">2022年11月19日</span>)</i></small><span class="hide-when-compact"><br /><small>翻譯者可能不熟悉中文或原文語言,也可能使用了<a href="/wiki/%E6%9C%BA%E5%99%A8%E7%BF%BB%E8%AF%91" title="机器翻译">機器翻譯</a>。請<a class="external text" href="https://zh.wikipedia.org/w/index.php?title=Zig&action=edit">協助翻譯</a>本條目或重新編寫,并注意避免<a href="/wiki/Wikipedia:TNESE" class="mw-redirect" title="Wikipedia:TNESE">翻译腔</a>的问题。<b>明顯拙劣</b>的翻譯請改掛<code>{{<a href="/wiki/Template:D" class="mw-redirect" title="Template:D">d</a>|<a href="/wiki/Wikipedia:CSD#G13" class="mw-redirect" title="Wikipedia:CSD">G13</a>}}</code>提交刪除。</small></span><span class="hide-when-compact"></span></div></td></tr></tbody></table> <div id="noteTA-f3e2a619" class="noteTA"><div class="noteTA-group"><div data-noteta-group-source="module" data-noteta-group="IT"></div></div></div> <style data-mw-deduplicate="TemplateStyles:r83732082">.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}body.skin-minerva .mw-parser-output .infobox-header,body.skin-minerva .mw-parser-output .infobox-subheader,body.skin-minerva .mw-parser-output .infobox-above,body.skin-minerva .mw-parser-output .infobox-title,body.skin-minerva .mw-parser-output .infobox-image,body.skin-minerva .mw-parser-output .infobox-full-data,body.skin-minerva .mw-parser-output .infobox-below{text-align:center}@media screen{html.skin-theme-clientpref-night .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox-full-data:not(.notheme) div:not(.notheme){background:#1f1f23!important;color:#f8f9fa}}html.skin-theme-clientpref-night .mw-parser-output .infobox td div:not(.notheme)[style]{background:transparent!important;color:var(--color-base,#202122)}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox td div:not(.notheme)[style]{background:transparent!important;color:var(--color-base,#202122)}}html.skin-theme-clientpref-night .mw-parser-output .infobox td div.NavHead:not(.notheme)[style]{background:transparent!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox td div.NavHead:not(.notheme)[style]{background:transparent!important}}@media(min-width:640px){body.skin--responsive .mw-parser-output .infobox-table{display:table!important}body.skin--responsive .mw-parser-output .infobox-table>caption{display:table-caption!important}body.skin--responsive .mw-parser-output .infobox-table>tbody{display:table-row-group}body.skin--responsive .mw-parser-output .infobox-table tr{display:table-row!important}body.skin--responsive .mw-parser-output .infobox-table th,body.skin--responsive .mw-parser-output .infobox-table td{padding-left:inherit;padding-right:inherit}}</style><table class="infobox vevent"><caption class="infobox-title summary">Zig</caption><tbody><tr><td colspan="2" class="infobox-image"><span class="mw-default-size" typeof="mw:File/Frameless"><a href="/wiki/File:Zig_logo_2020.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Zig_logo_2020.svg/220px-Zig_logo_2020.svg.png" decoding="async" width="220" height="77" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Zig_logo_2020.svg/330px-Zig_logo_2020.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Zig_logo_2020.svg/440px-Zig_logo_2020.svg.png 2x" data-file-width="512" data-file-height="179" /></a></span></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/%E7%BC%96%E7%A8%8B%E8%8C%83%E5%9E%8B" title="编程范型">编程范型</a></th><td class="infobox-data" style=""><a href="/wiki/%E5%A4%9A%E9%87%8D%E7%BC%96%E7%A8%8B%E8%8C%83%E5%BC%8F" class="mw-redirect" title="多重编程范式">多重編程範式</a>: <a href="/wiki/%E6%8C%87%E4%BB%A4%E5%BC%8F%E7%B7%A8%E7%A8%8B" title="指令式編程">命令式</a>, <a href="/wiki/%E4%B8%A6%E8%A1%8C%E8%A8%88%E7%AE%97" class="mw-redirect" title="並行計算">並行</a>, <a href="/wiki/%E7%A8%8B%E5%BA%8F%E5%BC%8F%E7%A8%8B%E5%BC%8F%E8%A8%AD%E8%A8%88" class="mw-redirect" title="程序式程式設計">程序式</a>, <a href="/wiki/%E5%87%BD%E5%BC%8F%E8%AA%9E%E8%A8%80%E7%A8%8B%E5%BC%8F%E8%A8%AD%E8%A8%88" class="mw-redirect" title="函式語言程式設計">函式</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">設計者</th><td class="infobox-data" style="">Andrew Kelley</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">发行时间</th><td class="infobox-data" style="">2016年2月8日<span class="noprint">,​8年前</span><span style="display:none">​(<span class="bday dtstart published updated">2016-02-08</span>)</span><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">当前版本</th><td class="infobox-data" style=""><style data-mw-deduplicate="TemplateStyles:r82655520">.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}</style><div class="plainlist"><ul><li>0.13.0<span style="font-size:85%">(2024年6月6日)</span><sup id="cite_ref-wikidata-4425a95019b1849c8cc5cbb1f14fec0b72535a1b-v3_2-0" class="reference"><a href="#cite_note-wikidata-4425a95019b1849c8cc5cbb1f14fec0b72535a1b-v3-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup></li></ul> </div> <span class="mw-valign-text-top noprint" typeof="mw:File/Frameless"><a href="https://www.wikidata.org/wiki/Q51885456#P348" title="編輯維基數據鏈接"><img alt="編輯維基數據鏈接" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/10px-OOjs_UI_icon_edit-ltr-progressive.svg.png" decoding="async" width="10" height="10" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/15px-OOjs_UI_icon_edit-ltr-progressive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8a/OOjs_UI_icon_edit-ltr-progressive.svg/20px-OOjs_UI_icon_edit-ltr-progressive.svg.png 2x" data-file-width="20" data-file-height="20" /></a></span></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/%E9%A1%9E%E5%9E%8B%E7%B3%BB%E7%B5%B1" title="類型系統">型態系統</a></th><td class="infobox-data" style=""><a href="/wiki/%E9%A1%9E%E5%9E%8B%E7%B3%BB%E7%B5%B1" title="類型系統">靜態</a>, <a href="/wiki/%E5%BC%B7%E5%BC%B1%E5%9E%8B%E5%88%A5" title="強弱型別">強</a>, <a href="/wiki/%E5%9E%8B%E5%88%A5%E6%8E%A8%E8%AB%96" class="mw-redirect" title="型別推論">自動推導</a>, 結構化, 泛型</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/%E7%B3%BB%E7%BB%9F%E5%B9%B3%E5%8F%B0" title="系统平台">系统平台</a></th><td class="infobox-data" style=""><a href="/wiki/X86-64" title="X86-64">x86-64</a>, <a href="/wiki/ARM" class="mw-redirect" title="ARM">ARM</a>, <a href="/wiki/MIPS" class="mw-disambig" title="MIPS">MIPS</a>, <a href="/wiki/IA-32" title="IA-32">IA-32</a>, <a href="/wiki/WebAssembly" title="WebAssembly">WebAssembly</a>, <a href="/wiki/RISC-V" title="RISC-V">RISC-V</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F" title="操作系统">操作系统</a></th><td class="infobox-data" style=""><a href="/wiki/%E8%B7%A8%E5%B9%B3%E8%87%BA" title="跨平臺">跨平臺</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/%E8%BD%AF%E4%BB%B6%E8%AE%B8%E5%8F%AF%E8%AF%81" title="软件许可证">許可證</a></th><td class="infobox-data" style=""><a href="/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89" title="MIT許可證">MIT許可證</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="/wiki/%E6%96%87%E4%BB%B6%E6%89%A9%E5%B1%95%E5%90%8D" title="文件扩展名">文件扩展名</a></th><td class="infobox-data" style="">.zig, .zir</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">網站</th><td class="infobox-data" style=""><span class="url"><a rel="nofollow" class="external text" href="//ziglang.org/">ziglang<wbr />.org</a></span></td></tr><tr><th colspan="2" class="infobox-header" style="background-color: #eee;;">啟發語言</th></tr><tr><td colspan="2" class="infobox-full-data" style=""><a href="/wiki/C%E8%AA%9E%E8%A8%80" class="mw-redirect" title="C語言">C語言</a>, <a href="/wiki/C%2B%2B" title="C++">C++</a>, <a href="/wiki/LLVM" title="LLVM">LLVM IR</a>, <a href="/wiki/Go" title="Go">Go</a>, <a href="/wiki/Rust" title="Rust">Rust</a>, <a href="/wiki/JavaScript" title="JavaScript">JavaScript</a></td></tr></tbody></table> <p><b>Zig</b>是一個<a href="/wiki/%E6%8C%87%E4%BB%A4%E5%BC%8F%E7%B7%A8%E7%A8%8B" title="指令式編程">命令式</a>、<a href="/wiki/%E9%80%9A%E7%94%A8%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80" title="通用编程语言">通用</a>、<a href="/wiki/%E9%A1%9E%E5%9E%8B%E7%B3%BB%E7%B5%B1" title="類型系統">静态型別</a>、<a href="/wiki/%E7%B7%A8%E8%AD%AF%E8%AA%9E%E8%A8%80" title="編譯語言">编译</a>的系統程式語言。 <sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup> <sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup>以「強健性、最佳性以及可維護性」為核心理念。<sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> <sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup>它支援編譯時泛型與反射、交叉編譯以及手動記憶體管理。 <sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup>目標為改進 <a href="/wiki/C%E8%AF%AD%E8%A8%80" title="C语言">C语言</a><sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup> <sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup> ,同時參考從 <a href="/wiki/Rust" title="Rust">Rust</a> <sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup> <sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup>和其他語言。Zig 有許多低階程式設計的功能,例如緊緻結構(成員間沒有填充的結構)、任意大小的整數<sup id="cite_ref-12" class="reference"><a href="#cite_note-12"><span class="cite-bracket">[</span>12<span class="cite-bracket">]</span></a></sup>以及多指針型別。<sup id="cite_ref-13" class="reference"><a href="#cite_note-13"><span class="cite-bracket">[</span>13<span class="cite-bracket">]</span></a></sup> </p><p>Zig 最初的編譯器是用 Zig 和 <a href="/wiki/C%2B%2B" title="C++">C++</a> 編寫而成,以 <a href="/wiki/LLVM" title="LLVM">LLVM</a> 13<sup id="cite_ref-14" class="reference"><a href="#cite_note-14"><span class="cite-bracket">[</span>14<span class="cite-bracket">]</span></a></sup> 為後端<sup id="cite_ref-15" class="reference"><a href="#cite_note-15"><span class="cite-bracket">[</span>15<span class="cite-bracket">]</span></a></sup> <sup id="cite_ref-16" class="reference"><a href="#cite_note-16"><span class="cite-bracket">[</span>16<span class="cite-bracket">]</span></a></sup>。這個編譯器使用 <a href="/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89" title="MIT許可證">MIT許可證</a> 授權。Zig 編譯器和 <a href="/wiki/Clang" title="Clang">Clang</a> 類似,能編譯 C 與 C++(使用「zig cc」以及「zig c++」指令)<sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">[</span>17<span class="cite-bracket">]</span></a></sup>,也為不同的平台提供標頭檔,包括 <a href="/wiki/C%E6%A8%99%E6%BA%96%E5%87%BD%E5%BC%8F%E5%BA%AB" title="C標準函式庫">C標準函式庫</a> 和 <a href="/wiki/C%2B%2B%E6%A8%99%E6%BA%96%E5%87%BD%E5%BC%8F%E5%BA%AB" title="C++標準函式庫">C++標準函式庫</a>,因此 Zig 的 cc 與 c++ 子命令能直接作為<a href="/wiki/%E4%BA%A4%E5%8F%89%E7%B7%A8%E8%AD%AF%E5%99%A8" title="交叉編譯器">交叉編譯器</a>。 <sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">[</span>18<span class="cite-bracket">]</span></a></sup> <sup id="cite_ref-19" class="reference"><a href="#cite_note-19"><span class="cite-bracket">[</span>19<span class="cite-bracket">]</span></a></sup> </p><p>Zig 的開發由 Zig 軟體基金會 (ZSF) 資助,該資金會是一家非營利公司,由 Andrew Kelley 擔任總裁,也有雇傭一些全職員工,同時接受捐款。 <sup id="cite_ref-20" class="reference"><a href="#cite_note-20"><span class="cite-bracket">[</span>20<span class="cite-bracket">]</span></a></sup> <sup id="cite_ref-21" class="reference"><a href="#cite_note-21"><span class="cite-bracket">[</span>21<span class="cite-bracket">]</span></a></sup> <sup id="cite_ref-22" class="reference"><a href="#cite_note-22"><span class="cite-bracket">[</span>22<span class="cite-bracket">]</span></a></sup> </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="範例"><span id=".E7.AF.84.E4.BE.8B"></span>範例</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Zig&action=edit&section=1" title="编辑章节:範例"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Hello_World">Hello World</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Zig&action=edit&section=2" title="编辑章节:Hello World"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-highlight mw-highlight-lang-zig mw-content-ltr mw-highlight-lines" dir="ltr"><pre><span></span><span class="linenos" data-line="1"></span><span class="kr">const</span><span class="w"> </span><span class="n">std</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">@import</span><span class="p">(</span><span class="s">"std"</span><span class="p">);</span> <span class="linenos" data-line="2"></span> <span class="linenos" data-line="3"></span><span class="kr">pub</span><span class="w"> </span><span class="k">fn</span><span class="w"> </span><span class="n">main</span><span class="p">()</span><span class="w"> </span><span class="kt">void</span><span class="w"> </span><span class="p">{</span> <span class="linenos" data-line="4"></span><span class="w"> </span><span class="n">std</span><span class="p">.</span><span class="n">debug</span><span class="p">.</span><span class="n">print</span><span class="p">(</span><span class="s">"Hello, {s}!</span><span class="se">\n</span><span class="s">"</span><span class="p">,</span><span class="w"> </span><span class="p">.{</span><span class="s">"World!"</span><span class="p">});</span> <span class="linenos" data-line="5"></span><span class="p">}</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="鏈結串列"><span id=".E9.8F.88.E7.B5.90.E4.B8.B2.E5.88.97"></span>鏈結串列</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Zig&action=edit&section=3" title="编辑章节:鏈結串列"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-highlight mw-highlight-lang-zig mw-content-ltr" dir="ltr"><pre><span></span><span class="kr">pub</span><span class="w"> </span><span class="k">fn</span><span class="w"> </span><span class="n">main</span><span class="p">()</span><span class="w"> </span><span class="kt">void</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="kr">var</span><span class="w"> </span><span class="n">node</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">LinkedList</span><span class="p">(</span><span class="kt">i32</span><span class="p">).</span><span class="n">Node</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="p">.</span><span class="n">prev</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">null</span><span class="p">,</span> <span class="w"> </span><span class="p">.</span><span class="n">next</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">null</span><span class="p">,</span> <span class="w"> </span><span class="p">.</span><span class="n">data</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1234</span><span class="p">,</span> <span class="w"> </span><span class="p">};</span> <span class="w"> </span><span class="kr">var</span><span class="w"> </span><span class="n">list</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">LinkedList</span><span class="p">(</span><span class="kt">i32</span><span class="p">)</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="p">.</span><span class="n">first</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o">&</span><span class="n">node</span><span class="p">,</span> <span class="w"> </span><span class="p">.</span><span class="n">last</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o">&</span><span class="n">node</span><span class="p">,</span> <span class="w"> </span><span class="p">.</span><span class="n">len</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span> <span class="w"> </span><span class="p">};</span> <span class="p">}</span> <span class="k">fn</span><span class="w"> </span><span class="n">LinkedList</span><span class="p">(</span><span class="kr">comptime</span><span class="w"> </span><span class="n">T</span><span class="o">:</span><span class="w"> </span><span class="kt">type</span><span class="p">)</span><span class="w"> </span><span class="kt">type</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="kr">pub</span><span class="w"> </span><span class="kr">const</span><span class="w"> </span><span class="n">Node</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="n">prev</span><span class="o">:</span><span class="w"> </span><span class="o">?*</span><span class="n">Node</span><span class="p">,</span> <span class="w"> </span><span class="n">next</span><span class="o">:</span><span class="w"> </span><span class="o">?*</span><span class="n">Node</span><span class="p">,</span> <span class="w"> </span><span class="n">data</span><span class="o">:</span><span class="w"> </span><span class="n">T</span><span class="p">,</span> <span class="w"> </span><span class="p">};</span> <span class="w"> </span><span class="n">first</span><span class="o">:</span><span class="w"> </span><span class="o">?*</span><span class="n">Node</span><span class="p">,</span> <span class="w"> </span><span class="n">last</span><span class="o">:</span><span class="w"> </span><span class="o">?*</span><span class="n">Node</span><span class="p">,</span> <span class="w"> </span><span class="n">len</span><span class="o">:</span><span class="w"> </span><span class="kt">usize</span><span class="p">,</span> <span class="w"> </span><span class="p">};</span> <span class="p">}</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="參見"><span id=".E5.8F.83.E8.A6.8B"></span>參見</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Zig&action=edit&section=4" title="编辑章节:參見"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/C%E8%AF%AD%E8%A8%80" title="C语言">C</a></li> <li><a href="/wiki/C%2B%2B" title="C++">C++</a></li> <li><a href="/wiki/Nim" title="Nim">Nim</a></li> <li><a href="/wiki/Rust" title="Rust">Rust</a></li> <li><a href="/wiki/D%E8%AA%9E%E8%A8%80" title="D語言">D</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="參考資料"><span id=".E5.8F.83.E8.80.83.E8.B3.87.E6.96.99"></span>參考資料</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Zig&action=edit&section=5" title="编辑章节:參考資料"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="reflist columns references-column-count references-column-count-2" style="-moz-column-count: 2; -webkit-column-count: 2; column-count: 2; list-style-type: decimal;"> <ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><cite class="citation web">Kelley, Andrew. <a rel="nofollow" class="external text" href="https://andrewkelley.me/post/intro-to-zig.html">Introduction to the Zig Programming Language</a>. andrewkelley.me. <span class="reference-accessdate"> [<span class="nowrap">8 November</span> 2020]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20220221213047/https://andrewkelley.me/post/intro-to-zig.html">存档</a>于2022-02-21).</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Introduction+to+the+Zig+Programming+Language&rft.aufirst=Andrew&rft.aulast=Kelley&rft.genre=unknown&rft.jtitle=andrewkelley.me&rft_id=https%3A%2F%2Fandrewkelley.me%2Fpost%2Fintro-to-zig.html&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-wikidata-4425a95019b1849c8cc5cbb1f14fec0b72535a1b-v3-2"><span class="mw-cite-backlink">^ <a href="#cite_ref-wikidata-4425a95019b1849c8cc5cbb1f14fec0b72535a1b-v3_2-0"><sup><b>2.0</b></sup></a> <a href="#cite_ref-wikidata-4425a95019b1849c8cc5cbb1f14fec0b72535a1b-v3_2-1"><sup><b>2.1</b></sup></a></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://ziglang.org/download/#release-0.13.0">Release 0.13.0</a>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.btitle=Release+0.13.0&rft.genre=unknown&rft_id=https%3A%2F%2Fziglang.org%2Fdownload%2F%23release-0.13.0&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://jaxenter.com/zig-language-kelley-interview-138517.html">Zig has all the elegant simplicity of C, minus all the ways to shoot yourself in the foot</a>. JAXenter. 2017-10-31 <span class="reference-accessdate"> [<span class="nowrap">2020-02-11</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20211125110713/https://jaxenter.com/zig-language-kelley-interview-138517.html">存档</a>于2021-11-25) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到美国英语网页">(美国英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Zig+has+all+the+elegant+simplicity+of+C%2C+minus+all+the+ways+to+shoot+yourself+in+the+foot&rft.date=2017-10-31&rft.genre=unknown&rft.jtitle=JAXenter&rft_id=https%3A%2F%2Fjaxenter.com%2Fzig-language-kelley-interview-138517.html&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://jaxenter.com/replace-c-zig-language-138242.html">Tired of C? New programming language Zig aims to be more pragmatic and readable</a>. 2017-10-19 <span class="reference-accessdate"> [<span class="nowrap">2020-04-22</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20211125110716/https://jaxenter.com/replace-c-zig-language-138242.html">存档</a>于2021-11-25) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到美国英语网页">(美国英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.btitle=Tired+of+C%3F+New+programming+language+Zig+aims+to+be+more+pragmatic+and+readable&rft.date=2017-10-19&rft.genre=unknown&rft_id=https%3A%2F%2Fjaxenter.com%2Freplace-c-zig-language-138242.html&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-5">^</a></b></span> <span class="reference-text"><cite class="citation web">Yegulalp, Serdar. <a rel="nofollow" class="external text" href="https://www.infoworld.com/article/3113083/new-challenger-joins-rust-to-upend-c-language.html">New challenger joins Rust to topple C language</a>. InfoWorld. 2016-08-29 <span class="reference-accessdate"> [<span class="nowrap">2020-02-11</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20211125104022/https://www.infoworld.com/article/3113083/new-challenger-joins-rust-to-upend-c-language.html">存档</a>于2021-11-25) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到英语网页">(英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=New+challenger+joins+Rust+to+topple+C+language&rft.aufirst=Serdar&rft.aulast=Yegulalp&rft.date=2016-08-29&rft.genre=unknown&rft.jtitle=InfoWorld&rft_id=https%3A%2F%2Fwww.infoworld.com%2Farticle%2F3113083%2Fnew-challenger-joins-rust-to-upend-c-language.html&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://tech.sina.com.cn/digi/2020-07-12/doc-iirczymm1886067.shtml">Zig language and C</a>. <a href="/w/index.php?title=Sina_Corp&action=edit&redlink=1" class="new" title="Sina Corp(页面不存在)">Sina Corp</a>. 2020-07-12 <span class="reference-accessdate"> [<span class="nowrap">2020-08-12</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20211125101710/https://tech.sina.com.cn/digi/2020-07-12/doc-iirczymm1886067.shtml">存档</a>于2021-11-25).</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Zig+language+and+C&rft.date=2020-07-12&rft.genre=unknown&rft.jtitle=Sina+Corp&rft_id=https%3A%2F%2Ftech.sina.com.cn%2Fdigi%2F2020-07-12%2Fdoc-iirczymm1886067.shtml&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://ziglang.org/">The Zig Programming Language</a>. ziglang.org. <span class="reference-accessdate"> [<span class="nowrap">2020-02-11</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20220401111704/https://ziglang.org/">存档</a>于2022-04-01).</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=The+Zig+Programming+Language&rft.genre=unknown&rft.jtitle=ziglang.org&rft_id=https%3A%2F%2Fziglang.org%2F&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://sdtimes.com/ar/mozillas-observatory-zig-programming-language-usens-vrar-sdk-sd-times-news-digest-aug-29-2016/">Mozilla's Observatory, the Zig programming language, and uSens' VR/AR SDK—SD Times news digest: Aug. 29, 2016</a>. SD Times. 2016-08-29 <span class="reference-accessdate"> [<span class="nowrap">2020-02-11</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20211125110728/https://sdtimes.com/ar/mozillas-observatory-zig-programming-language-usens-vrar-sdk-sd-times-news-digest-aug-29-2016/">存档</a>于2021-11-25) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到美国英语网页">(美国英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Mozilla%27s+Observatory%2C+the+Zig+programming+language%2C+and+uSens%27+VR%2FAR+SDK%E2%80%94SD+Times+news+digest%3A+Aug.+29%2C+2016&rft.date=2016-08-29&rft.genre=unknown&rft.jtitle=SD+Times&rft_id=https%3A%2F%2Fsdtimes.com%2Far%2Fmozillas-observatory-zig-programming-language-usens-vrar-sdk-sd-times-news-digest-aug-29-2016%2F&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://ziglang.org/#Zig-competes-with-C-instead-of-depending-on-it">The Zig Programming Language</a>. ziglang.org. <span class="reference-accessdate"> [<span class="nowrap">2020-02-11</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20220401111704/https://ziglang.org/#Zig-competes-with-C-instead-of-depending-on-it">存档</a>于2022-04-01).</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=The+Zig+Programming+Language&rft.genre=unknown&rft.jtitle=ziglang.org&rft_id=https%3A%2F%2Fziglang.org%2F%23Zig-competes-with-C-instead-of-depending-on-it&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text"><cite class="citation web">Company, Sudo Null. <a rel="nofollow" class="external text" href="https://sudonull.com/post/3683-Zig-programming-language">Sudo Null - IT News for you</a>. SudoNull. <span class="reference-accessdate"> [<span class="nowrap">2020-02-11</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20211125101710/https://sudonull.com/post/3683-Zig-programming-language">存档</a>于2021-11-25) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到英语网页">(英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Sudo+Null+-+IT+News+for+you&rft.aufirst=Sudo+Null&rft.aulast=Company&rft.genre=unknown&rft.jtitle=SudoNull&rft_id=https%3A%2F%2Fsudonull.com%2Fpost%2F3683-Zig-programming-language&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text"><cite class="citation web">Kelley, Andrew. <a rel="nofollow" class="external text" href="https://andrewkelley.me/post/unsafe-zig-safer-than-unsafe-rust.html">Unsafe Zig is Safer Than Unsafe Rust</a>. andrewkelley.me. <span class="reference-accessdate"> [<span class="nowrap">2020-02-11</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20220221212956/https://andrewkelley.me/post/unsafe-zig-safer-than-unsafe-rust.html">存档</a>于2022-02-21).</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Unsafe+Zig+is+Safer+Than+Unsafe+Rust&rft.aufirst=Andrew&rft.aulast=Kelley&rft.genre=unknown&rft.jtitle=andrewkelley.me&rft_id=https%3A%2F%2Fandrewkelley.me%2Fpost%2Funsafe-zig-safer-than-unsafe-rust.html&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-12">^</a></b></span> <span class="reference-text"><cite class="citation web">Tim Anderson 24 Apr 2020 at 09:50. <a rel="nofollow" class="external text" href="https://www.theregister.co.uk/2020/04/24/llvm_project_adds_support_for/">Keen to go _ExtInt? LLVM Clang compiler adds support for custom width integers</a>. www.theregister.co.uk. <span class="reference-accessdate"> [<span class="nowrap">2020-04-24</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20200515141101/https://www.theregister.co.uk/2020/04/24/llvm_project_adds_support_for/">存档</a>于2020-05-15) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到英语网页">(英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Keen+to+go+_ExtInt%3F+LLVM+Clang+compiler+adds+support+for+custom+width+integers&rft.au=Tim+Anderson+24+Apr+2020+at+09%3A50&rft.genre=unknown&rft.jtitle=www.theregister.co.uk&rft_id=https%3A%2F%2Fwww.theregister.co.uk%2F2020%2F04%2F24%2Fllvm_project_adds_support_for%2F&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-13">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://ziglang.org/documentation/master/">Documentation - The Zig Programming Language</a>. ziglang.org. <span class="reference-accessdate"> [<span class="nowrap">2020-04-24</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20220331121004/https://ziglang.org/documentation/master/">存档</a>于2022-03-31).</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Documentation+-+The+Zig+Programming+Language&rft.genre=unknown&rft.jtitle=ziglang.org&rft_id=https%3A%2F%2Fziglang.org%2Fdocumentation%2Fmaster%2F&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-14">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://sdtimes.com/softwaredev/sd-times-news-digest-c20-concepts-in-visual-studio-2010-version-16-3-bootstrap-to-drop-ie-support-and-zig-0-60-released/">SD Times news digest: C++20 concepts in Visual Studio 2010 version 16.3, Bootstrap to drop IE support, and Zig 0.60 released</a>. SD Times. 2020-04-14 <span class="reference-accessdate"> [<span class="nowrap">2020-04-19</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20211125104039/https://sdtimes.com/softwaredev/sd-times-news-digest-c20-concepts-in-visual-studio-2010-version-16-3-bootstrap-to-drop-ie-support-and-zig-0-60-released/">存档</a>于2021-11-25) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到美国英语网页">(美国英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=SD+Times+news+digest%3A+C%2B%2B20+concepts+in+Visual+Studio+2010+version+16.3%2C+Bootstrap+to+drop+IE+support%2C+and+Zig+0.60+released&rft.date=2020-04-14&rft.genre=unknown&rft.jtitle=SD+Times&rft_id=https%3A%2F%2Fsdtimes.com%2Fsoftwaredev%2Fsd-times-news-digest-c20-concepts-in-visual-studio-2010-version-16-3-bootstrap-to-drop-ie-support-and-zig-0-60-released%2F&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-15">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://www.gingerbill.org/article/2019/05/13/a-reply-to-the-road-to-zig/">A Reply to _The Road to Zig 1.0_</a>. www.gingerbill.org. 2019-05-13 <span class="reference-accessdate"> [<span class="nowrap">2020-02-11</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20210907055000/https://www.gingerbill.org/article/2019/05/13/a-reply-to-the-road-to-zig/">存档</a>于2021-09-07) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到英国英语网页">(英国英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=A+Reply+to+_The+Road+to+Zig+1.0_&rft.date=2019-05-13&rft.genre=unknown&rft.jtitle=www.gingerbill.org&rft_id=https%3A%2F%2Fwww.gingerbill.org%2Farticle%2F2019%2F05%2F13%2Fa-reply-to-the-road-to-zig%2F&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-16">^</a></b></span> <span class="reference-text"><cite id="CITEREF2020" class="citation"><a rel="nofollow" class="external text" href="https://github.com/ziglang/zig">ziglang/zig</a>, Zig Programming Language, 2020-02-11 <span class="reference-accessdate"> [<span class="nowrap">2020-02-11</span>]</span>, (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20220330200511/https://github.com/ziglang/zig">存档</a>于2022-03-30)</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.btitle=ziglang%2Fzig&rft.date=2020-02-11&rft.genre=book&rft.pub=Zig+Programming+Language&rft_id=https%3A%2F%2Fgithub.com%2Fziglang%2Fzig&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-17">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://ziglang.org/download/0.6.0/release-notes.html#zig-cc">0.6.0 Release Notes · The Zig Programming Language</a>. ziglang.org. <span class="reference-accessdate"> [<span class="nowrap">2020-04-19</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20220221212513/https://ziglang.org/download/0.6.0/release-notes.html#zig-cc">存档</a>于2022-02-21).</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=0.6.0+Release+Notes+%C2%B7+The+Zig+Programming+Language&rft.genre=unknown&rft.jtitle=ziglang.org&rft_id=https%3A%2F%2Fziglang.org%2Fdownload%2F0.6.0%2Frelease-notes.html%23zig-cc&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-18">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html"><span style="padding-left:0.2em;">'</span>zig cc': a Powerful Drop-In Replacement for GCC/Clang - Andrew Kelley</a>. andrewkelley.me. <span class="reference-accessdate"> [<span class="nowrap">2021-05-28</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20220317030142/https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html">存档</a>于2022-03-17).</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=%27zig+cc%27%3A+a+Powerful+Drop-In+Replacement+for+GCC%2FClang+-+Andrew+Kelley&rft.genre=unknown&rft.jtitle=andrewkelley.me&rft_id=https%3A%2F%2Fandrewkelley.me%2Fpost%2Fzig-cc-powerful-drop-in-replacement-gcc-clang.html&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-19">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://dev.to/kristoff/zig-makes-go-cross-compilation-just-work-29ho">Zig Makes Go Cross Compilation Just Work</a>. DEV Community. <span class="reference-accessdate"> [<span class="nowrap">2021-05-28</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20220303084721/https://dev.to/kristoff/zig-makes-go-cross-compilation-just-work-29ho">存档</a>于2022-03-03) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到英语网页">(英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Zig+Makes+Go+Cross+Compilation+Just+Work&rft.genre=unknown&rft.jtitle=DEV+Community&rft_id=https%3A%2F%2Fdev.to%2Fkristoff%2Fzig-makes-go-cross-compilation-just-work-29ho&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-20">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://twitter.com/kubkon/status/1377146321136537602">Jakub Konka on Twitter</a>. Twitter. <span class="reference-accessdate"> [<span class="nowrap">2021-05-28</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20211201063921/https://twitter.com/kubkon/status/1377146321136537602">存档</a>于2021-12-01) <span style="font-family: sans-serif; cursor: default; color:var(--color-subtle, #54595d); font-size: 0.8em; bottom: 0.1em; font-weight: bold;" title="连接到英语网页">(英语)</span>.</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Jakub+Konka+on+Twitter&rft.genre=unknown&rft.jtitle=Twitter&rft_id=https%3A%2F%2Ftwitter.com%2Fkubkon%2Fstatus%2F1377146321136537602&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-21"><span class="mw-cite-backlink"><b><a href="#cite_ref-21">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://ziglang.org/news/announcing-zig-software-foundation/">Announcing the Zig Software Foundation ⚡ Zig Programming Language</a>. ziglang.org. <span class="reference-accessdate"> [<span class="nowrap">2021-05-28</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20211115224319/https://ziglang.org/news/announcing-zig-software-foundation/">存档</a>于2021-11-15).</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Announcing+the+Zig+Software+Foundation+%E2%9A%A1+Zig+Programming+Language&rft.genre=unknown&rft.jtitle=ziglang.org&rft_id=https%3A%2F%2Fziglang.org%2Fnews%2Fannouncing-zig-software-foundation%2F&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> <li id="cite_note-22"><span class="mw-cite-backlink"><b><a href="#cite_ref-22">^</a></b></span> <span class="reference-text"><cite class="citation web"><a rel="nofollow" class="external text" href="https://ziglang.org/zsf/">Sponsor ZSF ⚡ Zig Programming Language</a>. ziglang.org. <span class="reference-accessdate"> [<span class="nowrap">2021-05-28</span>]</span>. (原始内容<a rel="nofollow" class="external text" href="https://web.archive.org/web/20220221214224/https://ziglang.org/zsf/">存档</a>于2022-02-21).</cite><span title="ctx_ver=Z39.88-2004&rfr_id=info%3Asid%2Fzh.wikipedia.org%3AZig&rft.atitle=Sponsor+ZSF+%E2%9A%A1+Zig+Programming+Language&rft.genre=unknown&rft.jtitle=ziglang.org&rft_id=https%3A%2F%2Fziglang.org%2Fzsf%2F&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal" class="Z3988"><span style="display:none;"> </span></span></span> </li> </ol></div> <div class="mw-heading mw-heading2"><h2 id="外部連接"><span id=".E5.A4.96.E9.83.A8.E9.80.A3.E6.8E.A5"></span>外部連接</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Zig&action=edit&section=6" title="编辑章节:外部連接"><span>编辑</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><span class="official-website"><span class="url"><a rel="nofollow" class="external text" href="//ziglang.org/">官方網站</a></span></span></li> <li><a rel="nofollow" class="external text" href="https://github.com/ziglang/zig">GitHub</a> (<a rel="nofollow" class="external text" href="//web.archive.org/web/20220330200511/https://github.com/ziglang/zig">页面存档备份</a>,存于<a href="/wiki/%E4%BA%92%E8%81%94%E7%BD%91%E6%A1%A3%E6%A1%88%E9%A6%86" title="互联网档案馆">互联网档案馆</a>)</li></ul> <div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r84265675">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li{display:none}.mw-parser-output .hlist dt::after{content:" :"}.mw-parser-output .hlist dd::after,.mw-parser-output .hlist li::after{content:" · ";font-weight:bold}.mw-parser-output .hlist-pipe dd::after,.mw-parser-output .hlist-pipe li::after{content:" | ";font-weight:normal}.mw-parser-output .hlist-hyphen dd::after,.mw-parser-output .hlist-hyphen li::after{content:" - ";font-weight:normal}.mw-parser-output .hlist-comma dd::after,.mw-parser-output .hlist-comma li::after{content:"、";font-weight:normal}.mw-parser-output .hlist dd:last-child::after,.mw-parser-output .hlist dt:last-child::after,.mw-parser-output .hlist li:last-child::after{content:none}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li::before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child::before,.mw-parser-output .hlist dt ol>li:first-child::before,.mw-parser-output .hlist li ol>li:first-child::before{content:"("counter(listitem)"\a0 "}.mw-parser-output ul.cslist,.mw-parser-output ul.sslist{margin:0;padding:0;display:inline-block;list-style:none}.mw-parser-output .cslist li,.mw-parser-output .sslist li{margin:0;display:inline-block}.mw-parser-output .cslist li::after{content:","}.mw-parser-output .sslist li::after{content:";"}.mw-parser-output .cslist li:last-child::after,.mw-parser-output .sslist li:last-child::after{content:none}</style><style data-mw-deduplicate="TemplateStyles:r84261037">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{text-align:center;padding-left:1em;padding-right:1em}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf;position:relative}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em;width:auto;padding-left:0.2em;position:absolute;left:1em}.mw-parser-output .navbox .mw-collapsible-toggle{margin-left:0.5em;position:absolute;right:1em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}</style></div><div role="navigation" class="navbox" aria-labelledby="编程语言" style="padding:3px"><table class="nowraplinks hlist mw-collapsible mw-collapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="collapsible-title navbox-title" colspan="2"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r84265675"><style data-mw-deduplicate="TemplateStyles:r84244141">.mw-parser-output .navbar{display:inline;font-weight:normal}.mw-parser-output .navbar-collapse{float:left;text-align:left}.mw-parser-output .navbar-boxtext{word-spacing:0}.mw-parser-output .navbar ul{display:inline-block;white-space:nowrap;line-height:inherit}.mw-parser-output .navbar-brackets::before{margin-right:-0.125em;content:"[ "}.mw-parser-output .navbar-brackets::after{margin-left:-0.125em;content:" ]"}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbar a>span,.mw-parser-output .navbar a>abbr{text-decoration:inherit}.mw-parser-output .navbar-mini abbr{font-variant:small-caps;border-bottom:none;text-decoration:none;cursor:inherit}.mw-parser-output .navbar-ct-full{font-size:110%;margin:0 8em}.mw-parser-output .navbar-ct-mini{font-size:110%;margin:0 5em}html.skin-theme-clientpref-night .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}@media(prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .navbar li a abbr{color:var(--color-base)!important}}@media print{.mw-parser-output .navbar{display:none!important}}</style><div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view"><a href="/wiki/Template:%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E8%AF%AD%E8%A8%80" title="Template:程序设计语言"><abbr title="查看该模板">查</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E8%AF%AD%E8%A8%80" title="Template talk:程序设计语言"><abbr title="讨论该模板">论</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:%E7%BC%96%E8%BE%91%E9%A1%B5%E9%9D%A2/Template:%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E8%AF%AD%E8%A8%80" title="Special:编辑页面/Template:程序设计语言"><abbr title="编辑该模板">编</abbr></a></li></ul></div><div id="编程语言" style="font-size:110%;margin:0 5em"><a href="/wiki/%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80" title="编程语言">编程语言</a></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E7%BC%96%E7%A8%8B%E8%8C%83%E5%9E%8B" title="编程范型">范型</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E8%BF%87%E7%A8%8B%E5%BC%8F%E7%BC%96%E7%A8%8B" title="过程式编程">过程式</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Fortran" title="Fortran">FORTRAN</a></li> <li><a href="/wiki/COBOL" title="COBOL">COBOL</a></li> <li><a href="/wiki/JOVIAL" title="JOVIAL">JOVIAL</a></li> <li><a href="/wiki/ALGOL_60" title="ALGOL 60">ALGOL 60</a></li> <li><span class="ilh-all" data-orig-title="JOSS" data-lang-code="en" data-lang-name="英语" data-foreign-title="JOSS"><span class="ilh-page"><a href="/w/index.php?title=JOSS&action=edit&redlink=1" class="new" title="JOSS(页面不存在)">JOSS</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/JOSS" class="extiw" title="en:JOSS"><span lang="en" dir="auto">JOSS</span></a></span>)</span></span></li> <li><a href="/wiki/BASIC" title="BASIC">BASIC</a></li> <li><a href="/wiki/PL/I" title="PL/I">PL/I</a></li> <li><span class="ilh-all" data-orig-title="MUMPS" data-lang-code="en" data-lang-name="英语" data-foreign-title="MUMPS"><span class="ilh-page"><a href="/w/index.php?title=MUMPS&action=edit&redlink=1" class="new" title="MUMPS(页面不存在)">MUMPS</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/MUMPS" class="extiw" title="en:MUMPS"><span lang="en" dir="auto">MUMPS</span></a></span>)</span></span></li> <li><a href="/wiki/ALGOL_68" title="ALGOL 68">ALGOL 68</a></li> <li><a href="/wiki/Forth" title="Forth">Forth</a></li> <li><a href="/wiki/Pascal%E8%AA%9E%E8%A8%80" title="Pascal語言">Pascal</a> <ul><li><a href="/wiki/Turbo_Pascal" title="Turbo Pascal">Turbo Pascal</a></li></ul></li> <li><a href="/wiki/C%E8%AF%AD%E8%A8%80" title="C语言">C</a></li> <li><a href="/wiki/Modula-2" title="Modula-2">Modula-2</a></li> <li><a href="/wiki/Ada" title="Ada">Ada 83</a></li> <li><a href="/wiki/Occam" title="Occam">occam</a></li> <li><a href="/wiki/Oberon" title="Oberon">Oberon</a></li> <li><a href="/wiki/Go" title="Go">Go</a></li> <li><span class="ilh-all" data-orig-title="Ballerina语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="Ballerina (programming language)"><span class="ilh-page"><a href="/w/index.php?title=Ballerina%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="Ballerina语言(页面不存在)">Ballerina</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Ballerina_(programming_language)" class="extiw" title="en:Ballerina (programming language)"><span lang="en" dir="auto">Ballerina (programming language)</span></a></span>)</span></span></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1" title="面向对象程序设计">面向对象</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Simula" title="Simula">Simula 67</a></li> <li><a href="/wiki/Smalltalk" title="Smalltalk">Smalltalk</a></li> <li><a href="/wiki/Objective-C" title="Objective-C">Objective-C</a></li> <li><a href="/wiki/Eiffel" title="Eiffel">Eiffel</a></li> <li><a href="/wiki/Object_Pascal" title="Object Pascal">Object Pascal</a> <ul><li><a href="/wiki/Delphi" title="Delphi">Delphi</a></li></ul></li> <li><a href="/wiki/Self" title="Self">Self</a></li> <li><a href="/wiki/Common_Lisp%E5%AF%B9%E8%B1%A1%E7%B3%BB%E7%BB%9F" title="Common Lisp对象系统">CLOS</a></li> <li><a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a> <ul><li><a href="/wiki/Gambas" title="Gambas">Gambas</a></li></ul></li> <li><a href="/wiki/Ada" title="Ada">Ada 95</a></li> <li><a href="/wiki/Java" title="Java">Java</a></li> <li><a href="/wiki/C%E2%99%AF" title="C♯">C#</a> <ul><li><a href="/wiki/Vala" title="Vala">Vala</a></li></ul></li> <li><span class="ilh-all" data-orig-title="Crystal语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="Crystal (programming language)"><span class="ilh-page"><a href="/w/index.php?title=Crystal%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="Crystal语言(页面不存在)">Crystal</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Crystal_(programming_language)" class="extiw" title="en:Crystal (programming language)"><span lang="en" dir="auto">Crystal (programming language)</span></a></span>)</span></span></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E5%A4%9A%E9%87%8D%E7%BC%96%E7%A8%8B%E8%8C%83%E5%9E%8B" title="多重编程范型">多范型</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/C%2B%2B" title="C++">C++</a></li> <li><a href="/wiki/Modula-3" title="Modula-3">Modula-3</a></li> <li><a href="/wiki/Dylan%E8%AF%AD%E8%A8%80" title="Dylan语言">Dylan</a></li> <li><a href="/wiki/Python" title="Python">Python</a></li> <li><a href="/wiki/Lua" title="Lua">Lua</a></li> <li><a href="/wiki/JavaScript" title="JavaScript">JavaScript</a></li> <li><a href="/wiki/Ruby" title="Ruby">Ruby</a></li> <li><a href="/wiki/D%E8%AA%9E%E8%A8%80" title="D語言">D</a></li> <li><a href="/wiki/Factor%E8%AF%AD%E8%A8%80" title="Factor语言">Factor</a></li> <li><a href="/wiki/Scala" title="Scala">Scala</a></li> <li><a href="/wiki/F%E2%99%AF" title="F♯">F#</a></li> <li><a href="/wiki/Haxe" title="Haxe">Haxe</a></li> <li><a href="/wiki/Nim" title="Nim">Nim</a></li> <li><span class="ilh-all" data-orig-title="Chapel语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="Chapel (programming language)"><span class="ilh-page"><a href="/w/index.php?title=Chapel%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="Chapel语言(页面不存在)">Chapel</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Chapel_(programming_language)" class="extiw" title="en:Chapel (programming language)"><span lang="en" dir="auto">Chapel (programming language)</span></a></span>)</span></span></li> <li><a href="/wiki/Rust" title="Rust">Rust</a></li> <li><a href="/wiki/Kotlin" title="Kotlin">Kotlin</a></li> <li><a href="/wiki/Dart" title="Dart">Dart</a></li> <li><a href="/wiki/Swift%E8%AA%9E%E8%A8%80" title="Swift語言">Swift</a></li> <li><a class="mw-selflink selflink">Zig</a></li> <li><span class="ilh-all" data-orig-title="Ring语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="Ring (programming language)"><span class="ilh-page"><a href="/w/index.php?title=Ring%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="Ring语言(页面不存在)">Ring</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Ring_(programming_language)" class="extiw" title="en:Ring (programming language)"><span lang="en" dir="auto">Ring (programming language)</span></a></span>)</span></span></li> <li><span class="ilh-all" data-orig-title="V语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="V (programming language)"><span class="ilh-page"><a href="/w/index.php?title=V%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="V语言(页面不存在)">V</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/V_(programming_language)" class="extiw" title="en:V (programming language)"><span lang="en" dir="auto">V (programming language)</span></a></span>)</span></span></li> <li><a href="/wiki/Mojo" title="Mojo">Mojo</a></li> <li><a href="/wiki/Carbon%E8%AF%AD%E8%A8%80" title="Carbon语言">Carbon</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E5%87%BD%E6%95%B0%E5%BC%8F%E7%BC%96%E7%A8%8B" title="函数式编程">函数式</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><td colspan="2" class="navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/LISP" title="LISP">LISP</a> <ul><li><a href="/wiki/Scheme" title="Scheme">Scheme</a></li> <li><a href="/wiki/Common_Lisp" title="Common Lisp">Common Lisp</a></li> <li><a href="/wiki/Clojure" title="Clojure">Clojure</a></li></ul></li> <li><a href="/wiki/Logo_(%E7%A8%8B%E5%BA%8F%E8%AF%AD%E8%A8%80)" title="Logo (程序语言)">Logo</a></li> <li><a href="/wiki/APL%E8%AA%9E%E8%A8%80" title="APL語言">APL</a>/<a href="/wiki/J%E8%AF%AD%E8%A8%80" title="J语言">J</a></li> <li><a href="/wiki/ML%E8%AF%AD%E8%A8%80" title="ML语言">ML</a> <ul><li><a href="/wiki/Standard_ML" title="Standard ML">Standard ML</a></li> <li><a href="/wiki/OCaml" title="OCaml">OCaml</a></li></ul></li> <li><a href="/wiki/Erlang" title="Erlang">Erlang</a> <ul><li><a href="/wiki/Elixir_(%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80)" title="Elixir (编程语言)">Elixir</a></li></ul></li> <li><a href="/wiki/Haskell" title="Haskell">Haskell</a></li> <li><a href="/wiki/SAC%E8%AF%AD%E8%A8%80" title="SAC语言">SAC</a></li> <li><a href="/wiki/Agda" title="Agda">Agda</a></li> <li><a href="/wiki/Idris" title="Idris">Idris</a></li> <li><span class="ilh-all" data-orig-title="jq语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="jq (programming language)"><span class="ilh-page"><a href="/w/index.php?title=Jq%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="Jq语言(页面不存在)">jq</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/jq_(programming_language)" class="extiw" title="en:jq (programming language)"><span lang="en" dir="auto">jq (programming language)</span></a></span>)</span></span></li> <li><span class="ilh-all" data-orig-title="Gleam语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="Gleam (programming language)"><span class="ilh-page"><a href="/w/index.php?title=Gleam%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="Gleam语言(页面不存在)">Gleam</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Gleam_(programming_language)" class="extiw" title="en:Gleam (programming language)"><span lang="en" dir="auto">Gleam (programming language)</span></a></span>)</span></span></li></ul> </div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E9%82%8F%E8%BC%AF%E7%B7%A8%E7%A8%8B" title="邏輯編程">逻辑式</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Prolog" title="Prolog">Prolog</a></li> <li><a href="/wiki/Datalog" title="Datalog">Datalog</a></li> <li><a href="/wiki/Mercury%E8%AF%AD%E8%A8%80" title="Mercury语言">Mercury</a></li> <li><a href="/wiki/%E5%9B%9E%E7%AD%94%E9%9B%86%E7%BC%96%E7%A8%8B" title="回答集编程">AnsProlog</a></li> <li><span class="ilh-all" data-orig-title="ProbLog" data-lang-code="en" data-lang-name="英语" data-foreign-title="ProbLog"><span class="ilh-page"><a href="/w/index.php?title=ProbLog&action=edit&redlink=1" class="new" title="ProbLog(页面不存在)">ProbLog</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/ProbLog" class="extiw" title="en:ProbLog"><span lang="en" dir="auto">ProbLog</span></a></span>)</span></span></li></ul> </div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E8%84%9A%E6%9C%AC%E8%AF%AD%E8%A8%80" title="脚本语言">脚本语言</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E5%8A%A8%E6%80%81%E8%AF%AD%E8%A8%80" title="动态语言">动态语言</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/SNOBOL" title="SNOBOL">SNOBOL</a></li> <li><a href="/wiki/Icon%E8%AF%AD%E8%A8%80" title="Icon语言">Icon</a></li> <li><a href="/wiki/REXX" title="REXX">REXX</a></li> <li><a href="/wiki/Perl" title="Perl">Perl</a> <ul><li><a href="/wiki/Raku" title="Raku">Raku</a></li></ul></li> <li><a href="/wiki/Tcl" title="Tcl">Tcl</a>/<a href="/wiki/Tk" title="Tk">Tk</a></li> <li><a href="/wiki/Python" title="Python">Python</a></li> <li><a href="/wiki/Lua" title="Lua">Lua</a></li> <li><a href="/wiki/Ruby" title="Ruby">Ruby</a></li> <li><a href="/wiki/PHP" title="PHP">PHP</a> <ul><li><a href="/wiki/Hack%E8%AA%9E%E8%A8%80" title="Hack語言">Hack</a></li></ul></li> <li><span class="ilh-all" data-orig-title="ColdFusion标记语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="ColdFusion Markup Language"><span class="ilh-page"><a href="/w/index.php?title=ColdFusion%E6%A0%87%E8%AE%B0%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="ColdFusion标记语言(页面不存在)">CFML</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/ColdFusion_Markup_Language" class="extiw" title="en:ColdFusion Markup Language"><span lang="en" dir="auto">ColdFusion Markup Language</span></a></span>)</span></span></li> <li><a href="/wiki/REBOL" title="REBOL">REBOL</a> <ul><li><span class="ilh-all" data-orig-title="Red语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="Red (programming language)"><span class="ilh-page"><a href="/w/index.php?title=Red%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="Red语言(页面不存在)">Red</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Red_(programming_language)" class="extiw" title="en:Red (programming language)"><span lang="en" dir="auto">Red (programming language)</span></a></span>)</span></span></li></ul></li> <li><a href="/wiki/Io%E8%AF%AD%E8%A8%80" title="Io语言">Io</a></li> <li><a href="/wiki/Julia%E8%AF%AD%E8%A8%80" title="Julia语言">Julia</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Unix_shell" title="Unix shell">Shell语言</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Unix_shell" title="Unix shell">Unix shell</a> <ul><li><a href="/wiki/Bourne_shell" title="Bourne shell">sh</a>/<a href="/wiki/Almquist_shell" title="Almquist shell">ash</a>/<a href="/wiki/Debian_Almquist_shell" title="Debian Almquist shell">dash</a></li> <li><a href="/wiki/C_Shell" title="C Shell">csh</a>/<a href="/wiki/Tcsh" title="Tcsh">tcsh</a></li> <li><a href="/wiki/KornShell" title="KornShell">ksh</a></li> <li><a href="/wiki/Bash" title="Bash">bash</a></li> <li><a href="/wiki/Z_shell" title="Z shell">zsh</a></li> <li><span class="ilh-all" data-orig-title="rc" data-lang-code="en" data-lang-name="英语" data-foreign-title="rc (Unix shell)"><span class="ilh-page"><a href="/w/index.php?title=Rc&action=edit&redlink=1" class="new" title="Rc(页面不存在)">rc</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/rc_(Unix_shell)" class="extiw" title="en:rc (Unix shell)"><span lang="en" dir="auto">rc (Unix shell)</span></a></span>)</span></span></li></ul></li> <li><a href="/wiki/Sed" title="Sed">sed</a></li> <li><a href="/wiki/AWK" title="AWK">AWK</a></li> <li><a href="/wiki/PowerShell" title="PowerShell">PowerShell</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/ECMAScript" title="ECMAScript">ECMA-262</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/ECMAScript" title="ECMAScript">ECMAScript</a> <ul><li><a href="/wiki/JavaScript" title="JavaScript">JavaScript</a></li></ul></li> <li><a href="/wiki/TypeScript" title="TypeScript">TypeScript</a></li> <li><a href="/wiki/CoffeeScript" title="CoffeeScript">CoffeeScript</a>/<span class="ilh-all" data-orig-title="LiveScript语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="LiveScript (programming language)"><span class="ilh-page"><a href="/w/index.php?title=LiveScript%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="LiveScript语言(页面不存在)">LiveScript</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/LiveScript_(programming_language)" class="extiw" title="en:LiveScript (programming language)"><span lang="en" dir="auto">LiveScript (programming language)</span></a></span>)</span></span></li> <li><a href="/wiki/Elm%E8%AF%AD%E8%A8%80" title="Elm语言">Elm</a></li> <li><a href="/wiki/PureScript" title="PureScript">PureScript</a></li> <li><a href="/wiki/Reason%E8%AF%AD%E8%A8%80" title="Reason语言">Reason</a></li> <li><span class="ilh-all" data-orig-title="Bosque语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="Bosque (programming language)"><span class="ilh-page"><a href="/w/index.php?title=Bosque%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="Bosque语言(页面不存在)">Bosque</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Bosque_(programming_language)" class="extiw" title="en:Bosque (programming language)"><span lang="en" dir="auto">Bosque (programming language)</span></a></span>)</span></span></li></ul> </div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">特定平台</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/.NET" title=".NET">.NET</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/C%E2%99%AF" title="C♯">C#</a></li> <li><a href="/wiki/C%2B%2B/CLI" title="C++/CLI">C++/CLI</a></li> <li><a href="/wiki/F%E2%99%AF" title="F♯">F#</a></li> <li><a href="/wiki/PowerShell" title="PowerShell">PowerShell</a></li> <li><a href="/wiki/Visual_Basic_.NET" title="Visual Basic .NET">VB.NET</a></li> <li><a href="/wiki/Microsoft_Small_Basic" title="Microsoft Small Basic">Small Basic</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/Java%E8%99%9A%E6%8B%9F%E6%9C%BA" title="Java虚拟机">JVM</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Java" title="Java">Java</a> <ul><li><span class="ilh-all" data-orig-title="AspectJ" data-lang-code="en" data-lang-name="英语" data-foreign-title="AspectJ"><span class="ilh-page"><a href="/w/index.php?title=AspectJ&action=edit&redlink=1" class="new" title="AspectJ(页面不存在)">AspectJ</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/AspectJ" class="extiw" title="en:AspectJ"><span lang="en" dir="auto">AspectJ</span></a></span>)</span></span></li></ul></li> <li><a href="/wiki/Scala" title="Scala">Scala</a></li> <li><a href="/wiki/Clojure" title="Clojure">Clojure</a></li> <li><a href="/wiki/Groovy" title="Groovy">Groovy</a></li> <li><a href="/wiki/Kotlin" title="Kotlin">Kotlin</a></li></ul> </div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E9%A2%86%E5%9F%9F%E7%89%B9%E5%AE%9A%E8%AF%AD%E8%A8%80" title="领域特定语言">特定领域</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E8%BF%90%E7%AE%97%E7%A7%91%E5%AD%A6" title="运算科学">科学计算</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><span class="ilh-all" data-orig-title="Speakeasy (计算机环境)" data-lang-code="en" data-lang-name="英语" data-foreign-title="Speakeasy (computational environment)"><span class="ilh-page"><a href="/w/index.php?title=Speakeasy_(%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%8E%AF%E5%A2%83)&action=edit&redlink=1" class="new" title="Speakeasy (计算机环境)(页面不存在)">Speakeasy</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Speakeasy_(computational_environment)" class="extiw" title="en:Speakeasy (computational environment)"><span lang="en" dir="auto">Speakeasy (computational environment)</span></a></span>)</span></span></li> <li><a href="/wiki/%E4%BA%A4%E4%BA%92%E5%BC%8F%E6%95%B0%E6%8D%AE%E8%AF%AD%E8%A8%80" title="交互式数据语言">IDL</a> <ul><li><a href="/wiki/GNU%E6%95%B0%E6%8D%AE%E8%AF%AD%E8%A8%80" title="GNU数据语言">GDL</a></li></ul></li> <li><a href="/wiki/Maxima" title="Maxima">Maxima</a></li> <li><a href="/wiki/Maple" title="Maple">Maple</a></li> <li><a href="/wiki/MATLAB" title="MATLAB">MATLAB</a> <ul><li><a href="/wiki/GNU_Octave" title="GNU Octave">Octave</a></li> <li><a href="/wiki/Scilab" title="Scilab">Scilab</a></li></ul></li> <li><a href="/wiki/Wolfram%E8%AF%AD%E8%A8%80" title="Wolfram语言">Wolfram</a></li> <li><a href="/wiki/R%E8%AF%AD%E8%A8%80" title="R语言">R</a></li> <li><span class="ilh-all" data-orig-title="Yorick语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="Yorick (programming language)"><span class="ilh-page"><a href="/w/index.php?title=Yorick%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="Yorick语言(页面不存在)">Yorick</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Yorick_(programming_language)" class="extiw" title="en:Yorick (programming language)"><span lang="en" dir="auto">Yorick (programming language)</span></a></span>)</span></span></li> <li><a href="/wiki/SageMath" title="SageMath">SageMath</a></li> <li><a href="/wiki/Julia%E8%AF%AD%E8%A8%80" title="Julia语言">Julia</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E5%9B%BE%E5%BD%A2%E5%A4%84%E7%90%86%E5%99%A8%E9%80%9A%E7%94%A8%E8%AE%A1%E7%AE%97" title="图形处理器通用计算">GPU计算</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Cg%E8%AA%9E%E8%A8%80" title="Cg語言">Cg</a>/<a href="/wiki/%E9%AB%98%E7%BA%A7%E7%9D%80%E8%89%B2%E5%99%A8%E8%AF%AD%E8%A8%80" title="高级着色器语言">HLSL</a></li> <li><a href="/wiki/GLSL" title="GLSL">GLSL</a></li> <li><span class="ilh-all" data-orig-title="BrookGPU" data-lang-code="en" data-lang-name="英语" data-foreign-title="BrookGPU"><span class="ilh-page"><a href="/w/index.php?title=BrookGPU&action=edit&redlink=1" class="new" title="BrookGPU(页面不存在)">Brook</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/BrookGPU" class="extiw" title="en:BrookGPU"><span lang="en" dir="auto">BrookGPU</span></a></span>)</span></span></li> <li><a href="/wiki/OpenCL" title="OpenCL">OpenCL</a> <ul><li><a href="/wiki/SYCL" title="SYCL">SYCL</a></li></ul></li> <li><a href="/wiki/CUDA" title="CUDA">CUDA</a>/<span class="ilh-all" data-orig-title="并行线程执行" data-lang-code="en" data-lang-name="英语" data-foreign-title="Parallel Thread Execution"><span class="ilh-page"><a href="/w/index.php?title=%E5%B9%B6%E8%A1%8C%E7%BA%BF%E7%A8%8B%E6%89%A7%E8%A1%8C&action=edit&redlink=1" class="new" title="并行线程执行(页面不存在)">PTX</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Parallel_Thread_Execution" class="extiw" title="en:Parallel Thread Execution"><span lang="en" dir="auto">Parallel Thread Execution</span></a></span>)</span></span></li> <li><a href="/wiki/Futhark%E8%AF%AD%E8%A8%80" title="Futhark语言">Futhark</a></li> <li><span class="ilh-all" data-orig-title="标准可移植中间表示" data-lang-code="en" data-lang-name="英语" data-foreign-title="Standard Portable Intermediate Representation"><span class="ilh-page"><a href="/w/index.php?title=%E6%A0%87%E5%87%86%E5%8F%AF%E7%A7%BB%E6%A4%8D%E4%B8%AD%E9%97%B4%E8%A1%A8%E7%A4%BA&action=edit&redlink=1" class="new" title="标准可移植中间表示(页面不存在)">SPIR-V</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Standard_Portable_Intermediate_Representation" class="extiw" title="en:Standard Portable Intermediate Representation"><span lang="en" dir="auto">Standard Portable Intermediate Representation</span></a></span>)</span></span></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E6%9F%A5%E8%A9%A2%E8%AA%9E%E8%A8%80" title="查詢語言">数据查询</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><span class="ilh-all" data-orig-title="CODASYL" data-lang-code="en" data-lang-name="英语" data-foreign-title="CODASYL"><span class="ilh-page"><a href="/w/index.php?title=CODASYL&action=edit&redlink=1" class="new" title="CODASYL(页面不存在)">CODASYL</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/CODASYL" class="extiw" title="en:CODASYL"><span lang="en" dir="auto">CODASYL</span></a></span>)</span></span></li> <li><a href="/wiki/SQL" title="SQL">SQL</a> <ul><li><a href="/wiki/PL-SQL" title="PL-SQL">PL/SQL</a></li> <li><a href="/wiki/Transact-SQL" title="Transact-SQL">T-SQL</a></li> <li><span class="ilh-all" data-orig-title="SQL/PSM" data-lang-code="en" data-lang-name="英语" data-foreign-title="SQL/PSM"><span class="ilh-page"><a href="/w/index.php?title=SQL/PSM&action=edit&redlink=1" class="new" title="SQL/PSM(页面不存在)">SQL/PSM</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/SQL/PSM" class="extiw" title="en:SQL/PSM"><span lang="en" dir="auto">SQL/PSM</span></a></span>)</span></span></li></ul></li> <li><span class="ilh-all" data-orig-title="xBase" data-lang-code="en" data-lang-name="英语" data-foreign-title="xBase"><span class="ilh-page"><a href="/w/index.php?title=XBase&action=edit&redlink=1" class="new" title="XBase(页面不存在)">xBase</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/xBase" class="extiw" title="en:xBase"><span lang="en" dir="auto">xBase</span></a></span>)</span></span></li> <li><a href="/wiki/XPath" title="XPath">XPath</a></li> <li><span class="ilh-all" data-orig-title="XQuery" data-lang-code="en" data-lang-name="英语" data-foreign-title="XQuery"><span class="ilh-page"><a href="/w/index.php?title=XQuery&action=edit&redlink=1" class="new" title="XQuery(页面不存在)">XQuery</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/XQuery" class="extiw" title="en:XQuery"><span lang="en" dir="auto">XQuery</span></a></span>)</span></span></li> <li><a href="/wiki/GraphQL" title="GraphQL">GraphQL</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E8%A6%96%E8%A6%BA%E5%8C%96%E7%A8%8B%E5%BC%8F%E8%A8%AD%E8%A8%88%E8%AA%9E%E8%A8%80" title="視覺化程式設計語言">可视化</a></th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><span class="ilh-all" data-orig-title="Prograph" data-lang-code="en" data-lang-name="英语" data-foreign-title="Prograph"><span class="ilh-page"><a href="/w/index.php?title=Prograph&action=edit&redlink=1" class="new" title="Prograph(页面不存在)">Prograph</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Prograph" class="extiw" title="en:Prograph"><span lang="en" dir="auto">Prograph</span></a></span>)</span></span></li> <li><a href="/wiki/Simulink" title="Simulink">Simulink</a></li> <li><a href="/wiki/LabVIEW" title="LabVIEW">LabVIEW</a></li> <li><span class="ilh-all" data-orig-title="Orange (软件)" data-lang-code="en" data-lang-name="英语" data-foreign-title="Orange (software)"><span class="ilh-page"><a href="/w/index.php?title=Orange_(%E8%BD%AF%E4%BB%B6)&action=edit&redlink=1" class="new" title="Orange (软件)(页面不存在)">Orange</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Orange_(software)" class="extiw" title="en:Orange (software)"><span lang="en" dir="auto">Orange (software)</span></a></span>)</span></span></li> <li><span class="ilh-all" data-orig-title="KNIME" data-lang-code="en" data-lang-name="英语" data-foreign-title="KNIME"><span class="ilh-page"><a href="/w/index.php?title=KNIME&action=edit&redlink=1" class="new" title="KNIME(页面不存在)">KNIME</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/KNIME" class="extiw" title="en:KNIME"><span lang="en" dir="auto">KNIME</span></a></span>)</span></span></li> <li><a href="/wiki/Scratch" title="Scratch">Scratch</a> <ul><li><a href="/wiki/Snap!" title="Snap!">Snap!</a></li> <li><a href="/wiki/MIT%E5%BA%94%E7%94%A8%E5%BC%80%E5%8F%91%E8%80%85" title="MIT应用开发者">App Inventor</a></li></ul></li> <li><a href="/wiki/Microsoft_Power_Fx" title="Microsoft Power Fx">Power Fx</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E4%BC%A0%E5%AA%92%E8%AE%BE%E8%AE%A1" title="传媒设计">传媒设计</a></th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/SuperCollider" title="SuperCollider">SuperCollider</a></li> <li><a href="/wiki/Pure_Data" title="Pure Data">Pure Data</a></li> <li><a href="/wiki/AviSynth#AviSynth脚本语言" title="AviSynth">AviSynth</a></li> <li><a href="/wiki/Processing" title="Processing">Processing</a></li> <li><a href="/wiki/ChucK" title="ChucK">ChucK</a></li></ul> </div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">其它</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80" title="汇编语言">汇编语言</a></li> <li><span class="ilh-all" data-orig-title="APT语言" data-lang-code="en" data-lang-name="英语" data-foreign-title="APT (programming language)"><span class="ilh-page"><a href="/w/index.php?title=APT%E8%AF%AD%E8%A8%80&action=edit&redlink=1" class="new" title="APT语言(页面不存在)">APT</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/APT_(programming_language)" class="extiw" title="en:APT (programming language)"><span lang="en" dir="auto">APT (programming language)</span></a></span>)</span></span></li> <li><span class="ilh-all" data-orig-title="GPSS" data-lang-code="en" data-lang-name="英语" data-foreign-title="GPSS"><span class="ilh-page"><a href="/w/index.php?title=GPSS&action=edit&redlink=1" class="new" title="GPSS(页面不存在)">GPSS</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/GPSS" class="extiw" title="en:GPSS"><span lang="en" dir="auto">GPSS</span></a></span>)</span></span></li> <li><span class="ilh-all" data-orig-title="CLIPS" data-lang-code="en" data-lang-name="英语" data-foreign-title="CLIPS"><span class="ilh-page"><a href="/w/index.php?title=CLIPS&action=edit&redlink=1" class="new" title="CLIPS(页面不存在)">CLIPS</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/CLIPS" class="extiw" title="en:CLIPS"><span lang="en" dir="auto">CLIPS</span></a></span>)</span></span></li> <li><a href="/wiki/AMPL" title="AMPL">AMPL</a></li> <li><a href="/wiki/Dc_(%E7%A8%8B%E5%BA%8F)" title="Dc (程序)">dc</a></li> <li><a href="/wiki/Yacc" title="Yacc">yacc</a></li> <li><a href="/wiki/Make" title="Make">make</a></li> <li><a href="/wiki/PostScript#PostScript语言" title="PostScript">PostScript</a></li> <li><a href="/wiki/XSLT" title="XSLT">XSLT</a></li> <li><a href="/wiki/LLVM#中间表示" title="LLVM">LLVM IR</a></li> <li><a href="/wiki/WebAssembly" title="WebAssembly">WebAssembly</a></li> <li><a href="/wiki/%E6%B7%B1%E5%A5%A5%E7%9A%84%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80" title="深奥的编程语言">深奥的编程语言</a></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="2"><div> <ul><li><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/16px-Symbol_question.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/23px-Symbol_question.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Symbol_question.svg/31px-Symbol_question.svg.png 2x" data-file-width="180" data-file-height="185" /></span></span> <a href="/wiki/Category:%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E8%AF%AD%E8%A8%80" title="Category:程序设计语言">目录</a></li> <li><span typeof="mw:File"><span title="列表级条目"><img alt="列表级条目" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Symbol_list_class.svg/16px-Symbol_list_class.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/db/Symbol_list_class.svg/23px-Symbol_list_class.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/db/Symbol_list_class.svg/31px-Symbol_list_class.svg.png 2x" data-file-width="180" data-file-height="185" /></span></span> <a href="/wiki/%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80%E5%88%97%E8%A1%A8" title="编程语言列表">列表</a></li> <li><a href="/wiki/%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80%E6%AD%B7%E5%8F%B2" title="程式語言歷史">历史</a></li> <li><span class="ilh-all" data-orig-title="编程语言比较" data-lang-code="en" data-lang-name="英语" data-foreign-title="Comparison of programming languages"><span class="ilh-page"><a href="/w/index.php?title=%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80%E6%AF%94%E8%BE%83&action=edit&redlink=1" class="new" title="编程语言比较(页面不存在)">比较</a></span><span class="noprint ilh-comment">(<span class="ilh-lang">英语</span><span class="ilh-colon">:</span><span class="ilh-link"><a href="https://en.wikipedia.org/wiki/Comparison_of_programming_languages" class="extiw" title="en:Comparison of programming languages"><span lang="en" dir="auto">Comparison of programming languages</span></a></span>)</span></span></li> <li><a href="/wiki/%E7%A8%8B%E5%BA%8F%E8%AA%9E%E8%A8%80%E6%99%82%E9%96%93%E7%B7%9A" title="程序語言時間線">时间线</a></li></ul> </div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐6df7948d6c‐q5p2p Cached time: 20241127153926 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 0.722 seconds Real time usage: 0.883 seconds Preprocessor visited node count: 3180/1000000 Post‐expand include size: 396680/2097152 bytes Template argument size: 2508/2097152 bytes Highest expansion depth: 27/100 Expensive parser function count: 36/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 48928/5000000 bytes Lua time usage: 0.320/10.000 seconds Lua memory usage: 7810870/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 624.156 1 -total 38.38% 239.560 6 Template:Navbox 32.28% 201.462 1 Template:Infobox_programming_language 27.35% 170.677 1 Template:Infobox 26.18% 163.403 1 Template:程序设计语言 16.34% 102.005 1 Template:Software_version 15.95% 99.546 1 Template:Reflist 15.18% 94.733 1 Template:Rough_translation 14.89% 92.939 1 Template:Ambox 12.43% 77.594 2 Template:Wikidata --> <!-- Saved in parser cache with key zhwiki:pcache:7917179:|#|:idhash:canonical!zh and timestamp 20241127153926 and revision id 80807518. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">检索自“<a dir="ltr" href="https://zh.wikipedia.org/w/index.php?title=Zig&oldid=80807518">https://zh.wikipedia.org/w/index.php?title=Zig&oldid=80807518</a>”</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:%E9%A1%B5%E9%9D%A2%E5%88%86%E7%B1%BB" title="Special:页面分类">分类</a>:<ul><li><a href="/wiki/Category:%E7%B3%BB%E7%B5%B1%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80" title="Category:系統程式語言">系統程式語言</a></li><li><a href="/wiki/Category:%E4%BD%BF%E7%94%A8MIT%E8%AE%B8%E5%8F%AF%E8%AF%81%E7%9A%84%E8%BD%AF%E4%BB%B6" title="Category:使用MIT许可证的软件">使用MIT许可证的软件</a></li><li><a href="/wiki/Category:%E9%9D%99%E6%80%81%E7%B1%BB%E5%9E%8B%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80" title="Category:静态类型编程语言">静态类型编程语言</a></li><li><a href="/wiki/Category:2015%E5%B9%B4%E5%BB%BA%E7%AB%8B%E7%9A%84%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80" title="Category:2015年建立的程式語言">2015年建立的程式語言</a></li><li><a href="/wiki/Category:%E8%87%AA%E7%94%B1%E7%99%BC%E5%B1%95%E5%85%83%E4%BB%B6%E8%88%87%E5%87%BD%E5%BC%8F%E5%BA%AB" title="Category:自由發展元件與函式庫">自由發展元件與函式庫</a></li><li><a href="/wiki/Category:%E8%87%AA%E7%94%B1%E7%B7%A8%E8%AD%AF%E5%99%A8%E8%88%87%E7%9B%B4%E8%AD%AF%E5%99%A8" title="Category:自由編譯器與直譯器">自由編譯器與直譯器</a></li><li><a href="/wiki/Category:%E5%B5%8C%E5%85%A5%E5%BC%8F%E7%B3%BB%E7%BB%9F" title="Category:嵌入式系统">嵌入式系统</a></li><li><a href="/wiki/Category:%E8%B7%A8%E5%B9%B3%E5%8F%B0%E8%BB%9F%E9%AB%94" title="Category:跨平台軟體">跨平台軟體</a></li><li><a href="/wiki/Category:%E8%87%AA%E7%94%B1%E8%B7%A8%E5%B9%B3%E5%8F%B0%E8%BB%9F%E9%AB%94" title="Category:自由跨平台軟體">自由跨平台軟體</a></li><li><a href="/wiki/Category:%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E8%AF%AD%E8%A8%80" title="Category:程序设计语言">程序设计语言</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">隐藏分类:<ul><li><a href="/wiki/Category:CS1%E7%BE%8E%E5%9B%BD%E8%8B%B1%E8%AF%AD%E6%9D%A5%E6%BA%90_(en-us)" title="Category:CS1美国英语来源 (en-us)">CS1美国英语来源 (en-us)</a></li><li><a href="/wiki/Category:CS1%E8%8B%B1%E8%AF%AD%E6%9D%A5%E6%BA%90_(en)" title="Category:CS1英语来源 (en)">CS1英语来源 (en)</a></li><li><a href="/wiki/Category:CS1%E8%8B%B1%E5%9B%BD%E8%8B%B1%E8%AF%AD%E6%9D%A5%E6%BA%90_(en-gb)" title="Category:CS1英国英语来源 (en-gb)">CS1英国英语来源 (en-gb)</a></li><li><a href="/wiki/Category:%E8%87%AA2022%E5%B9%B411%E6%9C%88%E7%B2%97%E5%8A%A3%E7%BF%BB%E8%AF%91" title="Category:自2022年11月粗劣翻译">自2022年11月粗劣翻译</a></li><li><a href="/wiki/Category:%E4%BD%BF%E7%94%A8%E6%9C%AA%E7%9F%A5%E7%BC%96%E7%A8%8B%E8%AF%AD%E8%A8%80%E4%BF%A1%E6%81%AF%E6%A1%86%E5%8F%82%E6%95%B0%E7%9A%84%E9%A1%B5%E9%9D%A2" title="Category:使用未知编程语言信息框参数的页面">使用未知编程语言信息框参数的页面</a></li><li><a href="/wiki/Category:%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91%E5%92%8C%E7%BB%B4%E5%9F%BA%E6%95%B0%E6%8D%AE%E4%B8%8A%E7%9A%84%E5%AE%98%E6%96%B9%E7%BD%91%E7%AB%99%E4%B8%8D%E5%90%8C" title="Category:维基百科和维基数据上的官方网站不同">维基百科和维基数据上的官方网站不同</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> 本页面最后修订于2024年2月5日 (星期一) 21:19。</li> <li id="footer-info-copyright">本站的全部文字在<a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/deed.zh">知识共享 署名-相同方式共享 4.0协议</a>之条款下提供,附加条款亦可能应用。(请参阅<a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">使用条款</a>)<br /> Wikipedia®和维基百科标志是<a rel="nofollow" class="external text" href="https://wikimediafoundation.org/zh">维基媒体基金会</a>的注册商标;维基™是维基媒体基金会的商标。<br /> 维基媒体基金会是按美国国內稅收法501(c)(3)登记的<a class="external text" href="https://donate.wikimedia.org/wiki/Special:MyLanguage/Tax_deductibility">非营利慈善机构</a>。<br /></li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">隐私政策</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:%E5%85%B3%E4%BA%8E">关于维基百科</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:%E5%85%8D%E8%B4%A3%E5%A3%B0%E6%98%8E">免责声明</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">行为准则</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">开发者</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/zh.wikipedia.org">统计</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie声明</a></li> <li id="footer-places-mobileview"><a href="//zh.m.wikipedia.org/w/index.php?title=Zig&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">手机版视图</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-847495b4dd-spppj","wgBackendResponseTime":196,"wgPageParseReport":{"limitreport":{"cputime":"0.722","walltime":"0.883","ppvisitednodes":{"value":3180,"limit":1000000},"postexpandincludesize":{"value":396680,"limit":2097152},"templateargumentsize":{"value":2508,"limit":2097152},"expansiondepth":{"value":27,"limit":100},"expensivefunctioncount":{"value":36,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":48928,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 624.156 1 -total"," 38.38% 239.560 6 Template:Navbox"," 32.28% 201.462 1 Template:Infobox_programming_language"," 27.35% 170.677 1 Template:Infobox"," 26.18% 163.403 1 Template:程序设计语言"," 16.34% 102.005 1 Template:Software_version"," 15.95% 99.546 1 Template:Reflist"," 15.18% 94.733 1 Template:Rough_translation"," 14.89% 92.939 1 Template:Ambox"," 12.43% 77.594 2 Template:Wikidata"]},"scribunto":{"limitreport-timeusage":{"value":"0.320","limit":"10.000"},"limitreport-memusage":{"value":7810870,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-6df7948d6c-q5p2p","timestamp":"20241127153926","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Zig","url":"https:\/\/zh.wikipedia.org\/wiki\/Zig","sameAs":"http:\/\/www.wikidata.org\/entity\/Q51885456","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q51885456","author":{"@type":"Organization","name":"\u7ef4\u57fa\u5a92\u4f53\u9879\u76ee\u8d21\u732e\u8005"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2022-03-25T06:30:21Z","dateModified":"2024-02-05T21:19:08Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/b\/b3\/Zig_logo_2020.svg"}</script> </body> </html>