Jump to content

Native (computing)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by TheStackOverflow (talk | contribs) at 23:36, 22 November 2019 (I rewrote and expanded on the lead section. I also made sure to back everything with links as that is something this page is lacking.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computing, Native software or data-formats are those that were designed to run on that operating system. For example, a Game Boy receives its software through a cartridge and on this cartridge, is the code that runs natively on the Game Boy.[1] In a more technical sense, native code is code written specifically for a certain processor.[2] The only way to run this code on another processor is to use an emulator, tricking the program into thinking it's using that same processor.[3] This usually comes at the cost of speed.[4]

Applications

Something running on a computer natively means that it is running without any external layer requiring fewer software layers. For example, in Microsoft Windows the Native API is an application programming interface specific for Windows NT kernel, which can be used to give access to some kernel functions, which cannot be directly accessed through a more universal Windows API.

Operating systems

Used to designate the lowest level of virtualization or the absence of virtualization. For instance the term “Native VM” is used to ensure reference to the lowest level operating system, the one that actually maintains direct control of the hardware when multiple levels of virtualization occur.

Machine code

Native operating system, native instruction set, etc., in application to a computer processor means that the corresponding item was implemented specifically for the given model of the computer or microprocessor, as opposed to emulation or compatibility mode.

Data

Applied to data, native data formats or communication protocols are those supported by a certain computer hardware or software, with maximal consistency and minimal amount of additional components.

For example, EGA and VGA video adapters natively support code page 437. This does not preclude supporting other code pages, but it requires either a font uploading or using graphic modes.

  1. ^ "Nintendo Game Boy - Game Console - Computing History". www.computinghistory.org.uk. Retrieved 2019-11-22.
  2. ^ "What is native code? - Definition from WhatIs.com". SearchAppArchitecture. Retrieved 2019-11-22.
  3. ^ Pot, Justin. "Why Are Video Game Emulators So Important? (Because They Preserve Our History)". How-To Geek. Retrieved 2019-11-22.
  4. ^ "How Does Emulation Work and Why Is It So Slow?". MakeUseOf. Retrieved 2019-11-22.