Skip to content
ontologydriven
Sign out

Dictionary

Words, grammatical forms and meanings linked to the ontology.

monomorphisation en · NOUN

Etymology

From mono- + morph + -isation.

Meanings

  1. (countable, uncountable) In a compiler, the process of converting a polymorphic function to a monomorphic function, by the creation of a specialised function for each different data type it is called with.
    • Rust accomplishes this by performing monomorphization of the code that is using generics at compile time. Monomorphization is the process of turning generic code into specific code by filling in the concrete types that are used when compiled. 2019, Steve Klabnik, Carol Nichols, The Rust Programming Language, No Starch Press, →ISBN, page 181:
    • We describe the formal verification stages of the compiler, which include automated formal refinement calculi, a switch from imperative update semantics to functional value semantics formally justified by the linear type system, and a number of standard compiler phases such as type checking and monomorphisation. 2016, Liam O'Connor, Christine Rizkallah, Zilin Chen, Sidney Amani, Japheth Lim, Yutaka Nagashima, Thomas Sewell, Alex Hixon, Gabriele Keller, Toby Murray, Gerwin Klein, “COGENT: Certified Compilation for a Functional Systems Language”, in arXiv:

Forms

SpellingFeaturesLabelsSource
monomorphisations Number=Plur lexicographic
monomorphization alternative lexicographic

Relateds

monomorphism · polymorphism