CINXE.COM

Bytecode - Wikipedia

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-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-sticky-header-enabled vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Bytecode - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-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-sticky-header-enabled vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);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":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"46ae8bfe-2050-4ae5-a439-21860652a30b","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Bytecode","wgTitle":"Bytecode","wgCurRevisionId":1274718822,"wgRevisionId":1274718822,"wgArticleId":89997,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Articles with short description","Short description matches Wikidata","Articles needing additional references from January 2009","All articles needing additional references","Use dmy dates from May 2019","Virtualization","Bytecodes"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Bytecode","wgRelevantArticleId":89997,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[], "wgRedirectedFrom":"Byte-code","wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgInternalRedirectTargetUrl":"/wiki/Bytecode","wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q837330","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false, "wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"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","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready"};RLPAGEMODULES=["mediawiki.action.view.redirect","ext.cite.ux-enhancements","ext.pygments.view","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","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"];</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=en&amp;modules=ext.cite.styles%7Cext.pygments%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.18"> <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 name="viewport" content="width=1120"> <meta property="og:title" content="Bytecode - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/Bytecode"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Bytecode&amp;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 (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/Bytecode"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;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-Bytecode rootpage-Bytecode skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</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="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" title="Main menu" > <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="Main menu" > <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">Main menu</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">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li><li id="n-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages"><span>Special pages</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" 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="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </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:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</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="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [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:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <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="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <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="Appearance" > <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">Appearance</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&amp;wmf_medium=sidebar&amp;wmf_campaign=en.wikipedia.org&amp;uselang=en" class=""><span>Donate</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:CreateAccount&amp;returnto=Bytecode" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</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:UserLogin&amp;returnto=Bytecode" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o" class=""><span>Log in</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="Log in and more options" > <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="Personal tools" > <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">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <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&amp;wmf_medium=sidebar&amp;wmf_campaign=en.wikipedia.org&amp;uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=Bytecode" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Bytecode" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</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"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</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:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</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="Site"> <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="Contents" 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">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</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">(Top)</div> </a> </li> <li id="toc-Execution" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Execution"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Execution</span> </div> </a> <ul id="toc-Execution-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Examples" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Examples"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Examples</span> </div> </a> <ul id="toc-Examples-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Notes" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Notes"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Notes</span> </div> </a> <ul id="toc-Notes-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>References</span> </div> </a> <ul id="toc-References-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="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" title="Table of Contents" > <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="Toggle the table of contents" > <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">Toggle the table of contents</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">Bytecode</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="Go to an article in another language. Available in 37 languages" > <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-37" 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">37 languages</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%B4%D9%8A%D9%81%D8%B1%D8%A9_%D8%A7%D9%84%D8%A8%D8%A7%D9%8A%D8%AA" title="شيفرة البايت – Arabic" lang="ar" hreflang="ar" data-title="شيفرة البايت" data-language-autonym="العربية" data-language-local-name="Arabic" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%AC%E0%A6%BE%E0%A6%87%E0%A6%9F%E0%A6%95%E0%A7%8B%E0%A6%A1" title="বাইটকোড – Bangla" lang="bn" hreflang="bn" data-title="বাইটকোড" data-language-autonym="বাংলা" data-language-local-name="Bangla" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Bytecode" title="Bytecode – Catalan" lang="ca" hreflang="ca" data-title="Bytecode" data-language-autonym="Català" data-language-local-name="Catalan" 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/Bajtk%C3%B3d" title="Bajtkód – Czech" lang="cs" hreflang="cs" data-title="Bajtkód" data-language-autonym="Čeština" data-language-local-name="Czech" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/Byte-code" title="Byte-code – Danish" lang="da" hreflang="da" data-title="Byte-code" data-language-autonym="Dansk" data-language-local-name="Danish" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Bytecode" title="Bytecode – German" lang="de" hreflang="de" data-title="Bytecode" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/Baitkood" title="Baitkood – Estonian" lang="et" hreflang="et" data-title="Baitkood" data-language-autonym="Eesti" data-language-local-name="Estonian" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Bytecode" title="Bytecode – Spanish" lang="es" hreflang="es" data-title="Bytecode" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/Bajtkodo" title="Bajtkodo – Esperanto" lang="eo" hreflang="eo" data-title="Bajtkodo" data-language-autonym="Esperanto" data-language-local-name="Esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%A8%D8%A7%DB%8C%D8%AA%E2%80%8C%DA%A9%D8%AF" title="بایت‌کد – Persian" lang="fa" hreflang="fa" data-title="بایت‌کد" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Bytecode" title="Bytecode – French" lang="fr" hreflang="fr" data-title="Bytecode" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EB%B0%94%EC%9D%B4%ED%8A%B8%EC%BD%94%EB%93%9C" title="바이트코드 – Korean" lang="ko" hreflang="ko" data-title="바이트코드" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-hy mw-list-item"><a href="https://hy.wikipedia.org/wiki/%D4%B2%D5%A1%D5%B5%D5%A9%D5%AF%D5%B8%D5%A4" title="Բայթկոդ – Armenian" lang="hy" hreflang="hy" data-title="Բայթկոդ" data-language-autonym="Հայերեն" data-language-local-name="Armenian" class="interlanguage-link-target"><span>Հայերեն</span></a></li><li class="interlanguage-link interwiki-io mw-list-item"><a href="https://io.wikipedia.org/wiki/Bicokokodexo" title="Bicokokodexo – Ido" lang="io" hreflang="io" data-title="Bicokokodexo" data-language-autonym="Ido" data-language-local-name="Ido" 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/Bytecode" title="Bytecode – Italian" lang="it" hreflang="it" data-title="Bytecode" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/Bytecode" title="Bytecode – Hebrew" lang="he" hreflang="he" data-title="Bytecode" data-language-autonym="עברית" data-language-local-name="Hebrew" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-ky mw-list-item"><a href="https://ky.wikipedia.org/wiki/%D0%9F%D1%81%D0%B5%D0%B2%D0%B4%D0%BE%D0%BA%D0%BE%D0%B4" title="Псевдокод – Kyrgyz" lang="ky" hreflang="ky" data-title="Псевдокод" data-language-autonym="Кыргызча" data-language-local-name="Kyrgyz" class="interlanguage-link-target"><span>Кыргызча</span></a></li><li class="interlanguage-link interwiki-ml mw-list-item"><a href="https://ml.wikipedia.org/wiki/%E0%B4%AC%E0%B5%88%E0%B4%B1%E0%B5%8D%E0%B4%B1%E0%B5%8D%E0%B4%95%E0%B5%8B%E0%B4%A1%E0%B5%8D" title="ബൈറ്റ്കോഡ് – Malayalam" lang="ml" hreflang="ml" data-title="ബൈറ്റ്കോഡ്" data-language-autonym="മലയാളം" data-language-local-name="Malayalam" class="interlanguage-link-target"><span>മലയാളം</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Kod_bait" title="Kod bait – Malay" lang="ms" hreflang="ms" data-title="Kod bait" data-language-autonym="Bahasa Melayu" data-language-local-name="Malay" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Bytecode" title="Bytecode – Dutch" lang="nl" hreflang="nl" data-title="Bytecode" data-language-autonym="Nederlands" data-language-local-name="Dutch" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/%E3%83%90%E3%82%A4%E3%83%88%E3%82%B3%E3%83%BC%E3%83%89" title="バイトコード – Japanese" lang="ja" hreflang="ja" data-title="バイトコード" data-language-autonym="日本語" data-language-local-name="Japanese" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Kod_bajtowy" title="Kod bajtowy – Polish" lang="pl" hreflang="pl" data-title="Kod bajtowy" data-language-autonym="Polski" data-language-local-name="Polish" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Bytecode" title="Bytecode – Portuguese" lang="pt" hreflang="pt" data-title="Bytecode" data-language-autonym="Português" data-language-local-name="Portuguese" 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/%D0%91%D0%B0%D0%B9%D1%82-%D0%BA%D0%BE%D0%B4" title="Байт-код – Russian" lang="ru" hreflang="ru" data-title="Байт-код" data-language-autonym="Русский" data-language-local-name="Russian" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-sq mw-list-item"><a href="https://sq.wikipedia.org/wiki/Bajtkod" title="Bajtkod – Albanian" lang="sq" hreflang="sq" data-title="Bajtkod" data-language-autonym="Shqip" data-language-local-name="Albanian" class="interlanguage-link-target"><span>Shqip</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Bytecode" title="Bytecode – Simple English" lang="en-simple" hreflang="en-simple" data-title="Bytecode" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Bitna_koda" title="Bitna koda – Slovenian" lang="sl" hreflang="sl" data-title="Bitna koda" data-language-autonym="Slovenščina" data-language-local-name="Slovenian" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/%D0%91%D0%B0%D1%98%D1%82-%D0%BA%D0%BE%D0%B4" title="Бајт-код – Serbian" lang="sr" hreflang="sr" data-title="Бајт-код" data-language-autonym="Српски / srpski" data-language-local-name="Serbian" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Tavukoodi" title="Tavukoodi – Finnish" lang="fi" hreflang="fi" data-title="Tavukoodi" data-language-autonym="Suomi" data-language-local-name="Finnish" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Bytekod" title="Bytekod – Swedish" lang="sv" hreflang="sv" data-title="Bytekod" data-language-autonym="Svenska" data-language-local-name="Swedish" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-te mw-list-item"><a href="https://te.wikipedia.org/wiki/%E0%B0%AC%E0%B1%88%E0%B0%9F%E0%B1%8D_%E0%B0%95%E0%B1%8B%E0%B0%A1%E0%B1%8D" title="బైట్ కోడ్ – Telugu" lang="te" hreflang="te" data-title="బైట్ కోడ్" data-language-autonym="తెలుగు" data-language-local-name="Telugu" class="interlanguage-link-target"><span>తెలుగు</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A3%E0%B8%AB%E0%B8%B1%E0%B8%AA%E0%B9%84%E0%B8%9A%E0%B8%95%E0%B9%8C" title="รหัสไบต์ – Thai" lang="th" hreflang="th" data-title="รหัสไบต์" data-language-autonym="ไทย" data-language-local-name="Thai" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Bytecode" title="Bytecode – Turkish" lang="tr" hreflang="tr" data-title="Bytecode" data-language-autonym="Türkçe" data-language-local-name="Turkish" 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/%D0%91%D0%B0%D0%B9%D1%82-%D0%BA%D0%BE%D0%B4" title="Байт-код – Ukrainian" lang="uk" hreflang="uk" data-title="Байт-код" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/Bytecode" title="Bytecode – Vietnamese" lang="vi" hreflang="vi" data-title="Bytecode" data-language-autonym="Tiếng Việt" data-language-local-name="Vietnamese" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/%E4%BD%8D%E5%85%83%E7%B5%84%E7%A2%BC" title="位元組碼 – Cantonese" lang="yue" hreflang="yue" data-title="位元組碼" data-language-autonym="粵語" data-language-local-name="Cantonese" class="interlanguage-link-target"><span>粵語</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/%E5%AD%97%E8%8A%82%E7%A0%81" title="字节码 – Chinese" lang="zh" hreflang="zh" data-title="字节码" data-language-autonym="中文" data-language-local-name="Chinese" 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/Q837330#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</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="Namespaces"> <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/Bytecode" title="View the content page [c]" accesskey="c"><span>Article</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:Bytecode" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <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="Change language variant" > <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">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <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/Bytecode"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Bytecode&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Bytecode&amp;action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <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="Tools" > <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">Tools</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">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </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/Bytecode"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Bytecode&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Bytecode&amp;action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Bytecode" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Bytecode" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Bytecode&amp;oldid=1274718822" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Bytecode&amp;action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&amp;page=Bytecode&amp;id=1274718822&amp;wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FBytecode"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FBytecode"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Bytecode&amp;action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Bytecode&amp;printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</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"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q837330" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</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="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <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">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</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> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><span class="mw-redirectedfrom">(Redirected from <a href="/w/index.php?title=Byte-code&amp;redirect=no" class="mw-redirect" title="Byte-code">Byte-code</a>)</span></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">Form of instruction set designed to be run by a software interpreter</div> <style data-mw-deduplicate="TemplateStyles:r1236090951">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable">"Portable code" and "P-code" redirect here. For other uses, see <a href="/wiki/Software_portability" title="Software portability">software portability</a> and <a href="/wiki/P-Code_(disambiguation)" class="mw-disambig" title="P-Code (disambiguation)">P-Code (disambiguation)</a>.</div> <style data-mw-deduplicate="TemplateStyles:r1251242444">.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}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}</style><table class="box-More_citations_needed plainlinks metadata ambox ambox-content ambox-Refimprove" role="presentation"><tbody><tr><td class="mbox-image"><div class="mbox-image-div"><span typeof="mw:File"><a href="/wiki/File:Question_book-new.svg" class="mw-file-description"><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/9/99/Question_book-new.svg/50px-Question_book-new.svg.png" decoding="async" width="50" height="39" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/9/99/Question_book-new.svg/75px-Question_book-new.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/9/99/Question_book-new.svg/100px-Question_book-new.svg.png 2x" data-file-width="512" data-file-height="399" /></a></span></div></td><td class="mbox-text"><div class="mbox-text-span">This article <b>needs additional citations for <a href="/wiki/Wikipedia:Verifiability" title="Wikipedia:Verifiability">verification</a></b>.<span class="hide-when-compact"> Please help <a href="/wiki/Special:EditPage/Bytecode" title="Special:EditPage/Bytecode">improve this article</a> by <a href="/wiki/Help:Referencing_for_beginners" title="Help:Referencing for beginners">adding citations to reliable sources</a>. Unsourced material may be challenged and removed.<br /><small><span class="plainlinks"><i>Find sources:</i>&#160;<a rel="nofollow" class="external text" href="https://www.google.com/search?as_eq=wikipedia&amp;q=%22Bytecode%22">"Bytecode"</a>&#160;–&#160;<a rel="nofollow" class="external text" href="https://www.google.com/search?tbm=nws&amp;q=%22Bytecode%22+-wikipedia&amp;tbs=ar:1">news</a>&#160;<b>·</b> <a rel="nofollow" class="external text" href="https://www.google.com/search?&amp;q=%22Bytecode%22&amp;tbs=bkt:s&amp;tbm=bks">newspapers</a>&#160;<b>·</b> <a rel="nofollow" class="external text" href="https://www.google.com/search?tbs=bks:1&amp;q=%22Bytecode%22+-wikipedia">books</a>&#160;<b>·</b> <a rel="nofollow" class="external text" href="https://scholar.google.com/scholar?q=%22Bytecode%22">scholar</a>&#160;<b>·</b> <a rel="nofollow" class="external text" href="https://www.jstor.org/action/doBasicSearch?Query=%22Bytecode%22&amp;acc=on&amp;wc=on">JSTOR</a></span></small></span> <span class="date-container"><i>(<span class="date">January 2009</span>)</i></span><span class="hide-when-compact"><i> (<small><a href="/wiki/Help:Maintenance_template_removal" title="Help:Maintenance template removal">Learn how and when to remove this message</a></small>)</i></span></div></td></tr></tbody></table> <p class="mw-empty-elt"> </p> <style data-mw-deduplicate="TemplateStyles:r1129693374">.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 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 dd dd:first-child::before,.mw-parser-output .hlist dd dt:first-child::before,.mw-parser-output .hlist dd li:first-child::before,.mw-parser-output .hlist dt dd:first-child::before,.mw-parser-output .hlist dt dt:first-child::before,.mw-parser-output .hlist dt li:first-child::before,.mw-parser-output .hlist li dd:first-child::before,.mw-parser-output .hlist li dt:first-child::before,.mw-parser-output .hlist li li:first-child::before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child::after,.mw-parser-output .hlist dd dt:last-child::after,.mw-parser-output .hlist dd li:last-child::after,.mw-parser-output .hlist dt dd:last-child::after,.mw-parser-output .hlist dt dt:last-child::after,.mw-parser-output .hlist dt li:last-child::after,.mw-parser-output .hlist li dd:last-child::after,.mw-parser-output .hlist li dt:last-child::after,.mw-parser-output .hlist li li:last-child::after{content:")";font-weight:normal}.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 "}</style><style data-mw-deduplicate="TemplateStyles:r1246091330">.mw-parser-output .sidebar{width:22em;float:right;clear:right;margin:0.5em 0 1em 1em;background:var(--background-color-neutral-subtle,#f8f9fa);border:1px solid var(--border-color-base,#a2a9b1);padding:0.2em;text-align:center;line-height:1.4em;font-size:88%;border-collapse:collapse;display:table}body.skin-minerva .mw-parser-output .sidebar{display:table!important;float:right!important;margin:0.5em 0 1em 1em!important}.mw-parser-output .sidebar-subgroup{width:100%;margin:0;border-spacing:0}.mw-parser-output .sidebar-left{float:left;clear:left;margin:0.5em 1em 1em 0}.mw-parser-output .sidebar-none{float:none;clear:both;margin:0.5em 1em 1em 0}.mw-parser-output .sidebar-outer-title{padding:0 0.4em 0.2em;font-size:125%;line-height:1.2em;font-weight:bold}.mw-parser-output .sidebar-top-image{padding:0.4em}.mw-parser-output .sidebar-top-caption,.mw-parser-output .sidebar-pretitle-with-top-image,.mw-parser-output .sidebar-caption{padding:0.2em 0.4em 0;line-height:1.2em}.mw-parser-output .sidebar-pretitle{padding:0.4em 0.4em 0;line-height:1.2em}.mw-parser-output .sidebar-title,.mw-parser-output .sidebar-title-with-pretitle{padding:0.2em 0.8em;font-size:145%;line-height:1.2em}.mw-parser-output .sidebar-title-with-pretitle{padding:0.1em 0.4em}.mw-parser-output .sidebar-image{padding:0.2em 0.4em 0.4em}.mw-parser-output .sidebar-heading{padding:0.1em 0.4em}.mw-parser-output .sidebar-content{padding:0 0.5em 0.4em}.mw-parser-output .sidebar-content-with-subgroup{padding:0.1em 0.4em 0.2em}.mw-parser-output .sidebar-above,.mw-parser-output .sidebar-below{padding:0.3em 0.8em;font-weight:bold}.mw-parser-output .sidebar-collapse .sidebar-above,.mw-parser-output .sidebar-collapse .sidebar-below{border-top:1px solid #aaa;border-bottom:1px solid #aaa}.mw-parser-output .sidebar-navbar{text-align:right;font-size:115%;padding:0 0.4em 0.4em}.mw-parser-output .sidebar-list-title{padding:0 0.4em;text-align:left;font-weight:bold;line-height:1.6em;font-size:105%}.mw-parser-output .sidebar-list-title-c{padding:0 0.4em;text-align:center;margin:0 3.3em}@media(max-width:640px){body.mediawiki .mw-parser-output .sidebar{width:100%!important;clear:both;float:none!important;margin-left:0!important;margin-right:0!important}}body.skin--responsive .mw-parser-output .sidebar a>img{max-width:none!important}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sidebar:not(.notheme) .sidebar-list-title,html.skin-theme-clientpref-night .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle{background:transparent!important}html.skin-theme-clientpref-night .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle a{color:var(--color-progressive)!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sidebar:not(.notheme) .sidebar-list-title,html.skin-theme-clientpref-os .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle{background:transparent!important}html.skin-theme-clientpref-os .mw-parser-output .sidebar:not(.notheme) .sidebar-title-with-pretitle a{color:var(--color-progressive)!important}}@media print{body.ns-0 .mw-parser-output .sidebar{display:none!important}}</style><table class="sidebar nomobile nowraplinks" style="margin-top: 0.5em;"><tbody><tr><th class="sidebar-title"><a href="/wiki/Execution_(computing)" title="Execution (computing)">Program execution</a></th></tr><tr><th class="sidebar-heading"> General concepts</th></tr><tr><td class="sidebar-content" style="text-align: left;"> <ul><li><a href="/wiki/Computer_program" title="Computer program">Code</a></li> <li><a href="/wiki/Translator_(computing)" title="Translator (computing)">Translation</a> <ul><li><a href="/wiki/Compiler" title="Compiler">Compiler</a> <ul><li><a href="/wiki/Compile_time" title="Compile time">Compile time</a></li></ul></li> <li><a href="/wiki/Optimizing_compiler" title="Optimizing compiler">Optimizing compiler</a></li></ul></li> <li><a href="/wiki/Intermediate_representation" title="Intermediate representation">Intermediate representation</a> (IR)</li> <li><a href="/wiki/Execution_(computing)" title="Execution (computing)">Execution</a> <ul><li><a href="/wiki/Runtime_system" title="Runtime system">Runtime system</a> <ul><li><a href="/wiki/Execution_(computing)#Runtime" title="Execution (computing)">Runtime</a></li></ul></li> <li><a href="/wiki/Executable" title="Executable">Executable</a></li> <li><a href="/wiki/Interpreter_(computing)" title="Interpreter (computing)">Interpreter</a></li> <li><a href="/wiki/Virtual_machine" title="Virtual machine">Virtual machine</a></li></ul></li></ul></td> </tr><tr><th class="sidebar-heading"> Types of code</th></tr><tr><td class="sidebar-content" style="text-align: left;"> <ul><li><a href="/wiki/Source_code" title="Source code">Source code</a></li> <li><a href="/wiki/Object_code" title="Object code">Object code</a></li> <li><a class="mw-selflink selflink">Bytecode</a></li> <li><a href="/wiki/Machine_code" title="Machine code">Machine code</a></li> <li><a href="/wiki/Microcode" title="Microcode">Microcode</a></li></ul></td> </tr><tr><th class="sidebar-heading"> Compilation strategies</th></tr><tr><td class="sidebar-content" style="text-align: left;"> <ul><li><a href="/wiki/Ahead-of-time_compilation" title="Ahead-of-time compilation">Ahead-of-time</a> (AOT)</li> <li><a href="/wiki/Just-in-time_compilation" title="Just-in-time compilation">Just-in-time</a> (JIT) <ul><li><a href="/wiki/Tracing_just-in-time_compilation" title="Tracing just-in-time compilation">Tracing just-in-time</a></li> <li><a href="/wiki/Compile_and_go_system" title="Compile and go system">Compile and go system</a></li></ul></li> <li><a href="/wiki/Precompilation" class="mw-redirect" title="Precompilation">Precompilation</a></li> <li><a href="/wiki/Source-to-source_compiler" title="Source-to-source compiler">Transcompilation</a></li> <li><a href="/wiki/Dynamic_recompilation" title="Dynamic recompilation">Recompilation</a></li></ul></td> </tr><tr><th class="sidebar-heading"> Notable runtimes</th></tr><tr><td class="sidebar-content" style="text-align: left;"> <ul><li><a href="/wiki/Android_Runtime" title="Android Runtime">Android Runtime</a> (ART)</li> <li><a href="/wiki/BEAM_(Erlang_virtual_machine)" title="BEAM (Erlang virtual machine)">BEAM</a> (Erlang)</li> <li><a href="/wiki/Common_Language_Runtime" title="Common Language Runtime">Common Language Runtime</a> (CLR) and&#160;<a href="/wiki/Mono_(software)#Code_Execution_Engine" title="Mono (software)">Mono</a></li> <li><a href="/wiki/CPython" title="CPython">CPython</a> and&#160;<a href="/wiki/PyPy" title="PyPy">PyPy</a></li> <li><a href="/wiki/Crt0" title="Crt0">crt0</a> (<a href="/wiki/C_(programming_language)" title="C (programming language)">C</a> target-specific initializer)</li> <li><a href="/wiki/Java_virtual_machine" title="Java virtual machine">Java virtual machine</a> (JVM)</li> <li><a href="/wiki/LuaJIT" title="LuaJIT">LuaJIT</a></li> <li><a href="/wiki/Objective-C" title="Objective-C">Objective-C</a> and&#160;<a href="/wiki/Swift_(programming_language)" title="Swift (programming language)">Swift</a>'s</li> <li><a href="/wiki/V8_(JavaScript_engine)" title="V8 (JavaScript engine)">V8</a> and&#160;<a href="/wiki/Node.js" title="Node.js">Node.js</a></li> <li><a href="/wiki/Zend_Engine" title="Zend Engine">Zend Engine</a> (PHP)</li></ul></td> </tr><tr><th class="sidebar-heading"> Notable compilers &amp; toolchains</th></tr><tr><td class="sidebar-content" style="text-align: left;"> <ul><li><a href="/wiki/GNU_Compiler_Collection" title="GNU Compiler Collection">GNU Compiler Collection</a> (GCC)</li> <li><a href="/wiki/LLVM" title="LLVM">LLVM</a> and&#160;<a href="/wiki/Clang" title="Clang">Clang</a></li> <li><a href="/wiki/Microsoft_Visual_C%2B%2B" title="Microsoft Visual C++">MSVC</a></li></ul></td> </tr><tr><td class="sidebar-navbar"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1129693374" /><style data-mw-deduplicate="TemplateStyles:r1239400231">.mw-parser-output .navbar{display:inline;font-size:88%;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:114%;margin:0 7em}.mw-parser-output .navbar-ct-mini{font-size:114%;margin:0 4em}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:Program_execution" title="Template:Program execution"><abbr title="View this template">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Program_execution" title="Template talk:Program execution"><abbr title="Discuss this template">t</abbr></a></li><li class="nv-edit"><a href="/wiki/Special:EditPage/Template:Program_execution" title="Special:EditPage/Template:Program execution"><abbr title="Edit this template">e</abbr></a></li></ul></div></td></tr></tbody></table> <p><b>Bytecode</b> (also called <b>portable code</b> or <b>p-code</b>) is a form of <a href="/wiki/Instruction_set" class="mw-redirect" title="Instruction set">instruction set</a> designed for efficient execution by a software <a href="/wiki/Interpreter_(computing)" title="Interpreter (computing)">interpreter</a>. Unlike <a href="/wiki/Human-readable_code" class="mw-redirect" title="Human-readable code">human-readable</a><sup id="cite_ref-Dynamic_Machine_Code_1-0" class="reference"><a href="#cite_note-Dynamic_Machine_Code-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup> <a href="/wiki/Source_code" title="Source code">source code</a>, bytecodes are compact numeric codes, constants, and references (normally numeric addresses) that encode the result of <a href="/wiki/Compiler" title="Compiler">compiler</a> parsing and performing <a href="/wiki/Semantic_analysis_(compilers)" title="Semantic analysis (compilers)">semantic analysis</a> of things like type, scope, and nesting depths of program objects. </p><p>The name bytecode stems from instruction sets that have one-<a href="/wiki/Byte" title="Byte">byte</a> <a href="/wiki/Opcode" title="Opcode">opcodes</a> followed by optional parameters. <a href="/wiki/Intermediate_representation" title="Intermediate representation">Intermediate representations</a> such as bytecode may be output by <a href="/wiki/Programming_language" title="Programming language">programming language</a> implementations to ease <a href="/wiki/Interpreter_(computing)" title="Interpreter (computing)">interpretation</a>, or it may be used to reduce hardware and <a href="/wiki/Operating_system" title="Operating system">operating system</a> dependence by allowing the same code to run <a href="/wiki/Cross-platform" class="mw-redirect" title="Cross-platform">cross-platform</a>, on different devices. Bytecode may often be either directly executed on a <a href="/wiki/Virtual_machine" title="Virtual machine">virtual machine</a> (a <a href="/wiki/P-code_machine" title="P-code machine">p-code machine</a>, i.e., interpreter), or it may be further compiled into <a href="/wiki/Machine_code" title="Machine code">machine code</a> for better performance. </p><p>Since bytecode instructions are processed by software, they may be arbitrarily complex, but are nonetheless often akin to traditional hardware instructions: virtual <a href="/wiki/Stack_machine" title="Stack machine">stack machines</a> are the most common, but virtual <a href="/wiki/Register_machine" title="Register machine">register machines</a> have been built also.<sup id="cite_ref-Jucs_Lua_2-0" class="reference"><a href="#cite_note-Jucs_Lua-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-Dalvik_3-0" class="reference"><a href="#cite_note-Dalvik-3"><span class="cite-bracket">&#91;</span>3<span class="cite-bracket">&#93;</span></a></sup> Different parts may often be stored in separate files, similar to <a href="/wiki/Object_file" title="Object file">object modules</a>, but dynamically loaded during execution. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Execution">Execution</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Bytecode&amp;action=edit&amp;section=1" title="Edit section: Execution"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>A bytecode program may be executed by parsing and <i>directly</i> executing the instructions, one at a time. This kind of <i>bytecode interpreter</i> is very portable. Some systems, called dynamic translators, or <i><a href="/wiki/Just-in-time_compilation" title="Just-in-time compilation">just-in-time</a></i> (JIT) compilers, translate bytecode into <a href="/wiki/Machine_code" title="Machine code">machine code</a> as necessary at <a href="/wiki/Run_time_(program_lifecycle_phase)" class="mw-redirect" title="Run time (program lifecycle phase)">runtime</a>. This makes the virtual machine hardware-specific but does not lose the portability of the bytecode. For example, <a href="/wiki/Java_(programming_language)" title="Java (programming language)">Java</a> and <a href="/wiki/Smalltalk" title="Smalltalk">Smalltalk</a> code is typically stored in bytecode format, which is typically then JIT compiled to translate the bytecode to machine code before execution. This introduces a delay before a program is run, when the bytecode is compiled to native machine code, but improves execution speed considerably compared to interpreting source code directly, normally by around an order of magnitude (10x).<sup id="cite_ref-Byte_Machine_4-0" class="reference"><a href="#cite_note-Byte_Machine-4"><span class="cite-bracket">&#91;</span>4<span class="cite-bracket">&#93;</span></a></sup> </p><p>Because of its performance advantage, today many language implementations execute a program in two phases, first compiling the source code into bytecode, and then passing the bytecode to the virtual machine. There are bytecode based virtual machines of this sort for <a href="/wiki/Java_(programming_language)" title="Java (programming language)">Java</a>, <a href="/wiki/Raku_(programming_language)" title="Raku (programming language)">Raku</a>, <a href="/wiki/Python_(programming_language)" title="Python (programming language)">Python</a>, <a href="/wiki/PHP" title="PHP">PHP</a>,<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">&#91;</span>a<span class="cite-bracket">&#93;</span></a></sup> <a href="/wiki/Tcl" title="Tcl">Tcl</a>, <a href="/wiki/AWK" title="AWK">mawk</a> and <a href="/wiki/Forth_(programming_language)" title="Forth (programming language)">Forth</a> (however, Forth is seldom compiled via bytecodes in this way, and its virtual machine is more generic instead). The implementation of <a href="/wiki/Perl" title="Perl">Perl</a> and <a href="/wiki/Ruby_(programming_language)" title="Ruby (programming language)">Ruby</a> 1.8 instead work by walking an <a href="/wiki/Abstract_syntax_tree" title="Abstract syntax tree">abstract syntax tree</a> representation derived from the source code. </p><p>More recently, the authors of <a href="/wiki/V8_(JavaScript_engine)" title="V8 (JavaScript engine)">V8</a><sup id="cite_ref-Dynamic_Machine_Code_1-1" class="reference"><a href="#cite_note-Dynamic_Machine_Code-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup> and <a href="/wiki/Dart_(programming_language)" title="Dart (programming language)">Dart</a><sup id="cite_ref-Loitsch_Bytecode_8-0" class="reference"><a href="#cite_note-Loitsch_Bytecode-8"><span class="cite-bracket">&#91;</span>7<span class="cite-bracket">&#93;</span></a></sup> have challenged the notion that intermediate bytecode is needed for fast and efficient VM implementation. Both of these language implementations currently do direct JIT compiling from source code to machine code with no bytecode intermediary.<sup id="cite_ref-Javascript_9-0" class="reference"><a href="#cite_note-Javascript-9"><span class="cite-bracket">&#91;</span>8<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Examples">Examples</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Bytecode&amp;action=edit&amp;section=2" title="Edit section: Examples"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/ActionScript" title="ActionScript">ActionScript</a> executes in the ActionScript Virtual Machine (AVM), which is part of Flash Player and <a href="/wiki/Adobe_AIR" title="Adobe AIR">AIR</a>. ActionScript code is typically transformed into bytecode format by a <a href="/wiki/Compiler" title="Compiler">compiler</a>. Examples of compilers include one built into Adobe Flash Professional and one built into Adobe Flash Builder and available in the <a href="/wiki/Apache_Flex" title="Apache Flex">Adobe Flex SDK</a>.</li> <li><a href="/wiki/Adobe_Flash" title="Adobe Flash">Adobe Flash</a> objects</li> <li><a href="/w/index.php?title=BANCStar_programming_language&amp;action=edit&amp;redlink=1" class="new" title="BANCStar programming language (page does not exist)">BANCStar</a>, originally bytecode for an interface-building tool but used also as a language</li> <li><a href="/wiki/Berkeley_Packet_Filter" title="Berkeley Packet Filter">Berkeley Packet Filter</a></li> <li><a href="/wiki/EBPF" title="EBPF">EBPF</a></li> <li>Berkeley Pascal<sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">&#91;</span>9<span class="cite-bracket">&#93;</span></a></sup></li> <li><a href="/wiki/Byte_Code_Engineering_Library" title="Byte Code Engineering Library">Byte Code Engineering Library</a></li> <li>C to <a href="/wiki/Java_virtual_machine" title="Java virtual machine">Java virtual machine</a> compilers</li> <li><a href="/wiki/CLISP" title="CLISP">CLISP</a> implementation of <a href="/wiki/Common_Lisp" title="Common Lisp">Common Lisp</a> used to compile only to bytecode for many years; however, now it also supports compiling to native code with the help of <a href="/wiki/GNU_lightning" title="GNU lightning">GNU lightning</a></li> <li><a href="/wiki/CMUCL" class="mw-redirect" title="CMUCL">CMUCL</a> and Scieneer Common Lisp implementations of <a href="/wiki/Common_Lisp" title="Common Lisp">Common Lisp</a> can compile either to native code or to bytecode, which is far more compact</li> <li><a href="/wiki/Common_Intermediate_Language" title="Common Intermediate Language">Common Intermediate Language</a> executed by <a href="/wiki/Common_Language_Runtime" title="Common Language Runtime">Common Language Runtime</a>, used by <a href="/wiki/.NET" title=".NET">.NET</a> languages such as <a href="/wiki/C_Sharp_(programming_language)" title="C Sharp (programming language)">C#</a></li> <li><a href="/wiki/Dalvik_(software)" title="Dalvik (software)">Dalvik</a> bytecode, designed for the <a href="/wiki/Android_(operating_system)" title="Android (operating system)">Android</a> platform, is executed by the <a href="/wiki/Dalvik_(software)" title="Dalvik (software)">Dalvik virtual machine</a></li> <li>Dis bytecode, designed for the <a href="/wiki/Inferno_(operating_system)" title="Inferno (operating system)">Inferno (operating system)</a>, is executed by the <a href="/wiki/Dis_virtual_machine" class="mw-redirect" title="Dis virtual machine">Dis virtual machine</a></li> <li><a href="/wiki/EiffelStudio" title="EiffelStudio">EiffelStudio</a> for the <a href="/wiki/Eiffel_(programming_language)" title="Eiffel (programming language)">Eiffel</a> programming language</li> <li>EM, the <a href="/wiki/Amsterdam_Compiler_Kit" title="Amsterdam Compiler Kit">Amsterdam Compiler Kit</a> virtual machine used as an intermediate compiling language and as a modern bytecode language</li> <li><a href="/wiki/Emacs" title="Emacs">Emacs</a> is a text editor with most of its functions implemented by <a href="/wiki/Emacs_Lisp" title="Emacs Lisp">Emacs Lisp</a>, its built-in dialect of <a href="/wiki/Lisp_(programming_language)" title="Lisp (programming language)">Lisp</a>. These features are compiled into bytecode. This architecture allows users to customize the editor with a high level language, which after compiling into bytecode yields reasonable performance.</li> <li><a href="/wiki/Embeddable_Common_Lisp" title="Embeddable Common Lisp">Embeddable Common Lisp</a> implementation of <a href="/wiki/Common_Lisp" title="Common Lisp">Common Lisp</a> can compile to bytecode or C code</li> <li><a href="/wiki/Common_Lisp" title="Common Lisp">Common Lisp</a> provides a <code>disassemble</code> function<sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">&#91;</span>10<span class="cite-bracket">&#93;</span></a></sup> which prints to the standard output the underlying code of a specified function. The result is implementation-dependent and may or may not resolve to bytecode. Its inspection can be utilized for debugging and optimization purposes.<sup id="cite_ref-12" class="reference"><a href="#cite_note-12"><span class="cite-bracket">&#91;</span>11<span class="cite-bracket">&#93;</span></a></sup> <a href="/wiki/Steel_Bank_Common_Lisp" title="Steel Bank Common Lisp">Steel Bank Common Lisp</a>, for instance, produces:</li></ul> <dl><dd><div class="mw-highlight mw-highlight-lang-lisp mw-content-ltr" dir="ltr"><pre><span></span><span class="p">(</span><span class="nb">disassemble</span><span class="w"> </span><span class="o">&#39;</span><span class="p">(</span><span class="k">lambda</span><span class="w"> </span><span class="p">(</span><span class="nv">x</span><span class="p">)</span><span class="w"> </span><span class="p">(</span><span class="nb">print</span><span class="w"> </span><span class="nv">x</span><span class="p">)))</span> <span class="c1">; disassembly for (LAMBDA (X))</span> <span class="c1">; 2436F6DF: 850500000F22 TEST EAX, [#x220F0000] &#160;; no-arg-parsing entry point</span> <span class="c1">; E5: 8BD6 MOV EDX, ESI</span> <span class="c1">; E7: 8B05A8F63624 MOV EAX, [#x2436F6A8] &#160;; #&lt;FDEFINITION object for PRINT&gt;</span> <span class="c1">; ED: B904000000 MOV ECX, 4</span> <span class="c1">; F2: FF7504 PUSH DWORD PTR [EBP+4]</span> <span class="c1">; F5: FF6005 JMP DWORD PTR [EAX+5]</span> <span class="c1">; F8: CC0A BREAK 10 &#160;; error trap</span> <span class="c1">; FA: 02 BYTE #X02</span> <span class="c1">; FB: 18 BYTE #X18 &#160;; INVALID-ARG-COUNT-ERROR</span> <span class="c1">; FC: 4F BYTE #X4F &#160;; ECX</span> </pre></div></dd></dl> <ul><li>Ericsson implementation of <a href="/wiki/Erlang_(programming_language)" title="Erlang (programming language)">Erlang</a> uses BEAM bytecodes</li> <li><a href="/wiki/Ethereum" title="Ethereum">Ethereum</a>'s Virtual Machine (EVM) is the runtime environment, using its own bytecode, for transaction execution in Ethereum (smart contracts).</li> <li><a href="/wiki/Icon_(programming_language)" title="Icon (programming language)">Icon</a><sup id="cite_ref-Arizona_Icom_13-0" class="reference"><a href="#cite_note-Arizona_Icom-13"><span class="cite-bracket">&#91;</span>12<span class="cite-bracket">&#93;</span></a></sup> and <a href="/wiki/Unicon_(programming_language)" title="Unicon (programming language)">Unicon</a><sup id="cite_ref-Icon_Unicon_14-0" class="reference"><a href="#cite_note-Icon_Unicon-14"><span class="cite-bracket">&#91;</span>13<span class="cite-bracket">&#93;</span></a></sup> programming languages</li> <li><a href="/wiki/Infocom" title="Infocom">Infocom</a> used the <a href="/wiki/Z-machine" title="Z-machine">Z-machine</a> to make its software applications more portable</li> <li><a href="/wiki/Java_bytecode" title="Java bytecode">Java bytecode</a>, which is executed by the <a href="/wiki/Java_virtual_machine" title="Java virtual machine">Java virtual machine</a> <ul><li><a href="/wiki/ObjectWeb_ASM" title="ObjectWeb ASM">ASM</a></li> <li><a href="/wiki/BCEL" class="mw-redirect" title="BCEL">BCEL</a></li> <li>Javassist</li></ul></li> <li><a href="/wiki/Keiko_bytecode" class="mw-redirect" title="Keiko bytecode">Keiko bytecode</a> used by the <a href="/wiki/Oberon-2" title="Oberon-2">Oberon-2</a> programming language to make it and the <a href="/wiki/Oberon_operating_system" class="mw-redirect" title="Oberon operating system">Oberon operating system</a> more portable.</li> <li><a href="/wiki/KEYB_(command)" class="mw-redirect" title="KEYB (command)">KEYB</a>, the <a href="/wiki/MS-DOS" title="MS-DOS">MS-DOS</a>/<a href="/wiki/PC_DOS" class="mw-redirect" title="PC DOS">PC&#160;DOS</a> keyboard driver with its resource file <a href="/wiki/KEYBOARD.SYS" class="mw-redirect" title="KEYBOARD.SYS">KEYBOARD.SYS</a> containing layout information and short <a href="/wiki/P-code_machine" title="P-code machine">p-code</a> sequences executed by an interpreter inside the resident driver.<sup id="cite_ref-Paul_2001_KEYBOARD_15-0" class="reference"><a href="#cite_note-Paul_2001_KEYBOARD-15"><span class="cite-bracket">&#91;</span>14<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-Mendelson_2001_KEYBOARD_16-0" class="reference"><a href="#cite_note-Mendelson_2001_KEYBOARD-16"><span class="cite-bracket">&#91;</span>15<span class="cite-bracket">&#93;</span></a></sup></li> <li><a href="/wiki/LLVM_IR" class="mw-redirect" title="LLVM IR">LLVM IR</a></li> <li>LSL, a scripting language used in virtual worlds compiles into bytecode running on a virtual machine. Second Life has the original Mono version, Inworldz developed the Phlox version.</li> <li><a href="/wiki/Lua_(programming_language)" title="Lua (programming language)">Lua</a> language uses a register-based bytecode virtual machine</li> <li>m-code of the <a href="/wiki/MATLAB" title="MATLAB">MATLAB</a> language<sup id="cite_ref-Patent_6973644_17-0" class="reference"><a href="#cite_note-Patent_6973644-17"><span class="cite-bracket">&#91;</span>16<span class="cite-bracket">&#93;</span></a></sup></li> <li><a href="/wiki/Malbolge" title="Malbolge">Malbolge</a> is an <a href="/wiki/Esoteric_programming_language" title="Esoteric programming language">esoteric</a> <a href="/wiki/Machine_language" class="mw-redirect" title="Machine language">machine language</a> for a ternary virtual machine.</li> <li><a href="/wiki/P-code_machine#Microsoft_P-code" title="P-code machine">Microsoft P-code</a> used in <a href="/wiki/Visual_C%2B%2B" class="mw-redirect" title="Visual C++">Visual C++</a> and <a href="/wiki/Visual_Basic_(classic)" title="Visual Basic (classic)">Visual Basic</a></li> <li><a href="/wiki/Multiplan" title="Multiplan">Multiplan</a><sup id="cite_ref-Multiplan_18-0" class="reference"><a href="#cite_note-Multiplan-18"><span class="cite-bracket">&#91;</span>17<span class="cite-bracket">&#93;</span></a></sup></li> <li><a href="/wiki/O-code" class="mw-redirect" title="O-code">O-code</a> of the <a href="/wiki/BCPL" title="BCPL">BCPL</a> programming language</li> <li><a href="/wiki/OCaml" title="OCaml">OCaml</a> language optionally compiles to a compact bytecode form</li> <li><a href="/wiki/P-code_machine" title="P-code machine">p-code</a> of <a href="/wiki/UCSD_Pascal" title="UCSD Pascal">UCSD Pascal</a> implementation of the <a href="/wiki/Pascal_(programming_language)" title="Pascal (programming language)">Pascal</a> language</li> <li><a href="/wiki/Parrot_virtual_machine" title="Parrot virtual machine">Parrot virtual machine</a></li> <li><a href="/wiki/Pick_operating_system" title="Pick operating system">Pick BASIC</a> also referred to as Data BASIC or <a href="/wiki/MultiValue#MultiValue_DataBASIC" class="mw-redirect" title="MultiValue">MultiValue BASIC</a></li> <li>The <a href="/wiki/R_(programming_language)" title="R (programming language)">R environment for statistical computing</a> offers a bytecode compiler through the compiler package, now standard with R version 2.13.0. It is possible to compile this version of R so that the base and recommended packages exploit this.<sup id="cite_ref-cran_r_19-0" class="reference"><a href="#cite_note-cran_r-19"><span class="cite-bracket">&#91;</span>18<span class="cite-bracket">&#93;</span></a></sup></li> <li><a href="/wiki/Pyramid_2000" title="Pyramid 2000">Pyramid 2000</a> adventure game</li> <li><a href="/wiki/Python_(programming_language)" title="Python (programming language)">Python</a> scripts are being compiled on execution to Python's bytecode language, and the compiled files (.pyc) are cached inside the script's folder</li></ul> <dl><dd>Compiled code can be analysed and investigated using a built-in tool for debugging the low-level bytecode. The tool can be initialized from the shell, for example:</dd> <dd><div class="mw-highlight mw-highlight-lang-pycon mw-content-ltr" dir="ltr"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="kn">import</span> <span class="nn">dis</span> <span class="c1"># &quot;dis&quot; - Disassembler of Python byte code into mnemonics.</span> <span class="gp">&gt;&gt;&gt; </span><span class="n">dis</span><span class="o">.</span><span class="n">dis</span><span class="p">(</span><span class="s1">&#39;print(&quot;Hello, World!&quot;)&#39;</span><span class="p">)</span> <span class="go"> 1 0 LOAD_NAME 0 (print)</span> <span class="go"> 2 LOAD_CONST 0 (&#39;Hello, World!&#39;)</span> <span class="go"> 4 CALL_FUNCTION 1</span> <span class="go"> 6 RETURN_VALUE</span> </pre></div></dd></dl> <ul><li><a href="/wiki/Scheme_48" title="Scheme 48">Scheme 48</a> implementation of Scheme using bytecode interpreter</li> <li>Bytecodes of many implementations of the <a href="/wiki/Smalltalk" title="Smalltalk">Smalltalk</a> language</li> <li>The <a href="/wiki/Parallax_Propeller#Built_in_Spin_bytecode_interpreter" title="Parallax Propeller">Spin interpreter</a> built into the <a href="/wiki/Parallax,_Inc._(company)" class="mw-redirect" title="Parallax, Inc. (company)">Parallax</a> Propeller <a href="/wiki/Microcontroller" title="Microcontroller">microcontroller</a></li> <li>The <a href="/wiki/SQLite" title="SQLite">SQLite</a> database engine translates SQL statements into a bespoke byte-code format.<sup id="cite_ref-SQLite_20-0" class="reference"><a href="#cite_note-SQLite-20"><span class="cite-bracket">&#91;</span>19<span class="cite-bracket">&#93;</span></a></sup></li> <li>Apple <a href="/wiki/SWEET16" title="SWEET16">SWEET16</a></li> <li><a href="/wiki/Tcl" title="Tcl">Tcl</a></li> <li><a href="/wiki/IBM_i#TIMI" title="IBM i">TIMI</a> is used by compilers on the <a href="/wiki/IBM_i" title="IBM i">IBM i</a> platform.</li> <li><a href="/wiki/Tiny_BASIC#Implementation_in_a_virtual_machine" title="Tiny BASIC">Tiny BASIC</a></li> <li><a href="/wiki/Visual_FoxPro" title="Visual FoxPro">Visual FoxPro</a> compiles to bytecode</li> <li><a href="/wiki/WebAssembly" title="WebAssembly">WebAssembly</a></li> <li><a href="/wiki/YARV" title="YARV">YARV</a> and <a href="/wiki/Rubinius" title="Rubinius">Rubinius</a> for <a href="/wiki/Ruby_(programming_language)" title="Ruby (programming language)">Ruby</a></li> <li><a href="/wiki/ZCODE" class="mw-redirect" title="ZCODE">ZCODE</a></li> <li><a href="/wiki/Zend_Engine" title="Zend Engine">Zend Engine</a> opcodes for <a href="/wiki/PHP" title="PHP">PHP</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Bytecode&amp;action=edit&amp;section=3" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1235681985">.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:var(--background-color-interactive-subtle,#f8f9fa);display:flow-root}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1;min-width:0}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}</style><style data-mw-deduplicate="TemplateStyles:r1237033735">@media print{body.ns-0 .mw-parser-output .sistersitebox{display:none!important}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .sistersitebox img[src*="Wiktionary-logo-en-v2.svg"]{background-color:white}}</style><div class="side-box side-box-right plainlinks sistersitebox"><style data-mw-deduplicate="TemplateStyles:r1126788409">.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="side-box-flex"> <div class="side-box-image"><span class="noviewer" typeof="mw:File"><a href="/wiki/File:Wiktionary-logo-en-v2.svg" class="mw-file-description"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/99/Wiktionary-logo-en-v2.svg/40px-Wiktionary-logo-en-v2.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/99/Wiktionary-logo-en-v2.svg/60px-Wiktionary-logo-en-v2.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/99/Wiktionary-logo-en-v2.svg/80px-Wiktionary-logo-en-v2.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span></div> <div class="side-box-text plainlist">Look up <i><b><a href="https://en.wiktionary.org/wiki/bytecode" class="extiw" title="wiktionary:bytecode">bytecode</a></b></i> in Wiktionary, the free dictionary.</div></div> </div> <ul><li><a href="/wiki/Intermediate_representation" title="Intermediate representation">Intermediate representation</a></li> <li><a href="/wiki/Platform_(computing)" class="mw-redirect" title="Platform (computing)">Platform (computing)</a></li> <li><a href="/wiki/Runtime_system" title="Runtime system">Runtime system</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="Notes">Notes</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Bytecode&amp;action=edit&amp;section=4" title="Edit section: Notes"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1239543626">.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist reflist-lower-alpha"> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text">PHP has <a href="/wiki/Just-in-time_compilation" title="Just-in-time compilation">just-in-time compilation</a> in PHP 8,<sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">&#91;</span>5<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">&#91;</span>6<span class="cite-bracket">&#93;</span></a></sup> and before while not on in the default version, had options like <a href="/wiki/HHVM" title="HHVM">HHVM</a>. For older versions of PHP: Although <a href="/wiki/PHP" title="PHP">PHP</a> opcodes are generated each time the program is launched, and are always interpreted and not <a href="/wiki/Just-in-time_compilation" title="Just-in-time compilation">just-in-time compiled</a>.</span> </li> </ol></div></div> <div class="mw-heading mw-heading2"><h2 id="References">References</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Bytecode&amp;action=edit&amp;section=5" title="Edit section: References"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239543626" /><div class="reflist"> <div class="mw-references-wrap mw-references-columns"><ol class="references"> <li id="cite_note-Dynamic_Machine_Code-1"><span class="mw-cite-backlink">^ <a href="#cite_ref-Dynamic_Machine_Code_1-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-Dynamic_Machine_Code_1-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://chromium.googlesource.com/external/github.com/v8/v8.wiki/+/eb80fb157da30e8c838e758f178de674e47648ed/Design-Elements.md">"Dynamic Machine Code Generation"</a>. Google Inc. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20170305155607/https://github.com/v8/v8/wiki/Design%20Elements">Archived</a> from the original on 2017-03-05<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-12-01</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Dynamic+Machine+Code+Generation&amp;rft.pub=Google+Inc.&amp;rft_id=https%3A%2F%2Fchromium.googlesource.com%2Fexternal%2Fgithub.com%2Fv8%2Fv8.wiki%2F%2B%2Feb80fb157da30e8c838e758f178de674e47648ed%2FDesign-Elements.md&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> <li id="cite_note-Jucs_Lua-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-Jucs_Lua_2-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.jucs.org/jucs_11_7/the_implementation_of_lua/jucs_11_7_1159_1176_defigueiredo.html">"The Implementation of Lua 5.0"</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=The+Implementation+of+Lua+5.0&amp;rft_id=http%3A%2F%2Fwww.jucs.org%2Fjucs_11_7%2Fthe_implementation_of_lua%2Fjucs_11_7_1159_1176_defigueiredo.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span> (NB. This involves a register-based virtual machine.)</span> </li> <li id="cite_note-Dalvik-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-Dalvik_3-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20130518021154/http://source.android.com/tech/dalvik/dalvik-bytecode.html">"Dalvik VM"</a>. Archived from <a rel="nofollow" class="external text" href="http://source.android.com/tech/dalvik/dalvik-bytecode.html">the original</a> on 2013-05-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2012-10-29</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Dalvik+VM&amp;rft_id=http%3A%2F%2Fsource.android.com%2Ftech%2Fdalvik%2Fdalvik-bytecode.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span> (NB. This VM is register based.)</span> </li> <li id="cite_note-Byte_Machine-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-Byte_Machine_4-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.allaboutcomputing.net/2014/07/byte-code-vs-machine-code.html">"Byte Code Vs Machine Code"</a>. <i>www.allaboutcomputing.net</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2017-10-23</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=www.allaboutcomputing.net&amp;rft.atitle=Byte+Code+Vs+Machine+Code&amp;rft_id=http%3A%2F%2Fwww.allaboutcomputing.net%2F2014%2F07%2Fbyte-code-vs-machine-code.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></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"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite id="CITEREFO’Phinney" class="citation web cs1">O’Phinney, Matthew Weier. <a rel="nofollow" class="external text" href="https://www.zend.com/blog/exploring-new-php-jit-compiler">"Exploring the New PHP JIT Compiler"</a>. <i>Zend by Perforce</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2021-02-19</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=Zend+by+Perforce&amp;rft.atitle=Exploring+the+New+PHP+JIT+Compiler&amp;rft.aulast=O%E2%80%99Phinney&amp;rft.aufirst=Matthew+Weier&amp;rft_id=https%3A%2F%2Fwww.zend.com%2Fblog%2Fexploring-new-php-jit-compiler&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></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"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://stitcher.io/blog/php-jit">"PHP 8: The JIT - stitcher.io"</a>. <i>stitcher.io</i><span class="reference-accessdate">. Retrieved <span class="nowrap">2021-02-19</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=stitcher.io&amp;rft.atitle=PHP+8%3A+The+JIT+-+stitcher.io&amp;rft_id=https%3A%2F%2Fstitcher.io%2Fblog%2Fphp-jit&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> <li id="cite_note-Loitsch_Bytecode-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-Loitsch_Bytecode_8-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite id="CITEREFLoitsch" class="citation web cs1">Loitsch, Florian. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20130512215811/http://www.dartlang.org/articles/why-not-bytecode/">"Why Not a Bytecode VM?"</a>. <a href="/wiki/Google" title="Google">Google</a>. Archived from <a rel="nofollow" class="external text" href="http://www.dartlang.org/articles/why-not-bytecode/">the original</a> on 2013-05-12.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Why+Not+a+Bytecode+VM%3F&amp;rft.pub=Google&amp;rft.aulast=Loitsch&amp;rft.aufirst=Florian&amp;rft_id=http%3A%2F%2Fwww.dartlang.org%2Farticles%2Fwhy-not-bytecode%2F&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> <li id="cite_note-Javascript-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-Javascript_9-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://2ality.com/2012/01/bytecode-myth.html">"JavaScript myth: JavaScript needs a standard bytecode"</a>. <i>2ality.com</i>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=2ality.com&amp;rft.atitle=JavaScript+myth%3A+JavaScript+needs+a+standard+bytecode&amp;rft_id=https%3A%2F%2F2ality.com%2F2012%2F01%2Fbytecode-myth.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></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"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite id="CITEREFG.2022" class="citation web cs1">G., Adam Y. (2022-07-11). <a rel="nofollow" class="external text" href="https://github.com/adamyg/berkeley_pascal">"Berkeley Pascal"</a>. <i><a href="/wiki/GitHub" title="GitHub">GitHub</a></i><span class="reference-accessdate">. Retrieved <span class="nowrap">2022-01-08</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=GitHub&amp;rft.atitle=Berkeley+Pascal&amp;rft.date=2022-07-11&amp;rft.aulast=G.&amp;rft.aufirst=Adam+Y.&amp;rft_id=https%3A%2F%2Fgithub.com%2Fadamyg%2Fberkeley_pascal&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></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"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.lispworks.com/documentation/HyperSpec/Body/f_disass.htm">"CLHS: Function DISASSEMBLE"</a>. <i>www.lispworks.com</i>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=www.lispworks.com&amp;rft.atitle=CLHS%3A+Function+DISASSEMBLE&amp;rft_id=http%3A%2F%2Fwww.lispworks.com%2Fdocumentation%2FHyperSpec%2FBody%2Ff_disass.htm&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></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"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite id="CITEREFCollective2023" class="citation web cs1">Collective (2023-12-13). <a rel="nofollow" class="external text" href="https://lispcookbook.github.io/cl-cookbook/performance.html">"The Common Lisp Cookbook – Performance Tuning and Tips"</a>. <i>lispcookbook.github.io</i>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=lispcookbook.github.io&amp;rft.atitle=The+Common+Lisp+Cookbook+%E2%80%93+Performance+Tuning+and+Tips&amp;rft.date=2023-12-13&amp;rft.au=Collective&amp;rft_id=https%3A%2F%2Flispcookbook.github.io%2Fcl-cookbook%2Fperformance.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> <li id="cite_note-Arizona_Icom-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-Arizona_Icom_13-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20160305123148/http://www.cs.arizona.edu/icon/ftp/doc/ib1up.pdf">"The Implementation of the Icon Programming Language"</a> <span class="cs1-format">(PDF)</span>. Archived from <a rel="nofollow" class="external text" href="http://www.cs.arizona.edu/icon/ftp/doc/ib1up.pdf">the original</a> <span class="cs1-format">(PDF)</span> on 2016-03-05<span class="reference-accessdate">. Retrieved <span class="nowrap">2011-09-09</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=The+Implementation+of+the+Icon+Programming+Language&amp;rft_id=http%3A%2F%2Fwww.cs.arizona.edu%2Ficon%2Fftp%2Fdoc%2Fib1up.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> <li id="cite_note-Icon_Unicon-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-Icon_Unicon_14-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://unicon.sourceforge.net/book/ib.pdf">"The Implementation of Icon and Unicon a Compendium"</a> <span class="cs1-format">(PDF)</span>. <a rel="nofollow" class="external text" href="https://ghostarchive.org/archive/20221009/http://unicon.sourceforge.net/book/ib.pdf">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 2022-10-09.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=The+Implementation+of+Icon+and+Unicon+a+Compendium&amp;rft_id=http%3A%2F%2Funicon.sourceforge.net%2Fbook%2Fib.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> <li id="cite_note-Paul_2001_KEYBOARD-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-Paul_2001_KEYBOARD_15-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite id="CITEREFPaul2001" class="citation newsgroup cs1">Paul, Matthias R. (2001-12-30). <a rel="nofollow" class="external text" href="https://groups.google.com/d/msg/comp.os.msdos.programmer/l_IuSHsBDWQ/887rJF9IYmMJ">"KEYBOARD.SYS internal structure"</a>. <a href="/wiki/Usenet_newsgroup" title="Usenet newsgroup">Newsgroup</a>:&#160;<a rel="nofollow" class="external text" href="news:comp.os.msdos.programmer">comp.os.msdos.programmer</a>. <a rel="nofollow" class="external text" href="https://archive.today/20170909082257/https://groups.google.com/forum/%23!msg/comp.os.msdos.programmer/l_IuSHsBDWQ/887rJF9IYmMJ">Archived</a> from the original on 2017-09-09<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-09-17</span></span>. <q>[…] In fact, the format is basically the same in <a href="/wiki/MS-DOS" title="MS-DOS">MS-DOS</a> 3.3&#160;- 8.0, <a href="/wiki/PC_DOS" class="mw-redirect" title="PC DOS">PC&#160;DOS</a> 3.3&#160;- 2000, including Russian, Lithuanian, Chinese and Japanese issues, as well as in Windows NT, 2000, and XP […]. There are minor differences and incompatibilities, but the general format has not changed over the years. […] Some of the data entries contain normal tables […] However, most entries contain <i>executable code</i> interpreted by some kind of <a href="/wiki/P-code_machine" title="P-code machine">p-code interpreter</a> at *<a href="/wiki/Run_time_(program_lifecycle_phase)" class="mw-redirect" title="Run time (program lifecycle phase)">runtime</a>*, including conditional branches and the like. This is why the <a href="/wiki/KEYB_(DOS_command)" class="mw-redirect" title="KEYB (DOS command)">KEYB</a> driver has such a huge memory footprint compared to table-driven keyboard drivers which can be done in 3 - 4 Kb getting the same level of function except for the interpreter. […]</q></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=KEYBOARD.SYS+internal+structure&amp;rft.pub=comp.os.msdos.programmer&amp;rft.date=2001-12-30&amp;rft.aulast=Paul&amp;rft.aufirst=Matthias+R.&amp;rft_id=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsg%2Fcomp.os.msdos.programmer%2Fl_IuSHsBDWQ%2F887rJF9IYmMJ&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> <li id="cite_note-Mendelson_2001_KEYBOARD-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-Mendelson_2001_KEYBOARD_16-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite id="CITEREFMendelson2001" class="citation web cs1"><a href="/wiki/Edward_Mendelson" title="Edward Mendelson">Mendelson, Edward</a> (2001-07-20). <a rel="nofollow" class="external text" href="http://www.columbia.edu/~em36/wpdos/eurodos.html">"How to Display the Euro in MS-DOS and Windows DOS"</a>. Display the euro symbol in full-screen MS-DOS (including Windows 95 or Windows 98 full-screen DOS). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20160917201248/http://www.columbia.edu/~em36/wpdos/eurodos.html">Archived</a> from the original on 2016-09-17<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-09-17</span></span>. <q>[…] Matthias [R.] Paul […] warns that the <a href="/wiki/IBM_PC_DOS" title="IBM PC DOS">IBM PC DOS</a> version of the keyboard driver uses some internal procedures that are not recognized by the <a href="/wiki/Microsoft" title="Microsoft">Microsoft</a> driver, so, if possible, you should use the <a href="/wiki/IBM" title="IBM">IBM</a> versions of both <a href="/wiki/KEYB.COM" class="mw-redirect" title="KEYB.COM">KEYB.COM</a> and <a href="/wiki/KEYBOARD.SYS" class="mw-redirect" title="KEYBOARD.SYS">KEYBOARD.SYS</a> instead of mixing Microsoft and IBM versions […]</q></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=How+to+Display+the+Euro+in+MS-DOS+and+Windows+DOS&amp;rft.pages=Display+the+euro+symbol+in+full-screen+MS-DOS+%28including+Windows+95+or+Windows+98+full-screen+DOS%29&amp;rft.date=2001-07-20&amp;rft.aulast=Mendelson&amp;rft.aufirst=Edward&amp;rft_id=http%3A%2F%2Fwww.columbia.edu%2F~em36%2Fwpdos%2Feurodos.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span> (NB. What is meant by "procedures" here are some additional bytecodes in the IBM KEYBOARD.SYS file not supported by the Microsoft version of the KEYB driver.)</span> </li> <li id="cite_note-Patent_6973644-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-Patent_6973644_17-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20170305001731/http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&amp;Sect2=HITOFF&amp;d=PALL&amp;p=1&amp;u=%2Fnetahtml%2FPTO%2Fsrchnum.htm&amp;r=1&amp;f=G&amp;l=50&amp;s1=6973644.PN.&amp;OS=PN/6973644&amp;RS=PN/6973644">"United States Patent 6,973,644"</a>. Archived from <a rel="nofollow" class="external text" href="http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&amp;Sect2=HITOFF&amp;d=PALL&amp;p=1&amp;u=%2Fnetahtml%2FPTO%2Fsrchnum.htm&amp;r=1&amp;f=G&amp;l=50&amp;s1=6973644.PN.&amp;OS=PN/6973644&amp;RS=PN/6973644">the original</a> on 2017-03-05<span class="reference-accessdate">. Retrieved <span class="nowrap">2009-05-21</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=United+States+Patent+6%2C973%2C644&amp;rft_id=http%3A%2F%2Fpatft.uspto.gov%2Fnetacgi%2Fnph-Parser%3FSect1%3DPTO1%26Sect2%3DHITOFF%26d%3DPALL%26p%3D1%26u%3D%252Fnetahtml%252FPTO%252Fsrchnum.htm%26r%3D1%26f%3DG%26l%3D50%26s1%3D6973644.PN.%26OS%3DPN%2F6973644%26RS%3DPN%2F6973644&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> <li id="cite_note-Multiplan-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-Multiplan_18-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation book cs1"><i>Microsoft C Pcode Specifications</i>. p.&#160;13. <q><a href="/wiki/Multiplan" title="Multiplan">Multiplan</a> wasn't compiled to <a href="/wiki/Machine_code" title="Machine code">machine code</a>, but to a kind of byte-code which was run by an <a href="/wiki/Interpreter_(computing)" title="Interpreter (computing)">interpreter</a>, in order to make Multiplan portable across the widely varying hardware of the time. This byte-code distinguished between the machine-specific <a href="/wiki/Floating_point_format" class="mw-redirect" title="Floating point format">floating point format</a> to calculate on, and an external (standard) format, which was <a href="/wiki/Binary-coded_decimal" title="Binary-coded decimal">binary coded decimal</a> (BCD). The PACK and UNPACK instructions converted between the two.</q></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Microsoft+C+Pcode+Specifications&amp;rft.pages=13&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> <li id="cite_note-cran_r-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-cran_r_19-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://cran.r-project.org/doc/manuals/R-admin.html#Byte_002dcompiler">"R Installation and Administration"</a>. <i>cran.r-project.org</i>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=cran.r-project.org&amp;rft.atitle=R+Installation+and+Administration&amp;rft_id=https%3A%2F%2Fcran.r-project.org%2Fdoc%2Fmanuals%2FR-admin.html%23Byte_002dcompiler&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> <li id="cite_note-SQLite-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-SQLite_20-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222" /><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20170414044139/http://sqlite.org/opcode.html">"The SQLite Bytecode Engine"</a>. Archived from <a rel="nofollow" class="external text" href="https://www.sqlite.org/opcode.html">the original</a> on 2017-04-14<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-08-29</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=The+SQLite+Bytecode+Engine&amp;rft_id=https%3A%2F%2Fwww.sqlite.org%2Fopcode.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3ABytecode" class="Z3988"></span></span> </li> </ol></div></div> <!-- NewPP limit report Parsed by mw‐api‐int.codfw.main‐57bccb6b4d‐q7sxz Cached time: 20250221202201 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.461 seconds Real time usage: 0.611 seconds Preprocessor visited node count: 1693/1000000 Post‐expand include size: 48925/2097152 bytes Template argument size: 2047/2097152 bytes Highest expansion depth: 12/100 Expensive parser function count: 9/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 83559/5000000 bytes Lua time usage: 0.309/10.000 seconds Lua memory usage: 6742348/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 543.415 1 -total 33.94% 184.425 2 Template:Reflist 25.69% 139.592 17 Template:Cite_web 19.38% 105.310 1 Template:Program_execution 18.26% 99.227 1 Template:Short_description 11.66% 63.379 2 Template:Pagetype 11.62% 63.135 1 Template:More_citations_needed 10.64% 57.798 1 Template:Ambox 5.94% 32.305 1 Template:Redirect2 5.39% 29.307 1 Template:Wiktionary --> <!-- Saved in parser cache with key enwiki:pcache:89997:|#|:idhash:canonical and timestamp 20250221202201 and revision id 1274718822. Rendering was triggered because: api-parse --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?useformat=desktop&amp;type=1x1&amp;usesul3=0" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=Bytecode&amp;oldid=1274718822">https://en.wikipedia.org/w/index.php?title=Bytecode&amp;oldid=1274718822</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Help:Category" title="Help:Category">Categories</a>: <ul><li><a href="/wiki/Category:Virtualization" title="Category:Virtualization">Virtualization</a></li><li><a href="/wiki/Category:Bytecodes" title="Category:Bytecodes">Bytecodes</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden categories: <ul><li><a href="/wiki/Category:Articles_with_short_description" title="Category:Articles with short description">Articles with short description</a></li><li><a href="/wiki/Category:Short_description_matches_Wikidata" title="Category:Short description matches Wikidata">Short description matches Wikidata</a></li><li><a href="/wiki/Category:Articles_needing_additional_references_from_January_2009" title="Category:Articles needing additional references from January 2009">Articles needing additional references from January 2009</a></li><li><a href="/wiki/Category:All_articles_needing_additional_references" title="Category:All articles needing additional references">All articles needing additional references</a></li><li><a href="/wiki/Category:Use_dmy_dates_from_May_2019" title="Category:Use dmy dates from May 2019">Use dmy dates from May 2019</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"> This page was last edited on 8 February 2025, at 21:45<span class="anonymous-show">&#160;(UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=Bytecode&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</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"><picture><source media="(min-width: 500px)" srcset="/static/images/footer/wikimedia-button.svg" width="84" height="29"><img src="/static/images/footer/wikimedia.svg" width="25" height="25" alt="Wikimedia Foundation" lang="en" loading="lazy"></picture></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"><picture><source media="(min-width: 500px)" srcset="/w/resources/assets/poweredby_mediawiki.svg" width="88" height="31"><img src="/w/resources/assets/mediawiki_compact.svg" alt="Powered by MediaWiki" lang="en" width="25" height="25" loading="lazy"></picture></a></li> </ul> </footer> </div> </div> </div> <div class="vector-header-container vector-sticky-header-container"> <div id="vector-sticky-header" class="vector-sticky-header"> <div class="vector-sticky-header-start"> <div class="vector-sticky-header-icon-start vector-button-flush-left vector-button-flush-right" aria-hidden="true"> <button class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-sticky-header-search-toggle" tabindex="-1" data-event-name="ui.vector-sticky-search-form.icon"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </button> </div> <div role="search" class="vector-search-box-vue vector-search-box-show-thumbnail vector-search-box"> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail"> <form action="/w/index.php" id="vector-sticky-search-form" class="cdx-search-input cdx-search-input--has-end-button"> <div 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="Search Wikipedia"> <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <div class="vector-sticky-header-context-bar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-sticky-header-toc" class="vector-dropdown mw-portlet mw-portlet-sticky-header-toc vector-sticky-header-toc vector-button-flush-left" > <input type="checkbox" id="vector-sticky-header-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-sticky-header-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-sticky-header-toc-label" for="vector-sticky-header-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">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-sticky-header-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div class="vector-sticky-header-context-bar-primary" aria-hidden="true" ><span class="mw-page-title-main">Bytecode</span></div> </div> </div> <div class="vector-sticky-header-end" aria-hidden="true"> <div class="vector-sticky-header-icons"> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-talk-sticky-header" tabindex="-1" data-event-name="talk-sticky-header"><span class="vector-icon mw-ui-icon-speechBubbles mw-ui-icon-wikimedia-speechBubbles"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-subject-sticky-header" tabindex="-1" data-event-name="subject-sticky-header"><span class="vector-icon mw-ui-icon-article mw-ui-icon-wikimedia-article"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-history-sticky-header" tabindex="-1" data-event-name="history-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-history mw-ui-icon-wikimedia-wikimedia-history"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only mw-watchlink" id="ca-watchstar-sticky-header" tabindex="-1" data-event-name="watch-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-star mw-ui-icon-wikimedia-wikimedia-star"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-edit-sticky-header" tabindex="-1" data-event-name="wikitext-edit-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-wikiText mw-ui-icon-wikimedia-wikimedia-wikiText"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-ve-edit-sticky-header" tabindex="-1" data-event-name="ve-edit-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-edit mw-ui-icon-wikimedia-wikimedia-edit"></span> <span></span> </a> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only" id="ca-viewsource-sticky-header" tabindex="-1" data-event-name="ve-edit-protected-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-editLock mw-ui-icon-wikimedia-wikimedia-editLock"></span> <span></span> </a> </div> <div class="vector-sticky-header-buttons"> <button class="cdx-button cdx-button--weight-quiet mw-interlanguage-selector" id="p-lang-btn-sticky-header" tabindex="-1" data-event-name="ui.dropdown-p-lang-btn-sticky-header"><span class="vector-icon mw-ui-icon-wikimedia-language mw-ui-icon-wikimedia-wikimedia-language"></span> <span>37 languages</span> </button> <a href="#" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive" id="ca-addsection-sticky-header" tabindex="-1" data-event-name="addsection-sticky-header"><span class="vector-icon mw-ui-icon-speechBubbleAdd-progressive mw-ui-icon-wikimedia-speechBubbleAdd-progressive"></span> <span>Add topic</span> </a> </div> <div class="vector-sticky-header-icon-end"> <div class="vector-user-links"> </div> </div> </div> </div> </div> <div class="mw-portlet mw-portlet-dock-bottom emptyPortlet" id="p-dock-bottom"> <ul> </ul> </div> <script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-76d4c66f66-5qpmk","wgBackendResponseTime":190,"wgPageParseReport":{"limitreport":{"cputime":"0.461","walltime":"0.611","ppvisitednodes":{"value":1693,"limit":1000000},"postexpandincludesize":{"value":48925,"limit":2097152},"templateargumentsize":{"value":2047,"limit":2097152},"expansiondepth":{"value":12,"limit":100},"expensivefunctioncount":{"value":9,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":83559,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 543.415 1 -total"," 33.94% 184.425 2 Template:Reflist"," 25.69% 139.592 17 Template:Cite_web"," 19.38% 105.310 1 Template:Program_execution"," 18.26% 99.227 1 Template:Short_description"," 11.66% 63.379 2 Template:Pagetype"," 11.62% 63.135 1 Template:More_citations_needed"," 10.64% 57.798 1 Template:Ambox"," 5.94% 32.305 1 Template:Redirect2"," 5.39% 29.307 1 Template:Wiktionary"]},"scribunto":{"limitreport-timeusage":{"value":"0.309","limit":"10.000"},"limitreport-memusage":{"value":6742348,"limit":52428800}},"cachereport":{"origin":"mw-api-int.codfw.main-57bccb6b4d-q7sxz","timestamp":"20250221202201","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Bytecode","url":"https:\/\/en.wikipedia.org\/wiki\/Bytecode","sameAs":"http:\/\/www.wikidata.org\/entity\/Q837330","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q837330","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2002-09-23T20:16:03Z","dateModified":"2025-02-08T21:45:51Z","headline":"form of instruction set designed to be run by a software interpreter"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10