Settings

Theme

Running C++ on Cloudflare WASM

saus.app

5 points by rthrfrd 5 months ago · 3 comments

Reader

westurner 5 months ago

There may be a way to run container2wasm containers on CF WASM?

There's a vscode-container-wasm-gcc-example with gcc but not yet g++ installed via apt: https://github.com/ktock/vscode-container-wasm-gcc-example

  • rthrfrdOP 5 months ago

    Interesting thanks, I wasn't aware of container2wasm. I do wonder what the output sizes are. They don't mention compatibility with CF's runtime, it is more restrictive than any of the ones they do!

rthrfrdOP 5 months ago

I wrote up my experience trying to do this in case it helps anyone else! There's a boilerplate repo at: https://github.com/saus-app/wasm-cf-boilerplate

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection