Skip to content

Instantly share code, notes, and snippets.

@AlaShibanAtKlo
AlaShibanAtKlo / gist:67525d0888cbf3a7be8d63a1baab99bf
Last active May 10, 2024 17:33
discuss: interoperability of ecosystems within a single runtime environment
// this is how wasm can really transform programming for all of us.
// seamless interoperability of ecosystems within a single runtime environment
// for example using Python's networkx library directly within TypeScript code:
import { networkx } from "python/nx"
import { convertToNative } from "wasm"
/* use modules from other languages natively in the host language and runtime */
const G = new networkx.Graph()
/* Objects from other languages propogate types to the host language */