Jump to content

Draft:Constant pool

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by SD0001 (talk | contribs) at 11:56, 26 December 2024 (promising draft). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In computer science, a constant pool is a data structure used in the bytecode format of many programming languages. It is used to store the constant values used in a program, such as numbers, strings, and references. Constant pools are used in Python, Java's virtual machine (also used by Scala, Kotlin, Groovy, and Clojure), Lua, C#'s Common Intermediate Language, BEAM (used by Erlang, Elixir, and Gleam), Smalltalk, and Squeak.

References

[edit]