
4/16/2020 · John Graham-Cumming
What this post added
This post details the technical process of compiling COBOL to WebAssembly and running it on Cloudflare Workers. It covers the use of GnuCOBOL, Emscripten, and optimizations to reduce binary size and instantiation time, including patching GnuCOBOL to remove file system support and using a JavaScript-based GMP implementation. It also describes how JavaScript functions are used to generate HTTP responses from the WebAssembly module and provides a toolchain for deploying COBOL Workers.