Hubbry Logo
search button
Sign in
Instance (computer science)
Instance (computer science)
Comunity Hub
History
arrow-down
starMore
arrow-down
bob

Bob

Have a question related to this hub?

bob

Alice

Got something to say related to this hub?
Share it here.

#general is a chat channel to discuss anything related to the hub.
Hubbry Logo
search button
Sign in
Instance (computer science)
Community hub for the Wikipedia article
logoWikipedian hub
Welcome to the community hub built on top of the Instance (computer science) Wikipedia article. Here, you can discuss, collect, and organize anything related to Instance (computer science). The purpose of...
Add your contribution
Instance (computer science)

In computer science, an instance or token (from metalogic and metamathematics) is an occurrence of a software element that is based on a type definition. [1]: 1.3.2  When created, an occurrence is said to have been instantiated, and both the creation process and the result of creation are called instantiation.

Examples

[edit]
Class instance
An object-oriented programming (OOP) object created from a class. Each instance of a class shares a data layout but has its own memory allocation.
Procedural instance
Although isn't common the use of this concept in computer science each procedure call also was considered an "instance" of the procedure in Simula. [1]: 1.3.2 
Computer instance
An occurrence of a virtual machine which typically includes storage, a virtual CPU.
Polygonal model
In computer graphics, it can be instantiated in order to be drawn several times in different locations in a scene which can improve the performance of rendering since a portion of the work needed to display each instance is reused.
Program instance
In a POSIX-oriented operating system, it refers to an executing process. It is instantiated for a program via system calls such as fork() and exec(). Each executing process is an instance of a program which it has been instantiated from.[2]

References

[edit]
  1. ^ a b Dahl, Ole-Johan; Myhrhaug, Bjørn; Nygaard, Kristen (1970). Common Base Language (PDF) (Report). Norwegian Computing Center. Archived from the original on 2024-09-19. Retrieved 20 August 2025.
  2. ^ Bach, Maurice J. (1986). The Design of the UNIX Operating System. Prentice Hall. pp. 10, 24. ISBN 0-13-201799-7. Archived from the original on 2010-03-15.