Discussion: Post / Link / Share Code Objects?

Wacky idea: add a code Object Type that would consist of WebAssembly modules and optional source code. The code Object would potentially have imports and exports, allowing a user to link together multiple code posts into another executable (either statically or by “dynamically” linking against the code IRI) or library.
Would really open up new avenues for experimentation and social coding taking advantage of the cool new possibilities afforded by WASM and ActivityPub.

Totally insane idea? Could be cool? Maybe even useful?