← ClaudeAtlas

cloudflare-workers-multi-langlisted

Multi-language Workers development with Rust, Python, and WebAssembly. Use when building Workers in languages other than JavaScript/TypeScript, or when integrating WASM modules for performance-critical code.
secondsky/claude-skills · ★ 248 · DevOps & Infrastructure · score 90
Install: claude install-skill secondsky/claude-skills
# Multi-Language Workers Development Build Cloudflare Workers using Rust, Python, or WebAssembly for performance-critical operations. ## Language Comparison | Feature | JavaScript/TS | Rust | Python | |---------|---------------|------|--------| | **Startup** | Fast | Fastest (WASM) | Moderate | | **CPU Perf** | Good | Excellent | Good | | **Memory** | Higher | Lower | Higher | | **Bundle Size** | Smaller | Medium | Larger | | **Type Safety** | Optional (TS) | Strict | Optional | | **Best For** | General apps | CPU-intensive | Data/ML | ## Quick Decision ``` Need maximum performance? → Rust/WASM Heavy computation (crypto, image processing)? → Rust/WASM Data processing, ML inference? → Python General web apps? → JavaScript/TypeScript ``` ## Top 10 Multi-Lang Errors | Error | Language | Cause | Solution | |-------|----------|-------|----------| | `WebAssembly.instantiate() failed` | Rust | Invalid WASM | Check wasm-pack build output | | `Module parse failed: Unexpected token` | Rust | ESM/CJS mismatch | Use `--target bundler` | | `Cannot find module` | Python | Missing dep | Add to pyproject.toml | | `Out of memory` | All | Large WASM | Enable streaming instantiation | | `Exceeded CPU time limit` | All | Long computation | Chunk processing | | `wasm-bindgen version mismatch` | Rust | Dep conflict | Align versions in Cargo.toml | | `RuntimeError: unreachable` | Rust | Panic in WASM | Add proper error handling | | `TypeError: not a function` | Rust | Missing export | Add `#