Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search


Alternative forms[edit]


mono- +‎ morph +‎ -isation


monomorphisation (plural monomorphisations)

  1. (computer science) 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.
    • 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[1]:
      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.
    • 2019, Steve Klabnik; Carol Nichols, The Rust Programming Language, No Starch Press, →ISBN, page 181:
      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.

See also[edit]