Skip to content

Commit a2cfb3d

Browse files
author
Samuel Wilson
committed
Add definition of a fat pointer
Definition referenced from Programming Rust by Jim Blandy & Jason Orendorff, published by O'Reilly. Page 214: References to Slices and Trait Objects.
1 parent c650330 commit a2cfb3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/appendix-glossary.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ cx | we tend to use "cx" as an abbrevation for context. Se
1616
DAG | a directed acyclic graph is used during compilation to keep track of dependencies between queries. ([see more](incremental-compilation.html))
1717
data-flow analysis | a static analysis that figures out what properties are true at each point in the control-flow of a program; see [the background chapter for more](./appendix-background.html#dataflow)
1818
DefId | an index identifying a definition (see `librustc/hir/def_id.rs`). Uniquely identifies a `DefPath`.
19+
Fat pointer | a two word value carrying the address of some value, along with some further information necessary to put the value to use. For example: a reference to a slice is a fat pointer, carrying the starting address of the slice and its length.
1920
free variable | a "free variable" is one that is not bound within an expression or term; see [the background chapter for more](./appendix-background.html#free-vs-bound)
2021
'gcx | the lifetime of the global arena ([see more](ty.html))
2122
generics | the set of generic type parameters defined on a type or item

0 commit comments

Comments
 (0)