wouldn't targeting webassembly provide something similiar? how would this compare to targeting WASM and running a runtime like wasmer?
Cosmopolitan is a libc replacement. Your program is still compiled to real CPU instructions, which execute much faster.