The Prototype
Cloning an existing homunculus from linear memory to avoid the costly ritual of conception.
β§ GANG OF FOUR LINEAGE & ARCANUM β§
GOF DESIGN PATTERN: Prototype
ARCANUM SCHOOL: Conjuration // Biomancy
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// WASM PATTERN //
(module
(memory 1)
(func $clone_entity (param $src i32) (param $dst i32) (param $len i32)
(memory.copy (local.get $dst) (local.get $src) (local.get $len))
)
)
The Prototype
True conception is costly in linear memory. Why weave new flesh when one can simply perform a byte-for-byte duplication? The Prototype pattern clones an existing, fully-formed homunculus, manifesting a perfect mirror image through raw memory.copy incantations.
Runic Tags:
#WASM
#Cloning
#Biomancy