This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 */ |