3 ms·
> JVM can only run apps written for it: Docker & WASM don't have that limitation. Of course they do. You can only run apps on WASM that have been compiled to W
by cle 4y ago
> JVM can only run apps written for it: Docker & WASM don't have that limitation.
Of course they do. You can only run apps on WASM that have been compiled to WASM bytecode. You can only run apps on Docker that have been compiled to whatever bytecode is supported by the container runtime (which can be x86, ARM, x64, etc.).
> but WASM can run Postgres
WASM can run WASM-compiled Postgres. It has to be specifically compiled for WASM, which also means it generally needs to be ported to WASM first (as WASM runtimes have a lot of limitations that arbitrary C programs probably don't conform to).