tide icon indicating copy to clipboard operation
tide copied to clipboard

WASM support

Open logankeenan opened this issue 3 years ago • 2 comments

I'm looking at using tide as a replacement for my current portable web server which can be embedded in different compile targets, one of those being WASM. Currently, tide fails to compile due to APIs incompatible with WASM like file system access and task:::spawn. I created a fork and have refactored code or excluded modules which cause complication failures with cfg_if Perhaps, there's a better solution. I also created a simple demo repo which consumes my branch. Let me know what I can do to contribute and help! Thanks!

logankeenan avatar Jan 26 '22 13:01 logankeenan

I'd be keen to see how this might support native Rust Cloudflare Workers.

maxcountryman avatar Feb 21 '22 22:02 maxcountryman

@maxcountryman

This works pretty well inside a Rust Cloudflare worker. I wrote a blog post about it.

logankeenan avatar May 21 '22 19:05 logankeenan