which is supposedly in APE format. from the readme: “APE is a polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS.” not sure how to run this. simply setting the execute bit gives “zsh: exec format error: ./wasm3-cosmopolitan.com”
The Cosmopolitan build is intriguing but a bit confusing:
which is supposedly in APE format. from the readme: “APE is a polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS.” not sure how to run this. simply setting the execute bit gives “zsh: exec format error: ./wasm3-cosmopolitan.com”
zsh currently has some POSIX incompatibility, but you can run it with
also if you have wine installed or some specific environment, you may need to register the binfmt:
Same error here. @jart got a patch merged into ZSH, so it’s probably that you don’t have
master
. It works on modern Bash versions thoughWow. Nice work. Is there a path to get a window/framebuffer from this?
I saw some example for Windows, but it’s not cross-platform.